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

buffering PolylineZ into PolygonZ

$
0
0
I have about 1000 polylineZ features that I would like to convert into polygons of a constant width, and the same length as the line. The buffer tool created 2D, not 3D features, and the 3D Buffer tool created multipatch features. When viewed in ArcScene, I would like the features to look like the polylines, only with width, and no thickness. Ideas? Thanks!

Dynamic FeatureLayerClass does not display in map

$
0
0
First, I don't know if this is the correct forum but if not, please direct me to the correct one. I'm using some fairly basic C# code to create a dynamic Feature layer that is referencing another Feature Class that displays Ok as a set of polylines on my map. The line event layer I'm trying to create shows up in the Table of Contents but does not display on the map. I used some error code to see what the problem is. I have other places in my Geodatabase code doing exactly the same thing with no problems. The error I'm getting after creating the FeatureLayerClass is esriLocatingError.LOCATING_E_ROUTE_MS_NULL. What does this error mean and how do I fix it?

thanks in advance,
Kevin

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.

CreateMapTilePackage_management feedback

$
0
0
I am running the CreateMapTilePackage_management GP tool using the GeoProcessorClass ExecuteASync method. I also call RegisterGeoProcessorEvents3 with an instance of a class which implements the IGeoProcessorEvents3 interface.

What I expected was to receive callbacks informing me of the progress of the generation of the tile package. I do get the PreToolExecute and PostToolExecute calls but nothing else.

When you generate a tile package in ArcMap it does provides incremental feedback.

What do I need to do in order to be able to get incremental feedback with regards to tile generation?

Creating polygons based on values of other polygons

$
0
0
Hi,

I have a question about how to make new polygons based on the values of an attribute within existing polygons. I have a census block groups with values 0-20 (or so) and would like to group them so that the values equal 26 or as close as possible without going over. I think this could be done with a dissolve but I am not sure how to dissolve into groups like that.

Thank you for your help!

Why shp theme doesn’t have “Chart” for demonstration after use the Dissolve Tool?

$
0
0
Hi,
I’ve noticed that after use the Dissolve tool (from Data Management tools) on a point shp theme – the result new point theme hasn’t opportunity for demonstration as “Charts”.
The initial theme has this opportunity (in the "Properties – Symbology" it has Features, Categories, Quantities, Charts, Multiple Attributes).
But after dissolving the result theme (that also has some numerical fields) doesn’t have “Charts” opportunity.

Is it an error or I did something wrong? Is it possible to show theme after Dissolve tool as a charts?

buffering PolylineZ into PolygonZ

$
0
0
I have about 1000 polylineZ features that I would like to convert into polygons of a constant width, and the same length as the line. The buffer tool created 2D, not 3D features, and the 3D Buffer tool created multipatch features. When viewed in ArcScene, I would like the features to look like the polylines, only with width, and no thickness. Ideas? Thanks!

Dynamic FeatureLayerClass does not display in map

$
0
0
First, I don't know if this is the correct forum but if not, please direct me to the correct one. I'm using some fairly basic C# code to create a dynamic Feature layer that is referencing another Feature Class that displays Ok as a set of polylines on my map. The line event layer I'm trying to create shows up in the Table of Contents but does not display on the map. I used some error code to see what the problem is. I have other places in my Geodatabase code doing exactly the same thing with no problems. The error I'm getting after creating the FeatureLayerClass is esriLocatingError.LOCATING_E_ROUTE_MS_NULL. What does this error mean and how do I fix it?

thanks in advance,
Kevin
Viewing all 1751 articles
Browse latest View live