|
POST
|
On the labels tab of the grid properties, there is a button for additional properties. At the top there is a pulldown. Does this not fix your problem?
... View more
05-23-2016
11:49 PM
|
0
|
1
|
4654
|
|
POST
|
May I suggest that you use python syntax highlighting (in the advanced editor) to post code. But, your problem seems obvious. Where are you defining what the variable Flayer is. Or do you want to call the output feature layer "Flayer".
... View more
05-23-2016
11:29 PM
|
0
|
3
|
1631
|
|
POST
|
And, if you changed your coordinate system to something else, like UTM, you would get a different set of numbers. And the differences between these new areas and your original would be significantly higher than what you are now seeing. Everything is relative.
... View more
05-20-2016
05:24 AM
|
0
|
0
|
3093
|
|
POST
|
I think you are being unnecessarily pedantic. And in the real world, no one is mapping anything especially environmental or landuse variables to a resolution of 1 square millimeter. And your difference is a billion times smaller than that.
... View more
05-20-2016
03:13 AM
|
1
|
1
|
3787
|
|
POST
|
Thomas, could you mark this question as answered...
... View more
05-20-2016
01:03 AM
|
0
|
0
|
1513
|
|
POST
|
Perhaps there is a slight difference ( very small) and in area terms is extremely tiny % of 1m2. So, to be realistic, why not use whichever is quicker to calculate and round the result to 2 decimals.
... View more
05-20-2016
12:55 AM
|
0
|
6
|
3787
|
|
POST
|
At the moment your loop is not doing anything but using fcStart & rCost repeatedly. If you want to create cost distances for each geometry in fcStart, you must read the geometry object. btw, please use the advanced editor and python syntax for posting code. And switch to using the da.cursor methods. So something like this : with arcpy.da.SearchCursor(fcStart, ["SHAPE@"]) as Cur:
for row in Cur:
polyGeom = row[0]
CD = CostDistance(polyGeom, rCost, "100000")
... View more
05-20-2016
12:37 AM
|
1
|
2
|
1513
|
|
POST
|
Do you not connect to your geodb using a specific named user (db auth). Some interesting info here about dbp vs sde vs other users. DBO or SDE or what schema? A comparison of geodatabase owners in SQL Server—Help | ArcGIS for Desktop
... View more
05-19-2016
07:10 AM
|
2
|
1
|
1439
|
|
POST
|
It looks like you are closing your input text file after reading the first line. Put the .close outside of the loop. I believe that the geometry constructor sorts out the directionality of the coordinate loop first before writing the geometry.
... View more
05-18-2016
03:49 AM
|
1
|
1
|
4007
|
|
POST
|
Aside from all the talk about programming languages (but I am a python fan). What you are talking about is a point projection problem. You have coordinate XY, you need the coordinate of a point at some distance and bearing from this point. Lots of stuff here and at wiki under basic trig.
... View more
05-17-2016
12:31 PM
|
0
|
0
|
2033
|
|
POST
|
A look at the data might be helpful. Are not the points locking on to the same point along the line? What is the attribute in the point feature? Exactly what the measure is and what the data is at the point might help.
... View more
05-17-2016
12:06 PM
|
0
|
0
|
3268
|
|
POST
|
Once you have the original, you can make a connection to it. env.workspace = "path and name of connection file . sde" Then you can recover the properties of that connection file using Describe.
... View more
05-16-2016
11:21 AM
|
1
|
2
|
1977
|
|
POST
|
I would look at the source of the data rather than the tool which used to work before. 999999 errors are the funnies. So paths to data, its name (all not containing spaces and other nasties). Coord sys seem fine. Projected, which is important for distance measures.
... View more
05-16-2016
11:11 AM
|
1
|
0
|
894
|
|
POST
|
What are your requirements to edit a connection file? I think you are correct, you could read a connection file, create a new one, then overwrite the original.
... View more
05-16-2016
11:06 AM
|
1
|
4
|
1977
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-08-2015 11:28 PM | |
| 1 | 12-20-2013 08:59 PM | |
| 1 | 05-14-2014 10:38 PM | |
| 1 | 12-16-2013 09:05 PM | |
| 1 | 05-31-2019 02:50 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|