|
POST
|
As indicated in my original thread but this will depend upon the polygon configurations prior to the initial buffer. the outcome would depend upon the original polygon configuration. do you have any images of pre-buffer...buffer and ... negative buffer that demonstrates your situation. It may be a case of getting too exhuberant in your buffer values, both positive and negative...and it might take a few passes to obtain what you want. So pictures would help along with gap details and buffers used.
... View more
04-29-2011
12:06 PM
|
0
|
0
|
3007
|
|
POST
|
Have you checked the license manager from within the Start menu, navigating to the ArcGIS (I think since this appears to be 9.3) folder?
... View more
04-29-2011
08:01 AM
|
0
|
0
|
444
|
|
POST
|
Save to Layer File, see the code example, selections are honored http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000070000000.htm
... View more
04-29-2011
07:59 AM
|
0
|
0
|
950
|
|
POST
|
did you perform the negative buffer? after the initial buffer?
... View more
04-29-2011
07:35 AM
|
0
|
0
|
3007
|
|
POST
|
if hundreds to one is what you want, have you tried the following 1 estimate/measure the gap between the polygons to get some sense on the space you need to close (ie say 10 meters) 2 buffer the polygons using the dissolve option, using a buffer width slightly larger than your estimated gap in 1 (say 5.1 meters). At this stage you should have one big polygon with no gaps. 3 negatively buffer the result in 2 ( ie -5.1 meters) This should hopefully, but no guarantee return what you want, but this will depend upon the polygon configurations prior to the initial buffer.
... View more
04-29-2011
05:53 AM
|
0
|
0
|
3007
|
|
POST
|
or keep everything as numbers until the very end
rows = arcpy.UpdateCursor(input)
for row in rows:
lat = int(row.X)
deg = int(lat)
minutes = int(lat-deg)*60
sec = ((lat-deg)*60)
DMS = str(deg) + " " + str(minutes) + "' " + str(sec)+ "''"
row.Lat = DMS
rows.updateRow(row)
del row, rows
(totally untested)
... View more
04-29-2011
05:36 AM
|
0
|
0
|
11105
|
|
POST
|
>>> lat = 45.543210
>>> deg = int(lat)
>>> min = int((lat-deg)*60)
>>> sec = ((lat-deg)*60) - min
>>> print deg, min, sec
45 32 0.5926
you need to create a text field to contain the DMS values or 3 separate numeric fields to store the values
... View more
04-29-2011
03:27 AM
|
0
|
0
|
11105
|
|
POST
|
what version of arcmap? is the destination field a text field? It should be since splitting a strings results in string, if you want numbers, then you need to "int" the resultant split if placing in a short or long numeric field
... View more
04-28-2011
05:54 AM
|
0
|
0
|
2098
|
|
POST
|
a fishnet only makes sense if you are using/creating projected data (eg. UTM, state plane etc etc). If your coordinates are in meters, simply "do the math" to get the results in feet. If your data are in decimal degrees for your dataframe, use a projected coordinate system for it and make sure that the outputs are projected.
... View more
04-28-2011
05:06 AM
|
0
|
0
|
1927
|
|
POST
|
Not to mention, that Python requires all paths to be forward slashes "/" and not backslashes, or use double backslashes "\\" or the "raw" identifier (see python help) if you insist in using backslashes
... View more
04-27-2011
02:21 PM
|
0
|
0
|
2395
|
|
POST
|
You will note that your origin_x variable is a text parameter (ie GetParameterAsText), hence, you need to cast it to a float value before performing any math operations using it. This line: origin_x = origin_x/(180/pi) should be origin_x = float(origin_x) / (180 / pi) You will need to correct the others in the same fashion.
... View more
04-27-2011
03:30 AM
|
0
|
0
|
2395
|
|
POST
|
Is this double-setting being addressed in some release? It also occurs when using SA tools necessitating that one set environments in any running tools rather than relying on defaults set elsewhere.
... View more
04-26-2011
02:18 PM
|
0
|
0
|
1734
|
|
POST
|
called "fishnet" http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=1782&pid=1777&topicname=Create_Fishnet_(Data_Management) go figure...
... View more
04-26-2011
02:16 PM
|
0
|
0
|
1927
|
|
POST
|
what function are you using? and are there any null values in any of the fields that you are using as input?
... View more
04-25-2011
10:49 AM
|
0
|
0
|
809
|
|
POST
|
If it exists within arctoolbox, then you use it. what exactly is it that you want to do?
... View more
04-25-2011
07:50 AM
|
0
|
0
|
1638
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|