Tag Info

Hot answers tagged

5

You could look at using some open source options. QGIS is a great source, but if you do not want to have a second GIS application, I would look at using OGR. You can look for OGRGUI, or download the suite of GDAL tools (OSGeo4W).


5

gp.AddToolbox(path_to_tbx) gp is a arcgisscripting object, as you suspected. The ESRI docs: here.


5

Your downloaded shapefile already had a coordinate system defined in its *.prj file: ...


4

Give GDAL/OGR a try - open source - ogr2ogr: ogr2ogr -f 'ESRI Shapefile' output.shp input.kml


4

You can use the Geometry object which is available even in 9.3. The .pdf file for Geoprocessor model in 9.3 The code sample: rows = gp.SearchCursor("D:/St_Johns/data.gdb/roads") row = rows.Next() while row: print row.Type Alternative way is to use Describe method where you could use ShapeType: import arcgisscripting gp = ...


3

If I understand your question, you would like to get attributes from the the black dots into the color dots. What if you used the near tool to get the OID of the nearest black dot to each color dot? Then do a join based on this OID to get whatever attributes you like from the black dots into the color dots. Try the generate near table tool. Calculates ...


3

You can use the Spatial Join tool found in the Analysis ArcToolbox. This will create a new dataset with polyline attributes attached to the polygon.


3

I would recommend that you copy the geodatabase first arcpy.Copy_management(r"\Servername\Datafolder\Test.gdb", "C:/Test/TestGDB2.gdb") and then upgrade the geodatabase arcpy.UpgradeGDB_management("C:/Test/TestGDB2.gdb", "PREREQUISITE_CHECK", "UPGRADE")


3

The Esri File Geodatabase API library only supports 10.x FGDBs. You cannot access pre-10 file geodatabases from third-party applications. The only solution is to use ArcGIS 10.x (Desktop or Python) to upgrade the FGDB.


3

ESRI free ArcHydro Extension will do this ArcHydro page. Download from there Download Once installed, load shapefile. From ArcHydro select Attribute Tools -- Generate From/To Node for Lines. This will generate FROM_Node & To_Node columns.


3

You can use the following webpage to add basemaps to 9.3. Esri Basemap Layers If you click the Open link under each layer you can either save as a layer file or open in ArcGIS desktop


3

There are some fundamental differences between MapInfo's styling and ArcGIS's. Most importantly, MapInfo styles features per-feature in a style string (it's a weird encoding, including a funny representation of RGB in a single int value). ArcGIS styles things in a MapInfo 'thematic', which really means, in categories (that's a over-simplification, as there ...


3

You can get it this way: row.GetValue("your_shape_field_name").GetPart().z And here you can get more information and a complete example from the ArcGIS Desktop Help.


3

As far as I know, which may not be very far, you can't do that. An mxd is a separate document from the data it contains. Many CAD programs can use shapefiles, although again you wouldn't get symbology. For text, try converting it to annotation and maybe that will export to CAD. Do this on a copy of your data. I'm more used to bringing CAD into Arc than Arc ...


3

A solution to this is discussed on the ESRI forum here: Every planar surface has a simple formula, Jesse, in the form (something)*x + (something else)*y + (constant). In the Raster Calculator, x is $$XMap and y is $$YMap. The trick is figuring out the coefficients. Often you want to specify a plane in terms of its slope (s), aspect (a), ...


2

I recommend this post and this one. Generally, our data should go through to two main Quality Assurance (QA) prisms: 1.Automatic – Checking rules that don’t require the human eye, and, oblige to preordained rules. All those rules you want your data to fit. For example, for the road layer, no dangles. Or buildings shouldn’t intersect roads unless the roads ...


2

In ArcGIS 9.3, the Project Tool doesn't support custom geographic transformations. We also hadn't added MGI 1901 yet. There is a tool, Create Custom Geographic Transformation, that allows you to create a custom geographic transformation which is saved in a .gtf file and can then be used in the Project Tool or in ArcMap. You have to be careful to match the ...


2

From what you wrote, it sounds like you're performing an upgrade of ArcSDE and of Oracle. Based on the info you provided, I think the proper course of action is to perform the geodatabase upgrade first using the Esri tool Upgrade Geodatabase and then perform the Oracle upgrade second. You appear to be in an unsupported configuration anyways (with Oracle ...


2

There's either a bug in Arc* jpeg2000 driver or your file is corrupt (or a small part of it). I suggest you export the file to another format and reimport it to jpeg2000 to see if it cleans the file. If it's not the case, I fear you will need to change the format to something or use another software (I suggest you look at QGIS). To convert your file to ...


2

The functionality to list layers in an MXD only became available with the introduction of the ArcPy site-package and its arcpy.mapping module at ArcGIS Desktop 10.0. Using arcgisscripting to list datasets at ArcGIS Desktop 9.3.1 was straightforward but the Python offerings for ArcGIS needed significant development before layers would become understandable ...


2

I hope following function will help you. Just pass the mxd path and query string to the function and it will open the mxd with Def queries on three layers. def mxd_Select(mxd_Path, Qry_str): def sql_Cosm(str): # cosmatic string for proper sql commond. cosm_Strg = '' for str in str.split(","): # for sql cosmatic if cosm_Strg ...


2

First, you need to get your locations on the map (add XY event layer if you don't already have a shapefile) Then, you can use "extract value to point" in order to extract the values that have interpolated. Finally, you can export your attribute values to ascii file


2

the answer is : it depends. But usually this is not possible because the tfwx file is only an approximation of the precise transformation using an affine transformation. The transformation is written in the aux.xml file. More details in the arcGIS doc if the transformation cannot be expressed as a world file, Update Georeference writes the ...


2

with a categorical raster data, you can build the raster attribute table of your raster. Once this is done, open your table (right click on the layer) and you will see the count of the pixels. Multiply by the area of your pixels and you have a good approximation of the area of each class.


2

Instead of: rows = gp.UpdateCursor(input) row = rows.Next() while row: expression = 3 row.SetValue( field , expression) row = rows.Next() Try rows = gp.UpdateCursor(input) for row in iter(rows.next, None): expression = 3 row.SetValue(field, expression) rows.updateRow(row) Basically you ...


2

I'm sorry, actually with 9.3 you can't edit the tool's abstract in the tool side panel with the page editor, so you can only use plain text. You can use the page editor for most items of the tool's help page, see Entering topics in the Documentation Editor. Apologies for the confusion, I haven't used 9.3 for years, by the way it's not supported anymore. ...


2

The problem is not with the bus routes data, it's with your other shape files. They appear to be TIGER data, which is not distributed in a Projected coordinate system. At some point, the prj files for those three shapes has been corrupted, altered, or deleted. Perhaps you used the Define Projection tool on those shapes and set them to UTM 15N when you should ...


2

if you have ArcInfo, you could use "polygon to line" to have topological arcs. Based on the attribute table, you can select the lines which do not have values of -1 in the left or right. Then you select the polygons that intersect those lines and you invert the selection. Another solution is to use the dissolve tool (no multipart polygons). Then a spatial ...



Only top voted, non community-wiki answers of a minimum length are eligible