Quantcast
Channel: Forums - Geoprocessing
Viewing all 1751 articles
Browse latest View live

Possible file GDB issue

$
0
0
I have a simple GP service that clips some TIFs and inserts the result into a File GDB located on a shared network drive. Both the input TIFFs and the File GDB are located on a network drive that has been added as a datastore to the server.

When I test the script on the development machine it executes without error; the three raster datasets appear in the GDB, which we'll call clip.gdb.

I publish the service to server, but when executed from server nothing is written to the GDB. No error messages are given. Server logs say the service completed successfully. The script executes abnormally fast from server, almost as if it can not see the input TIFFs.

Anyone have any ideas? Maybe missing some config steps in server or in the Python source?

Using ArcGIS for Server 10.2
Script written in Python; executes successfully on the development machine.
In the Python source, all resources are referenced like:
Code:

myGDB = r"\\PATH\to\shared\drive\clip.gdb"
myLayer = r"\\PATH\to\shared\drive\layer1.tif"

Published using ArcMap 10.2
Network drive added as datastore to server. Correct read/write permissions given to argcissoc

Also, I'm assuming if it were a read/write permissions problem that an error message would appear in the server logs, but I'm not sure about this.

Geo Tagged Photo to Points Not Displaying / Coordinate Transformation help?

$
0
0
I have been using the GeoProcessing tools for creating points from Geo Tagged photos taken with a smartphone or GPS unit. I have used this tool many times in the past without any issues, but the photos I have been working with recently are giving me problems. Basically, the tool will take the photos from the root folder & process them just fine, but when it creates the feature and adds it to the map, it doesn't display. It was giving me a warning regarding coordinate system not matching that of the data frame. So, I even defined the coordinate system in the Environments before processing the photos via the tool, but still the coordinate system will not change. It stays in GCS_WGS_1984 & I am currently using NAD_1983 (StatePlane_Indiana_West_FIPS_1302_Feet). I have tried using transformations but cannot seem to find one that works.

Using Python Script in Model Builder: How do I specify an output?

$
0
0
Hi,

I'm trying to incorporate a python script that I found on this forum into ModelBuilder. The script creates a wedge-shaped buffer for point data. It creates a new shapefile in the same workspace as the point layer, but this does not appear as an output in ModelBuilder. I would like it to appear so that I can link the output to the rest of my workflow.

Most of the support I could find did not address scripts that created new feature classes. Any suggestions would be welcome. Thank you!

Z-Coordinate Interpolation

$
0
0
Hey there!
I've imported the surveypoints from an ascii file (add xy data -> export as shape -> import) and got the points now with x y and z coordinates in my map as shape-file.
How can i interpolate z-coordinates to new points now? I've selected the field "contains z coordinates" in the feature class?

Thanks!

Model Builder: Problem Populating Attribute Fields in Tool

$
0
0
I am still new to Model Builder but have learned some of the basics. I have been trying to add attribute fields and populate them. I am working with an exisitng tool (Strip Map Index Features; under Cartography Tools in ArcMap). Upon running the tool, there are several attributes that are generated and populated in the attributes table. I have successfully added four fields to the attribute table, however they are not being populated. They are populated as 0's. This is where my lack of understanding is causing me problems.

The four fields I've added:
SMAP_NAME
SMAP_NUM
SMAP_SCALE
SMAP_ANGLE

The Strip Map Index Features tool already generates some of these attributes in the table (Angle, PageNumber), so in the simplest of cases, it would just be a matter of assigning those same values to the attribute fields that I've created (i.e., SMAP_ANGLE would get the values in Angle and SMAP_NUM would get the values in PageNumber).THe next case would be that SMAP_SCALE and SMAP_NAME would be populated from the inpute values.

So overall, there are no major complicated calculations for these attribute fields to be populated. I'm just not sure how to populate these fields that I've created. Again, they appear in the attribute table but with 0's.

Any help on this matter would be greatly appreciated. If I could just get a better understanding of how to calculate one, then I'm pretty sure I could figure out the rest. I have attached screen shots below. Thanks in advance.

