|
POST
|
You could try using an InsertCursor—Data Access module | ArcGIS Desktop It is way faster and more stable then using an events layer in my experience. This is how I like to do paths. As in Dan and Darren links point out. import os
path1 = r"c:\stuff"
path2 = r"more\and\more"
full_path = os.path.join(path1, path2)
... View more
04-25-2018
06:01 PM
|
1
|
3
|
3107
|
|
POST
|
I notice that when I set all the subtype domain fields to a new domain the field properties (from a right click on the head of a field in a attribute table is not updated with the new domain. However, I can use the domain geoprocessing tools to remove and assign the new domain. I am wondering: 1) Is this normal behavior 2) Should I be concerned that the field properties is out of sync with the subtype properties. Maybe I should just remove the domain from the field properties and leave it blank with the domain goeprocessing tools. It feels like more intuitive behavior would be to have the software make a note in the field properties to see the subtype properties because the field to domain is could be a one to many relationship once subtypes are implemented.
... View more
04-25-2018
05:42 PM
|
0
|
0
|
1019
|
|
POST
|
Cannot edit versioned SDE data with Python update or insert cursor functions import arcpy
fc = r"xxx"
with arcpy.da.Editor(r"xxx") as edit:
with arcpy.da.UpdateCursor(fc, ["LINESEGMENTNAME", "TEMP"]) as cu:
for row in cu:
print "print row 0:" + str(row[0])
row[1] = "test"
cu.updateRow(row)
console output summary
print row 0:3
SystemError: error return without exception set It is stopping on line 9. I see in the above post that locks are sometimes the problem. I have tried destroying all locks on the target feature class and still get the error. Arc 10.1 SDE 10.1
... View more
04-24-2018
10:25 AM
|
0
|
6
|
4215
|
|
POST
|
"\r\n" also get the same result. The fact that it shows up okay in editor and raw xml exports makes me think that arc is doing white space stripping in the description view... it would be nice if someone from esri could confirm this is the desired behavior...
... View more
04-19-2018
02:20 PM
|
0
|
0
|
5905
|
|
POST
|
is their and new way to add a new line into the metadata description and summary fields. I have a python batch job that is downloading external data into our system. As part of the process it is updating the metadata. I have been asked to append the summary with some of our organization's info. But I can not get it to honor the a new line when viewing the metadata in ArcCatalog. I have tried the classic "\n" in python. Looks fine in the raw xml but looks like some sort of white space stripping is going on when it is viewed in ArcCatalog. I also tried editing the metadata via ArcCatalog and I get the same effect....
... View more
04-19-2018
12:26 PM
|
0
|
8
|
6495
|
|
POST
|
Sweet! Thanks! What about a origination that hosts their data on Open Data ArcGIS Online. Can I get at that with python as well? Mataunska-Susitna Borough Open Data
... View more
03-19-2018
02:13 PM
|
0
|
1
|
2625
|
|
POST
|
Okay, that is very cool. I did not know about that at all (no surprise as I know little about the portal environment ) It may make sense for everyone in the long run. But it would require buy in from a lot of people. We do have portal setup on our end so that part is in place. I will run it by everyone for sure. For now I guess I can just go and grab a list of urls by hand and use that to drive a python download/import process. Are the zip urls stable? This is a sample one: https://opendata.arcgis.com/datasets/5881a8933a264ab98df6aface0b7a678_0.zip?outSR=%7B%22wkid%22%3A102634%2C%22latestWkid… It sure would be sweet if one could use an api to grab public data from portal sites without having to setup a collaboration. After all the organization is public, they have data that is public, and it's exposed to the public for anyone. Why would esri not provided an efficient way for other organizations to grab the data? Just a thought....
... View more
03-16-2018
05:17 PM
|
2
|
3
|
2625
|
|
POST
|
I been asked to setup an automated mass download for a nearby borough (kinda like a county) GIS data. They are hosting there data on portal. For the other target boroughs we are using a python web scraping pattern to grab the data links off there html pages. But it does not look like this is practical for the portal page. I was wondering if anyone has any suggestions on how to set this up. One of my co-workers suggested that I look into jupyter notebook to list all of there stuff and then grab it. But I am guessing that I will not be able to use jupyter with their portal as an anonymous user.
... View more
03-15-2018
05:54 PM
|
0
|
5
|
2830
|
|
POST
|
It sounds like this will not allow symbols to draw on top of labels but just prevents labels from getting placed on symbols. So, in this case could you not just use feature weight to get the same effect but a little bit more elegantly...
... View more
03-08-2018
10:20 AM
|
1
|
0
|
3285
|
|
POST
|
I do have SA. So I am good there. The single highest value? - I would many values. With enough density to give people a feel for the elevation across scale levels. Maybe 1:10,000 to 1:100,000. A range of high values? as an area? - I would like to find high and low values over a kinda large area, ~18,000 km^2. The second option is a bit more forgiving, except plateaus at elevation (mesas) would be considered peaks - so this is the neighborhood difference? That sounds ok. I don't care if it picks up ridges and plateaus. I will give it a go. I was surprised that this was not is SA or 3DA out of the box! Thanks for the help Dan.
... View more
02-19-2018
05:26 PM
|
0
|
0
|
1307
|
|
POST
|
What is the best way to generate spot heights? I see that this: Defense Mapping toolbox licensing—Help | ArcGIS Desktop will do it. But I don't have a license. Is the only other option to generate points and extract raster values?
... View more
02-19-2018
04:10 PM
|
0
|
2
|
1407
|
|
POST
|
Thanks for the reply Bojan. Sounds good. This is what I am going to go with.
... View more
02-05-2018
03:09 PM
|
0
|
0
|
1270
|
|
POST
|
So, Just changed the central meridian to -144 for a copy of the UTM zone 7N projection. It that safe? It looks ok....
... View more
02-05-2018
02:41 PM
|
1
|
2
|
1270
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-04-2024 05:39 PM | |
| 1 | 07-30-2024 09:05 AM | |
| 1 | 07-08-2024 05:32 PM | |
| 1 | 03-20-2024 10:27 AM | |
| 6 | 03-13-2024 03:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-12-2025
11:02 AM
|