|
POST
|
Hi Malgosia, You could perform a spatial join. This tool will allow you to specify a search radius and the attributes from the one polyline shapefile will be joined to the other.
... View more
04-01-2013
03:17 AM
|
0
|
0
|
2361
|
|
POST
|
Hi Budi, You can use the Summary Statistics tool in model builder to obtain the Maximum field value.
... View more
04-01-2013
02:33 AM
|
0
|
0
|
739
|
|
POST
|
Hi Rodrigo, Here is an example: import arcpy
from arcpy import env
env.workspace = r"C:\temp\python\test.gdb"
lstDatasets = arcpy.ListDatasets("*")
for dataset in lstDatasets:
lstFCs = arcpy.ListFeatureClasses("road_*", "", dataset)
for fc in lstFCs:
oldName = str(fc)
newName = oldName.replace("road", "RD")
newName = newName.replace("ns", "_NS12_13")
arcpy.Rename_management(fc, newName)
... View more
03-29-2013
11:59 AM
|
4
|
2
|
7750
|
|
POST
|
Hi Glenn, I don't believe this is possible until 10.1. With 10.1 you can use the new arcpy.da.ListSubtypes function. http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000021000000
... View more
03-29-2013
05:18 AM
|
0
|
0
|
1360
|
|
POST
|
Are you looking to remove the "&" and spaces? If so, I would recommend running the replace method on your initial field. Ex: !<field name>!.replace("&", "") You can then run the rstrip and lstrip methods to remove beginning and ending spaces in fields Line1, Line2, etc. after you run the split method. Ex: !<field name>!.rstrip() !<field name>!.lstrip()
... View more
03-27-2013
05:39 AM
|
0
|
0
|
9080
|
|
POST
|
Hi Brandon, If you created your geodatabase with an SDE schema, the stored procedure will be owned by the SDE user. Instead of dbo.next_rowid, try sde.next_rowid.
... View more
03-27-2013
03:13 AM
|
0
|
0
|
1588
|
|
POST
|
Hi Yukon, You will need the feature class stored in SDE in order to create a feature service. The ArcGIS for Server Workgroup (Standard Edition) comes with SQL Server Express. You should be able to download the installation files from the customer care portal: http://resources.arcgis.com/en/help/main/10.1/index.html#//018t00000010000000 After you install SQL Server Express, you will just need to enable SQL Server Express to store geodatabases: http://resources.arcgis.com/en/help/main/10.1/index.html#/Enabling_SQL_Server_Express_to_store_geodatabases/018t0000000w000000/ Additional helpful links: Setting up a connection: http://resources.arcgis.com/en/help/main/10.1/index.html#/Setting_up_a_connection_to_SQL_Server/018t0000002z000000/ Adding a database server to Desktop: http://resources.arcgis.com/en/help/main/10.1/index.html#/Adding_a_database_server_to_ArcGIS_Desktop/018t0000001s000000/ Creating a geodatabase on a database server: http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_geodatabase_on_a_database_server/018t0000000m000000/
... View more
03-27-2013
02:57 AM
|
0
|
0
|
2592
|
|
POST
|
Hi Kevin, What type of data are your working with (i.e. shapefile, File Geodatabase feature class, Personal Geodatabase feature class)? Try the following: arcpy.SelectLayerByAttribute_management("zipcode_27012", "NEW_SELECTION", "NAME = '27012'")
... View more
03-26-2013
08:15 AM
|
0
|
0
|
1074
|
|
POST
|
Hi Jason, You can accomplish this with the following syntax in the field calculator: !<field name>!.split("^")[0] Replace <field name> with the field that contains the text. The above would be for field "Line1". For field "Line2" it would be: !<field name>!.split("^")[1] ....and so forth. By default, the split method will split each occurrence of the specified character. You just then need to call each one using it's index. Also, be sure you have 'Python' checked at the top of the field calculator.
... View more
03-26-2013
08:11 AM
|
4
|
0
|
9080
|
|
POST
|
Hi Ryan, Thanks for the reply. You are right, the div was being deleted after calling destroy(). I updated the stopEditing function to recreate the div: function stopEditing(){
editorWidget.destroy();
dojo.create("div", {id: "editorDiv"}, "leftPane");
} Not sure why I have to click Start Editing twice to begin the initial edit session, but each stop/start of the edit session works with no problems after that. Thanks for the help!
... View more
03-25-2013
07:50 AM
|
0
|
0
|
2169
|
|
POST
|
Jay, After you add all the rasters, right-click on the mosaic dataset in the catalog window > Modify > Build Footprints. Accept the defaults and click OK. This will remove the black border around the images since the min and max data values defaults to 1 and 255 for this tool. You most likely cannot see the rasters because you did not build overviews. After you build footprints, right-click on the mosaic dataset > Optimize > Build Overviews. Accept the defaults and click OK.
... View more
03-25-2013
03:52 AM
|
0
|
0
|
1339
|
|
POST
|
So when would I use a Raster Catalog or Raster Dataset? I can't think of scenario where you will want to use a Raster Catalog over a Mosaic Dataset. Mosaic Datasets perform much faster. As for a raster dataset, a good scenario to use these would be for outputs from geoprocessing tools. For example, if you ran the IDW tool, the output would be a raster dataset. Or, you could use a raster dataset when you need to work with a small individual raster. If you plan to mosaic 40 TIFFs together and use them in ArcGIS, you would want to use a mosaic dataset. Are you ultimately using the mosaic in ArcGIS, or do you need to use it in other software? If you need to use it in other software, what output can the raster be (or need to be), i.e. TIFF, JP2, JPEG, etc?
... View more
03-13-2013
07:59 AM
|
0
|
0
|
1339
|
|
POST
|
Hi Kerry, You won't be able to set the workspace to a feature dataset. It will need to be set only to the sde geodatabase. When you specify a feature class within the feature dataset, just add the feature dataset name first. Ex: env.workspace = r"Database Connections\SQLSERVER.sde"
desc = arcpy.Describe("Structures\Bridges")
... View more
03-12-2013
12:02 PM
|
0
|
0
|
2407
|
|
POST
|
Hi Jay, When dealing with the SIDs, you will want to create a mosaic dataset. ArcGIS does not have the ability to write to the MrSID format. Also, SIDs are highly compressed, so when you mosaic them to another format they will be uncompressed. SIDs that are a few GBs on disk may be 100s of GBs when they become uncompressed. Mosaic Datasets read the raster imagery in it's native format and does not make a copy of the raster. It processes the imagery on the fly and returns a mosaicked image. You will save an enormous amount of disk space and processing time creating a mosaic dataset. As for the TIFF file, can you explain a little more? What type of raster are you trying to convert it to (.JPG, .TIF, etc)? Does it matter, or do you just need it to have JPEG2000 compression?
... View more
03-11-2013
02:03 PM
|
0
|
0
|
1339
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 4 | 05-07-2020 05:14 PM | |
| 1 | 03-25-2026 04:16 AM | |
| 1 | 03-16-2026 01:00 PM | |
| 1 | 12-22-2025 10:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|