P.S.
THe tools that I used to add the fields are 'Add Field' tools under Data Management Tools -> Fields


Attachment 29202 Attachment 29203
Attached Thumbnails
Click image for larger version

Name:	ModelBuilder.jpg‎
Views:	N/A
Size:	63.2 KB
ID:	29202   Click image for larger version

Name:	ModelBuilder2.jpg‎
Views:	N/A
Size:	64.3 KB
ID:	29203  

DTED and elevation

$
0
0
I have loaded a shp file and some DTED data and into ArcMap. I created a custom BaseTool in C# that finds the layers that intersect the point clicked. When I click on a point that intersects the shp file layer, I am able to cast that to IRowIdentifyObject and extract the Fields and Values from the Row. But when I try to get the elevation data from the DTED layer I have no luck. It comes into C# as a COM Object and I need to know the specific interfaces it supports so I can cast it and access the elevation data. I also need to get the slope and upslope (azimuth) values.

I searched the ArcObjects SDK for elevation, but could not find an interface that the DTED layer supports. I tried IGlobeLayerProperties, esriGlobeDataType, ILayerExtensions, IGlobeDisplay, IFeatureLayer, ISurface, IFeature, IARGlobe, ITinSurfaceElement, IGlobeDisplayLayers and every interface in ESRI.ArcGIS.Carto (created code to generate a class that tested each interface).

I also tried using the ZMax and Zmin on the IGeometry (casted to an Envelope).

Thanks!

crossing time trails for walker in Tatra Mountains

$
0
0
Hi, my name is Jack
I' ve problem with crossing time trails for walker in Tatra Mountains. Also explained what was going on. I' m writting elaboration on crossing time in mountains based on DEM (DTM) and I would like to estimate this times in using ArcGis Deskopt (ArcMap, or 3D Analyst) for that. And here is the problem, because I don't know how do this. I'm student and i just started working with GIS and I search help...
Sorry for my language, because I'm from Poland and I just learn english

Calculating lake depth from DEM

$
0
0
Hi

I was looking for help related to finding the depth of a lake with a DEM. The only data sets I have are a DEM and a lake polygon. I am not sure if my DEM includes bathymetry. So, I was wondering how I can tell if my DEM has bathymetry and if not how can I calculate the depth of the lake. My DEM has negative numbers for ocean areas but not for lakes, if that helps determining if it has bathymerty I am not sure.

Multi ring buffer failure

$
0
0
PLEASE help me .

Im a student from Malaysia , working on a project about soil erosion ,
I am having problems with Multiple Ring Buffer tool in ArcGIS 9.3. Not working for me, even for my colleagues. I searched forum, but i still cant find the solution. it failed to execute the multiple ring buffer .(details as in the picture)
(for distance , i input the data as 100,200,300)
Attached Thumbnails
Click image for larger version

Name:	Untitled-1.jpg‎
Views:	N/A
Size:	76.5 KB
ID:	29227   Click image for larger version

Name:	Untitled.jpg‎
Views:	N/A
Size:	103.7 KB
ID:	29226  

How to merge two files in which documents are attached

$
0
0
I have two different layers in file geodatabase format . every feature layer has attached some documents. when i merge these files attach documents does not came in new file. is there any solution how to merge these file with attached documents?

Digital Catasdre into ArcGIS

$
0
0
I've some problems to bring the data from digital catasdre into ArcGIS. I can load the .dwg in ArcGIS but some areas are not as good defined to dye the blue for example for water. In AutoCAD this works well without problems.

I've worked on the problem for some hours now but I dont have any idea how to solve it. The areas which i cannot color in ArcGIS are provided as polylines (rivers, streets,...) in AutoCAD. I think think the problem is, that a river is not drawn as 1 polyline but as many separated ones. Polygons works well in ArcGIS too. Is it possible to dye this areas also in ArcGIS without manually join them in AutoCAD?

THANKS!

Model Builder Connector Lines

