POST
|
Do you have data of the appropriate type you want to assign to M? I have in my column of "FIX CODE" the numbers that start from 1000. These points come from navigation track line shots. for example line A the first shot of GPS fix number 1000, second number 1001, line B first shot 1000,second shot 1001 and so. I have more than 1k lines and for each line more 10k points. Should I use below-mentioned stand alone script? if yes, can you help with this if my shape name "A" and column name "W", the column contains the only number? Thank you Dan. import arcpy # Create cursor to retrieve Hawaii shape feature_class = "c:/data/Hawaii.shp" cursor = arcpy.da.SearchCursor(feature_class, ["SHAPE@"]) for row in cursor: # Get the geometry object from the shape field print("Number of Hawaiian islands: {0}".format(row[0].partCount)) # GetPart returns an array of point objects for each part. for island in row[0].getPart(): print("Vertices in island: {0}".format(island.count)) for point in island: print("X: {0}, Y: {1})".format(point.X, point.Y))
... View more
11-22-2019
04:46 AM
|
0
|
0
|
1926
|
POST
|
I have an attribute table for point shapefile. I want to assign column with name "Fix CoDe" to my M values. Now it shows "NaN". For Z value I could calculate it with "interpolate shape" tool, but for M values I could not find. Is there the way to do it with tool,python or somehow? (amount of data is big) The solutions can be with ArcMap 10.x or ArcGIS Pro, (python 3.6-spyder) Thank you for your valuable time.
... View more
11-21-2019
11:22 PM
|
0
|
2
|
2255
|
POST
|
I had followed the mentioned guide by you and it works well. Thank you.
... View more
11-21-2019
11:13 PM
|
1
|
0
|
9895
|
POST
|
Thank you Dan, I want to ask about ArcMap desktop for 10.3-10.7 versions, can I use spyder for this also? if yes, how? (ArcGIS pro, I tried and it is working, but most of the codes that I found is for python 2.7) great thanks for your valuable information
... View more
11-11-2019
10:40 PM
|
0
|
1
|
9895
|
POST
|
Hello. I have an issue with the arcpy module to run standalone scripts. I have installed the latest version of ArcGIS Pro and ArcMap desktop. Also, installed the latest version of Spyder (Anaconda)(64-bit,python3.7). I have tested "import arcpy" and it says ***ModuleNotFoundError: No module named 'arcpy' *** Had some search on the internet how to add the arcpy module to the spyder but could not fix it. (by browsing the path of python folder) please, can you help me to figure out how it works? note: as I know if I have ArcGIS pro I can use Python 3.7, not 2.7 (attached, how my python folder looks like) #python-package #arcpy scripting #spyder #arcpy scripting
... View more
11-07-2019
11:28 PM
|
0
|
5
|
12515
|
POST
|
Jeff, " arcpy.mapping.ListDataFrames(mxd, "Main DF")[0] " Above shown line gave error, couldn't figure out what can be the issue in that line? I simply copy you code to python window of arcmap and tried to run (only changed layer name from A to Morphology, B to Contour)
... View more
10-16-2019
10:22 AM
|
0
|
2
|
2160
|
POST
|
Hi Jeff, I found only this 7 years old topic when I tried to find the answer about DDP setting rotation angle. Can you help me with this? My exactly question is: I have single layout with 4 data frames (A,B,C,D). In layout mode I enabled DDP and set the rotation angle column from attribute table for data frame A. When I drive pages in layout other data frames moves as well but does not have the rotation angle as I have in frame A. Is it possible to have the same rotation angle for all frames when I change pages? Thank you for your valuable time and response.
... View more
10-16-2019
03:23 AM
|
0
|
4
|
2160
|
POST
|
I have a layout with 2 data frame (A and B) in Arcmap (FGDB) and in A frame I have boxes along the route(Feature Class - Polygon) that I setup for DDP (Data Driven Page). Also rotation angle calculated for the boxes to have rotation in layout. So, when I start to chnage pages it changes only in A frame in layout but B is not moving. Ho can I make DDP to work for both of them? Another question about extent for the DDP, I set the extent for boxes 100% but it still stays a bit in distance from frame outline of A / the same for B. I will attach the screenshot as well
... View more
10-09-2019
07:08 AM
|
0
|
0
|
766
|
POST
|
Dear Esri community followers, The question is about the layout that I am using to create the charts. I want to rotate my map based on a feature layer that I have (as a box/grid box not North oriented) As a example : Imagine that I have the area from NW to SE (polygon type shp) and that polygon with features should be divided in sections with rectangular boxes that specified by user. The borders of rectangular touching to each other and it is along the area. Now I want to create the lay out for each rectangular to show features on that area of polygon but I don't want to have NW to SE direction, in layout can I rotate by rectangular from left to right? Or we can say:can I use my rectangular box as a data frame from left to right or opposite in layout mode? Thank you for your valuable time that you spend for my long text.
... View more
07-01-2019
02:21 PM
|
0
|
0
|
653
|
POST
|
Thank you for your reply, but the simplify tool also remove vertices on another line around of it in the given distance.
... View more
05-28-2019
10:27 PM
|
0
|
1
|
1353
|
POST
|
Dear All, I have a navigation lines (shapefile), the line contains vertices in every 20m, so it gave me big amount of data, I want to decrease the size between vertices to have less amount of points. Is there a way to do this in Arcmap 10.3 ? tried generalize tool and set the distance but it outputs only start and end points of line. Thank you for your time.
... View more
05-24-2019
04:12 AM
|
0
|
3
|
1666
|
POST
|
Hi Egge-Jan Pollé Thank you for your fast reply and useful information also your valuable time. Best Regards Orkhan
... View more
05-22-2019
08:01 AM
|
0
|
1
|
1637
|
POST
|
I have .mdb (personal database) in ArcMap 10.3, I load files and it almost 2GB (the max size of personal gdb) and after I create File database (.gdb) and load again the same files but this time it took only 90mb. Am I doing something wrong or it is as it is? another thing is when I copy my file gdb within the folder to another local disc, I need to set the data source link again, but for personal did not face this problem. (maybe it is because of personal database saves its data in access)
... View more
05-22-2019
06:34 AM
|
0
|
3
|
1921
|
POST
|
And should I do that conversion in other software as excel by applying formulas DMS to DD, or is it possible in Arcmap with table field calculator? Sorry, too much question
... View more
03-18-2019
06:43 AM
|
0
|
1
|
1437
|
Title | Kudos | Posted |
---|---|---|
1 | 11-21-2019 11:13 PM | |
1 | 03-14-2019 03:05 AM |
Online Status |
Offline
|
Date Last Visited |
12-29-2023
05:08 AM
|