POST
|
Hi Nelson This is a known issue we're working on - if an ETL tool is the first background GP process in any session it will fail. Run another GP tool first (Get Count if you can't think of anything else) and then the ETL processes. They should then work. Regards
... View more
09-16-2010
06:58 AM
|
0
|
0
|
303
|
POST
|
Hi The arcpy.Describe object also returns the subtypeFieldName. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v0000002s000000.htm Regards
... View more
09-15-2010
07:49 AM
|
0
|
0
|
194
|
POST
|
Hi Joe The best way for us to support address cases is to have sample data, which means attaching files to thread posts if using the forum. If you are OK doing that then it works for us too, otherwise by support call works too. Regards
... View more
09-01-2010
07:31 AM
|
0
|
0
|
586
|
POST
|
Hi Joe The address grammar is where new "patterns" can be defined for the new geocoding engine. We're hoping that for major market locators that nobody will have to change the grammar, we would prefer users notify us about cases which cause issues (as you have done) and we re-publish the .lot.xml files on the geocoding resource centre. I think your EXT issue will be resolved by Brad editing some other element values and not changing any grammar. Service Pack 1 for ArcGIS 10 will include many improvements to the geocoding experience with 10 locators. Regards
... View more
08-31-2010
07:21 AM
|
0
|
0
|
586
|
POST
|
Hello Joe If you are customizing a 9.x locator you do so exactly as always with the collection of files you mention. The Geocode directory under your ArcGIS 10 install is still there, but you may notice it is empty. Simply copy your custom rule base files into the Geocode and Locators directories and you can create and use custom 9.x locators in ArcGIS 10. 10.x locators use the all-new geocoding engine in ArcGIS 10. These are customizable via editing the .lot.xml file(s) in the Locators driectory. Documentation for this is still under construction, but you should be able to see similarities with the CLS file elements. Regards
... View more
08-26-2010
08:09 AM
|
0
|
0
|
586
|
POST
|
Hi Another approach might be a list comprehension: ptTupleList = [(p.shape.firstPoint.X,p.shape.firstPoint.Y) for p in arcpy.SearchCursor(myFC)] ...will give you a list of (X,Y) tuples. Also, please keep an eye on the GP gallery, there is a hull tool in the works for footprints of address points. It may be out in September. Regards
... View more
08-24-2010
07:37 AM
|
0
|
0
|
330
|
POST
|
Hi The 8.x tools are not shipped in ArcGIS 10, so the mif2shape.exe wrapper to do this conversion is not in 10. The Data Interoperability extension is the correct ArcGIS product for conversion of 3rd party formats, although you may find other products capable of converting MIF data. Regards
... View more
08-20-2010
04:04 PM
|
0
|
0
|
1135
|
POST
|
Hi List comprehensions are an ideal way to get a list of field values: myList = [f.getValue(someField) for f in arcpy.SearchCursor(someFC)] SearchCursor arguments can include a SQL query, or can access a feature layer and therefore its selection set. Regards
... View more
08-20-2010
03:49 PM
|
0
|
0
|
555
|
POST
|
Hi Don't forget that you can make your code workspace-portable by using the AddFieldDelimiters method to wrap field names, and Python's repr function to quote string literals in the SQL expression. Something like: uid = row.getValue('uid') state = row.getValue('state') ws = gp.Describe(USA_State).path gp.Select_analysis(USA_State, USA_State_Select, gp.AddFieldDelimiters(ws,'UID') + " <> " + repr(uid) AND " + gp.AddFieldDelimiters(ws,'STATE') + " = " + repr(state)) Regards
... View more
08-16-2010
07:21 AM
|
0
|
0
|
530
|
POST
|
Nicholas The Data Interoperability extension solves this sort of problem. You can get an evaluation license if you want to learn how. Regards
... View more
08-06-2010
07:38 AM
|
0
|
0
|
555
|
POST
|
Hi Nelson Welcome to the arcane world of regular expressions! You are going to need to build a more complex regular expression definition to pick up the address components. For example this pattern parses the case "500-600 George St": ([0-9]+)(-*)([0-9]*) ([a-z ][A-Z ]+) You will then need to grab the parts from the resulting matched_parts list: `_matched_parts{0}' has value `500' `_matched_parts{1}' has value `-' `_matched_parts{2}' has value `600' `_matched_parts{3}' has value `George St' Regards
... View more
08-02-2010
08:10 AM
|
0
|
0
|
303
|
POST
|
Hi You might try importing sys and testing sys.executable, in process that is ArcMap.exe (or Catalog). Regards
... View more
05-12-2010
08:11 AM
|
0
|
0
|
865
|
POST
|
Hello Jeremy Yes, you can update your feature class geometry with a cursor writing to the shape field with points made from the northing and easting values. Make a Point from each XY then a PointGeometry, then write the value. Don't forget to set the spatial reference for the cursor if the feature class coordinate system is different form the XY values. Regards
... View more
05-10-2010
07:08 AM
|
0
|
0
|
316
|
POST
|
The Delete Rows GP tool will truncate the table. Regards
... View more
05-07-2010
01:33 PM
|
0
|
0
|
651
|
POST
|
Hi Locators recognize field names in tables to use as input fields, like address, city, state, zip. You might have better luck creating a script tool with a recordset input parameter and using an empty template table with these fields already set up; then the user will be able to input multiple records and the script will have an in-memory table to geocode. Regards
... View more
05-04-2010
07:10 AM
|
0
|
0
|
651
|
Title | Kudos | Posted |
---|---|---|
3 | a week ago | |
2 | 2 weeks ago | |
3 | 2 weeks ago | |
1 | 11-09-2020 10:18 AM | |
1 | 08-22-2023 09:45 AM |
Online Status |
Online
|
Date Last Visited |
7 hours ago
|