ArcGIS is Esri's GIS platform name. DO NOT USE this tag except for questions concerning the ArcGIS platform AS A WHOLE. Product tags (arcgis-desktop, arcgis-server, arcgis-online, etc) combined with version tags (arcgis-10.3, arcgis-10.2, etc) are preferred

learn more… | top users | synonyms

1
vote
1answer
966 views

Converting MapInfo (MapBasic) Script into ArcPy?

I have a MapBasic script that divides an irregular polygon into smaller polygons of 1 hectare each. Would anyone help me to convert the following into an ArcPy script. ' This program requires an ...
2
votes
1answer
1k views

Zooming in close with mixed cached and dynamic services in ArcGIS flex

I have an application that uses a cached world basemap overlaid with more local and specific data coming from a dynamic map service. It works well for performance, but some users need to see some very ...
3
votes
2answers
275 views

ArcGIS Desktop - Web Services Definitions

Aside from .LYR files, is there a file format (preferably open) for defining web service endpoints for Arc products? For example, if I publish a WMS feed, can I provide a downloadable resource for ...
2
votes
3answers
719 views

How to change Map Scale programmaticaly in C# WinForm Project

I have created form with axMapControl and comboBox with values of possible scales (e.g. 1:1 000 000, 1: 500 000, etc). How can I change current map scale programmaticaly by using value from ...
5
votes
3answers
2k views

NoData values recognised in raster in ArcGIS but not following symbology rules

I have a GeoTIFF raster in ArcGIS, which can be downloaded from the following two links: http://www.rtwilson.com/downloads/MODIS_MOD04_16-06-2006_Subset.tfw ...
13
votes
3answers
5k views

How to find and merge duplicate points?

I have two point shapefiles: Red and Blue. Each point shapefile has a z value which represents a radius (i.e. represented as buffers in the example). A duplicate point is defined as a point that ...
2
votes
3answers
2k views

ArcGIS incredibly slow when opening any toolbox tool

I've got a fresh install of ArcGIS 10.0, and whenever I try and open a tool from the toolbox (for example, Project Raster) it takes literally 5 minutes to open the dialog, and then at least 30 seconds ...
3
votes
4answers
977 views

Append to text file using ArcGIS and Python

I have wrote a small routine using Python for ArcGIS (9.3) that will get the count of 2 data layers, calc a percentage, and then write the text back to a text file (CSV) to create a sort of "report" ...
5
votes
2answers
4k views

How to clip/export multiple selected vector layers in a map to extent of another raster/vector layer in ArcGIS?

Is there a way to clip/export selected vector layers (more than one) in a map to the extent of another raster/vector layer at a time?? in Arcgis or any other software. I am using Arcgis10. I am ...
2
votes
1answer
257 views

How to pass the name of the highlighted layer (in the TOC) to a script?

A total noob here: Users here add a picture to a map using the 'add data' Their first task is to right-click the jpg in the Table of Contents, select 'properties', select 'symbology' and then ...
1
vote
1answer
1k views

How to convert from ITM ref to GPS ref ?

How can I convert from ITM ref (Israel new map) to GPS ref and from GPS ref to ITM ref? I need any C# sample code or formula for this. For example: 32.086156,34.769239 = 178364,665948 Or : ...
4
votes
4answers
645 views

How to test whether two countries are adjacent?

I have an interesting question: Is there a dataset by which I can use to test whether two countries are adjacent? For example, if inputs are Mexico and U.S., they are adjacent; if inputs are England ...
2
votes
2answers
526 views

How to implement field validation rules in ArcGis?

Not digging in deep, I've found that ArcGis offers validation of 2 basic constraints: field data type and if the value is required or not. Is there any way or AddIn to attach more complex validation ...
1
vote
1answer
188 views

How to create an ant task to build ArcGIS for Flex Viewer?

Has anybody created ant task to build ArcGIS for Flex Viewer? I want to put ArcGIS Flex Viewer into our Continuous Integration system (Hudson). So far it's a very difficult task to do.
5
votes
2answers
3k views

Viewsheds and Observer Points in ArcGIS Spatial analyst

I am trying to understand the viewshed and observer points tool in spatial analyst. I want to show which areas of land can see a wind turbine, or put another way, from where can the wind turbine be ...
4
votes
5answers
8k views

How do I create a line between two points with a common field?

