POST
|
Thanks. So you just need to customize by adding the Feature Vertices to points command to the Data Management Tools(DMT) for usage! For the coordinates, I just used the Add X,Y Coordinates already available in my DMT.
... View more
01-15-2014
03:28 PM
|
0
|
0
|
466
|
POST
|
Dear All, I would like to convert my polygon shapefile to a point shapefile where all the edges of the polygon will be turned into points. If possible all the x,y values will be automatically calculated in the x and y fields. Is any there any tool in ArcGIS that can do this (there's one but it converts polygon into point centroid which is not what I want)? Help appreciated. TQ. Sani
... View more
01-14-2014
10:09 PM
|
0
|
2
|
1359
|
POST
|
Your code works even for a shapefile! TQVM and may God bless you.
... View more
01-07-2014
03:47 PM
|
0
|
0
|
110
|
POST
|
Dear Wayne, Thanks for your trouble and I really appreciate it. I have yet to try Post#7 but since you say that a new field won't be created but it will only label on the map(right?) I can wait for further solution. Your post #6 almost worked but the "seconds" symbology becomes "?"(Question mark). I also tried substituting with what you suggest in Post #4 (return u'%s\u00B0 %s\u2032 %s"' % tuple(val)) and by Mike Toews but failure messages appear. Any further remedy to this?
... View more
01-07-2014
12:22 AM
|
0
|
0
|
1305
|
POST
|
Dear Wayne, I've tried the code in the field calculator ticking Python and string but it failed to work. Perhaps you need to teach me step by step on how to use both so that it can be done correctly ; the label expression and the field calculator. Perhaps I am not a novice but worse than that in using ArcGIS 10 and programming. i) How I field calculate - Add theme> open attribute table> right hand click on the Delta field (refer to the screenshot file which I sent last time) to select field calculator > For Parser, I select Python> For type, I select string> For the expression box, Delta = def calc(val): val = val.split('-') return u'%s\u00B0 %s\u2032 %s\u2033' % tuple(val) >OK A message pops up "There was a failure during processing, check the Geoprocessing result window for details. ii) Label expression - Add theme>right hand click to select Properties> Layer Properties, I select Labels> Label field, I select Delta>Click on Expression> In Label Expression, I paste your code def FindLabel ( [YourField] 😞 deg, min, sec = [YourField].split('-') S = u"{0}\u00B0 {1}\u2032 {2}\u2033".format(deg, min, sec) return S (I changed [YourField] with [Delta] >OK A message pop up "Carriage return are not allowed in simple expressions". Please enlighten me on this. Sorry if I sound stupid or silly but please forgive this middle age man. TQ
... View more
01-06-2014
04:15 PM
|
0
|
0
|
1305
|
POST
|
Dear Wayne, The code fails to work. I am using ArcGIS 10. I am sending you a screenshot of the file and attribute which I am working on. I either want to replace the values in the Direction or Delta field(s) to Degree Minute Seconds. In the field calculator, I ticked Python and String to run the code. For the [Myfield] I replaced it with [Delta] when working with the Direction field. Can you help out? TQ.
... View more
01-05-2014
04:25 PM
|
0
|
0
|
1305
|
POST
|
I'm a novice in programming and would appreciate if somebody can provide me with a Python code that can convert the values in my cogo "Direction" field in the "180-0-0" format to the degree minute second format so that I can used the labels when printing out my traverse map. TQ. Sani
... View more
01-02-2014
04:19 PM
|
0
|
10
|
2161
|
POST
|
I'm a novice in programming and would appreciate if somebody can provide me with a Python code that can convert the values in my cogo "Direction" field in the "180-0-0" format to the degree minute second format so that I can used the labels when printing out my traverse map. TQ. Sani
... View more
01-01-2014
10:26 PM
|
0
|
0
|
238
|
POST
|
I am new with ArcGIS 10.1 - Can somebody enlighten me on how to use the code :- Function FindLabel ( [COGO] ) s = split( [COGO], "-" ) FindLabel = s(0) & chr(176) & s(1) & chr(39) & s(2) & chr(34) End Function in a step by step ways to enable a new attribute to be created or replaced on the 180-0-0 format to the degree minute second format. Help very much appreciated. TQ Sani
... View more
01-01-2014
09:22 PM
|
0
|
0
|
238
|
POST
|
Dear All, I'm using ArcGIS Server 10.01 with Flex as the design for our Application. My 3 questions : i) "Zoom to scale" - when I type 1: 10,000 or 5,000 or whatever else, it zooms to a different scale everytime. Is there a fix for this? ii)I would like to save permanently whatever points or markings which I'd done on the view i.e. everytime I open the application, they will always be there. Is this possible? iii)How do I make a print layout that can be saved as pdf? Your early assistance are very much appreciated. TQ
... View more
03-11-2013
12:39 AM
|
0
|
1
|
419
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|