$
0
0
Is there an easy way to remove the "nodes" in a connector line. I have posted a picture of example. The actual model is much larger and has a large number of connectors all with "nodes" and now I need to rearrange the model. If you look at the picture when I move a tool the connector bends and I will have to do this all over a large model. I want to remove all the nodes and manipulate the contents of the model WITHOUT have to remove and replace all the connectors....
Attached Thumbnails
Click image for larger version

Name:	temp_connectors.JPG‎
Views:	N/A
Size:	24.7 KB
ID:	29238  

Summarize/ Frequency drop down tool.... No ARCINFO

$
0
0
I have been enjoying the summarize button available in when looking at tabular data... unfortunately it is limited to summarizing by
one attribute.

I want to sum an area based on two attributes, which I think I could do if I had arc info. I'm looking for a work around possibly
through excel.

Copy Raster and Removing Black Borders

$
0
0
I have a number of MrSID files that I'm trying to convert to JPEG2000 format. They have black borders around the edges of the imagery and I'm trying to remove them while converting.

In the copy_management geoprocessing tool, there are two options to help do this. Ignore Background Value seems like what I want, but it doesn't seem to work without providing a NoData Value. I don't want to use the NoData value because there are black pixels in the imagery that I don't want to set to NoData.

Is there anyway around this to remove just the black borders on the imagery without affecting the actual pixels in the image -- either through the Copy Raster geoprocessing tool or another geoprocessing tool?

Adding an attribute index using the OBJECTID field?

$
0
0
Through the Properties dialog of any (file/personal geodatabase) feature class I can add an attribute index using the OBJECTID field.
But when trying to do the same using the Add attribute index tool, the OBJECTID field is not listed in the dialog and it won't let me use it.
Is there anything I'm doing wrong?

How to provide a checklist of values as a parameter

$
0
0
I'm creating a new tool (probably will be a Python script tool) in which I want to provide the user with a list of pre-defined values to choose from, similar to the way in which a user can choose scales in the Extract Map Server Cache tool (see attached screen shot). How can I do this?

Attachment 29269
Attached Thumbnails
Click image for larger version

Name:	Export Map Server Cache Scales Parameter.png‎
Views:	N/A
Size:	39.5 KB
ID:	29269  

Simplify Line Tool missing Tolerance Option Box

$
0
0
Hi,

My ArcGIS 10.2 Simplify Line Toolbox has not been displaying the Simplification Tolerance box. The tool will work with Python windows but the gui tool seems to be broken.

Do tools break? How does this happen and can we fix them?

Thanks,

Richard

recover geoprocessing results after crash?

$
0
0
Hi Folks,

I had an extended session in arccatalog crash (processing stream links in the hydrology toolset), and to my chagrine, when I restart arccat, the results from my geoprocessing processes are gone. I do see the results from "last month", but I'm desparate to recover the results from over 20 geoprocessing operations. The outputs are still intact, but I'm looking for the run-time messages associated with each process.

Surely these are stored somewhere, where they can be retrieved, in a disk directory?

Cheers,
-Bruce

calculation of x & y using radii from 2 points of known x & y

$
0
0
Hi,

I have a forestry square plot of 30m, with sides called A, B, C, & D. I know the co-ordinates for both ends of side A. For every tree within the plot, I have a measurement for the distance to both ends of side A. I wish to know the co-ordinates of every tree.

Is there a way for ArcGIS to calculate this? I don't have Spatial Analyst, though do have the ET add-ins.

Regards, Mick.

Use data from ArcGIS.com

$
0
0
Hi,

I was just wanting to see if this is possible.
I have an ArcGIS Online Account and have been messing around with some of the data capture methods.

I have noticed you can save a MXD with the data from my maps that I have created.

I was wondering, if I wanted to run a GP on one of these datasets using VB.NET, how would I gain access to the path?
Reason I ask is usually when I run a Geoprocessing Tool I use the GP.In_Features = "C:\test.shp" , however because this data is not on a local drive, I am a little unsure how to go about doing this.

Can it be done? If so, how?
Many thanks,

K
Viewing all 1751 articles
Browse latest View live