Does anyone know how I could create a line between two points that have a common code? For example: I have the start and end point of a pipe as a lat/long for a network of pipes, each with a ...
3
votes
3answers
244 views

ArcGIS NEAR returns -1

We are running an ArcGIS 10.0 geoprocessing script written in Python that (as part of many steps above & below) runs the NEAR command. Both the input and output datasets (shapefiles & ...
6
votes
3answers
754 views

How to convert high precision dataset to low precision

A high precision dataset was loaded from a file geodatabase into arcsde 9.3.1. The dataload was achieved by copy/paste in ArcCatalog. A custom tool (arcobjects) that extracts from the dataset to a ...
3
votes
1answer
220 views

How do you convert a SOAP PolylineN from one namespace to another?

I'm doing a proof-of-concept to try to speed up a data service that accesses DB2 databases and a GeometryService on an ArcGIS server using the ADF and the SOAP API. I'm trying to speed up data access ...
1
vote
0answers
916 views

arcpy spatial join input parameter problems [closed]

Using ArcGIS 10 SP4 with all extensions... I have a parent directory (J:\...\spatialjoin) containing two sub-directories of feature classes I want to spatially join. Directory 1 (target features) ...
3
votes
2answers
6k views

How to convert bearing, distance, xy coordinate measurements to point shapefile?

I have a natural resources dataset where individual seedlings in canopy gaps were recorded from a center "legacy tree" within each canopy gap. Each sapling has the following measurements associated ...
3
votes
1answer
156 views

cannot check in related tables in arcpad 10

I'm using ArcPad Data Manager (ArcMap 10) to check in data in axf file. I can check in feature layers, but I can't check in related tables and the feature class parent of the related tables. I have ...
3
votes
6answers
371 views

Drive Times issue with Rendering Graphics

I am trying to consume the Esri Drive times geoprocessing service within a Flex application, based around the v2.2 Flex API. I have seen the sample on how to do this. - However, mine is a bit more ...
2
votes
1answer
722 views

Snapping lines to points

I have a layer containing a vector 'Line 1', that originates at point 'A' on a second layer. I also have point 'B' on a third layer. I want to create 'Line 2' that has the same angle and length of ...
4
votes
1answer
1k views

Export and edit annotation featureclass using arcpy

I would like to convert labels to annotations and make some advanced editing for these labels using ArcPy. How would I do this? I'm using a file geodatabase and ArcMap 10. Any help, please.
4
votes
3answers
4k views

Assign symbology to multiple layers in one operation?

Is it possible to assign the same symbol to multiple layers of the same geometry type within an ArcMap document in one operation? For example, I was hoping to: Select multiple layers in the TOC ...
6
votes
3answers
4k views

ArcGIS Export Selected Raster Graphics

I'm having a problem exporting raster graphics using ArcGIS 10. It seems simple enough, but for some reason I cannot get ArcMap to work with me. Here are my steps: Add a raster to ArcMap Open the ...
5
votes
2answers
752 views

Not all labels created in ArcGIS

I have a set of polygons in ArcGIS 10, which I want to label. Despite setting the Unplaced label icon to "on" and using an expression for the label (so that all objects should be labelled), not all ...
1
vote
1answer
120 views

Projection Transformations [duplicate]

Possible Duplicate: How can I measure area from geographic coordinates? I created my spatial tables in WGS-84 with SRID:4326, I want to transform them to UTM Projection to measure length ...
2
votes
2answers
2k views

Automatic Watershed Delineation

I am trying to delineate watersheds automatically using Arcgis/Achydro. I got the drainage area contribution of stream segment (part of stream) as shown in figure stream. The corresponding drainage ...
5
votes
4answers
2k views

ArcInfo - How to extend batch of lines to another object

Is there any simple tool which allows to extend all lines in .shp to another .shp? To clarify, I do have river.shp and sections.shp on the river. I'd like to produce buffer from river, extend lines ...
6
votes
1answer
1k views

ArcGIS median value from a layer

I've been hunting around ArcGIS 9.3 and having no success at finding a tool/function that can give me the median (not the mean/avg) tabular value of a spatial database. For example, if I have a data ...
9
votes
3answers
1k views

How to combine corner-touching polygons into a single feature

I have created a polygon layer from rasters, and only have a single classification ID (and calculated acres) for each polygon. I would like to "dissolve" all touching features into larger, individual ...
4
votes
1answer
377 views

How to create complex map symbology using AutoCad Map object classes?

I'm trying to find the best way to transfer maps form ArcGIS to AutoCad Map. In ArcGIS map model is separated from it's representation. View is created by applying symbology and representation rules ...
2
votes
1answer
909 views

What does “Error when writing Schema: A unique destination featuretype name could not be generated for” mean?

I have a bunch of GML datasets which I need to import to Esri featureclasses. I am using the Data Interoperability extension for ArcGIS, which should support this. However when trying to import my ...
1
vote
0answers
254 views

how to automate changing polygon's shape while keeping its area the same and limiting deviation from orginal centroid? [closed]

I have a polygon that was digitized based upon visually interpreting underlying values of rasters/vectors that represent a natural environment (soil type, surface roughness, slope, elevation, ...
3
votes
1answer
2k views

How to create cross-sections in ArcGIS?

I have some problems to find the correct tools for a university project I am working on. Would be really nice if someone could help me to find the right tools. Is there the possibility if I have a ...
6
votes
1answer
3k views

How to programmatically add shapefile to data frame in Arcmap

I have a toolbox with python script which creates a shapefile from JSON txt file, but it does not show the generated shapefile in arcmap, i have to add it from the output location. What code shall I ...
5
votes
2answers
2k views

ArcGIS 10 Field Calculator doesn't notice selection/Attribute Table problem?

I just have an annoying problem with the Field Calculator in ArcGIS 10. I selected specific points of a Shapefile I want to calculate, but FC is always calculating all fields. Unfortunately there is ...
6
votes
1answer
4k views

ArcGIS 10 — Polygon Centroid Options and Appropriateness (FeatureToPoint, Labels, etc)

I've found a couple of other Stack Exchange questions related to this, but just like the ArcGIS online help, they were not satisfying. For instance, How does ArcGIS calculate the "inside" ...
4
votes
1answer
2k views

ArcMap, Make Grids and Graticules Layer example

I'm trying to use the Make Grids and Graticules Layer tool in ArcMap (have a ArcInfo license). I'm looking for a basic example like in North America. eg. 1.)Start with empty map 2.) Set data ...
0
votes
2answers
589 views

Arcpy: replaceDataSource, cad_workspace

I am having trouble replacing the data source on CAD files using arcpy. Everything I have tried runs into this error: Runtime error type 'exceptions.ValueError' : Layer: Unexpected error Here is a ...
0
votes
1answer
598 views

How to create a report of all feature classes in a geodatabase?

I am not getting any response from this script and no error displayed at all I am writing this script to help me display the feature classes in my geodatabase Here is my script import arcpy ...
3
votes
4answers
3k views

Scriptable way to merge polylines that join in ArcGIS

I have a number of polylines (around 9000), a number of which have one or both ends touching another polyline. I would like to merge these ones together into one polyline - thus reducing the number of ...
5
votes
5answers
14k views

For every point, distance to nearest polygon of type X?

In ArcGIS how might one calculate as an attribute value the distance to the nearest polygon of type X? Say we have a point layer of wildlife observations and we want to know how far each of them is ...
3
votes
2answers
2k views

How to merge two polylines in code?

We are currently working on a project where we have to merge sections (polylines) to a route, but the big question is how you do this. We have currently tried adding those two as segmentcollections ...
3
votes
2answers
929 views

Creating dynamic GIS charts in ArcGIS 10.1

I have generated a table which has road segments which get inundated during different flood events. I want to be able to add a pie chart to the map which shows that during each flood ARI (1y, 2y, 5y, ...
3
votes
1answer
430 views

ITopologicalOperator and Z Values

I have 2 polygon featureclasses with Polygon ZM features. I am trying to do a ITopologicalOperator.Difference() on these feature classes but it errors saying that: Geometry cannot have Z values ...
1
vote
2answers
208 views

IFieldChecker problem

I'm having some problems using IfieldChecker. I have this following code, which I'm trying to test permitted/not permitted fields, according to my workspace public IEnumerable<IFieldError> ...
1
vote
3answers
2k views

How to style OS VectorMap district data?

Following a question about ways to load OS VectorMap data, I have imported the data into ArcGIs, but now want to style it in a OS-map style. I have searched around, and found various bits of ...