|
POST
|
Hmmm, then unfortunately a combo of file size and limited network bandwidth (internet speed) might be the problem. That file size equates to 6,000 MB, or 48,000 Mb, although when factoring network overhead it might look more like 60,000 Mb. Without a pretty fast internet connection the upload would take a very long time which could exceed the maximum time for an allowed transaction with AGOL. It's a pain because 6 GB doesn't seem all that large, but in this case the internet connection bandwidth could be a choke point in the "performance chain." Any chance you could split it up into smaller chunks and upload them individually? You might be able to create a fishnet layer and use the extent of the resulting squares in the extent parameter of the create tile package tool. Just an idea. Any Esri AGOL staff folks want to weigh in?
... View more
10-13-2017
10:38 AM
|
1
|
0
|
1200
|
|
POST
|
Hi Matthew, If you take editing out of the picture, it's largely a performance consideration. Check out the System Design Strategies on selecting the best output format for performance: Software Performance - GIS Wiki | The GIS Encyclopedia It's not the best graphic in the world, but I believe it suggests that feature access increases the network traffic to your client considerably over other formats. However, there is another reason you might want to publish non-editable data with feature access: to provide reference layers for offline mobile work. Publishing a non-editable feature service with the "Sync" capability enabled will allow your mobile editors to take the layer offline (with ArcGIS Collector, for example) to provide reference when overlaid with other, editable layers. Micah
... View more
10-13-2017
09:58 AM
|
1
|
0
|
23550
|
|
POST
|
Hi Jeff, That's frustrating. How large is the package? Depending on your network bandwidth (WAN connection) you may be timing out. Do you have any luck registering the package with ArcGIS Online directly using the web app? Micah
... View more
10-13-2017
09:50 AM
|
0
|
2
|
1200
|
|
POST
|
Hi Jose, As with anything arcpy related, the documentation is your friend. Being able to read through the documents and figure out how to do this kind of thing is essential to becoming a good python/arcpy scripter. Have a look at this topic and see what you can do: Updating and fixing data sources with arcpy.mapping—Help | ArcGIS for Desktop The generalized process I would do is: List all .lyr files using os.listdir() or arcpy.ListFiles("*.lyr") Create a top-level layer object from the layer file Loop through each sublayer, determine if it supports the data source property Update the data source Save the top-level layer object Good luck!
... View more
10-12-2017
03:29 PM
|
1
|
0
|
4494
|
|
POST
|
Hi John, If you click on the raster with Identify does it show the values that you would expect? If so you may just need to futz with the symbology options on the Image layer. Depending on how the rasters should be symbolized it may be necessary to add a function to your mosaic. Sorry I don't have a more immediate answer! I don't have a ton of raster/mosaic dataset experience. Micah
... View more
10-11-2017
01:47 PM
|
1
|
1
|
828
|
|
POST
|
Hi Daniela, What is the error you are getting? I think you might be building the list of rasters incorrectly. When you do this: for rc in rasters:
if rc.endswith(year):
listtemp.append(arcpy.ListRasters(rc)) ...you seem to be checking the name of the raster dataset and then if it matches your format you are again using arcpy.ListRasters() and adding the resulting list to your listtemp list. Adding a list to an existing list will give a list of lists, which won't work with the Combine tool. Micah
... View more
10-10-2017
03:53 PM
|
1
|
0
|
1011
|
|
POST
|
Hi Jose, Have a look at this thread in GIS Stack Exchange: Checking current user privileges for an SDE dataset with Python/arcpy - Geographic Information Systems Stack Exchange There's a nice function that will return a python dictionary showing the roles having view and edit permissions given a certain SDE connection, DB owner, and table name. Assuming the feature class names in sde1 are the same as in sde2, you could: Use ListFeatureClasses to list all the feature classes in sde1 Use the function linked above to get a list of the viewers and editors for that dataset Use Change Privileges to apply those same permissions to the dataset in sde2 The key things would be to parse the feature class names to separate the owner and table name (they are in the format OWNER.TABLENAME), read the lists of viewers and editors out of the dictionary returned by the get_privileges function, and successfully pass the names to the right parameter of the Change Privileges tool. Micah
... View more
10-10-2017
03:43 PM
|
1
|
0
|
703
|
|
POST
|
Hey Randy, just curious if this worked out for ya! I have to do the same thing myself right now so am going to try it out myself. Update: it worked for me!
... View more
10-06-2017
09:20 AM
|
2
|
1
|
2662
|
|
POST
|
Looks great! Glad that worked for ya. The only difference between Mosaic and Mosaic to New Raster is that one creates a new raster. If you feel my answer was correct I'd sure appreciate if you would mark it as such.
... View more
10-05-2017
12:20 PM
|
0
|
0
|
9351
|
|
POST
|
Hi Shane, Have a look at this doc, specifically the section on XY resolution: Feature class basics—ArcGIS Help | ArcGIS Desktop Basically, your XY Resolution defines the precision with which you are storing your features. The default is .1 millimeters. So, what I think is mostly likely going on is that when you are clipping your polygon, ArcGIS is [metaphorically] saying "I can show Shane these clipped features, but the degree to which those feature edges are aligned is limited by the XY resolution of the feature class, so they can't be closer together than .1 millimeters" assuming you used the default. Here's an example: I've clipped the purple layer to the red layer. I'm zoomed way in. As you can see, the gap between their edges is less than .1 millimeter. Since both feature classes use the default resolution, ArcGIS can only draw those layer edges with alignment within .1 millimeters without changing the underlying data. It's a bit confusing but hopefully that clears it up. Micah
... View more
10-05-2017
12:14 PM
|
1
|
1
|
2906
|
|
POST
|
Ah yeah I see that now. I seem to have hit the same snag as you.
... View more
10-05-2017
10:46 AM
|
0
|
0
|
2390
|
|
POST
|
Hi Phil, Wow, I didn't realize ArcGIS Open Data had been renamed! Neato. As for your issue, are you sure the app supports filtering by spatial location? It might be taking a long time because it's trying to download all 600,000+ features. Micah
... View more
10-05-2017
10:29 AM
|
0
|
2
|
2390
|
|
POST
|
Heya Jose, The help docs for da.Search cursor says: Returns an iterator of tuples. The order of values in the tuple matches the order of fields specified by the field_namesargument. That means that in your case, rowYesterday is a tuple with whatever number of values is in your fieldnames tuple or list. So, unfortunately this won't work: if rowYesterday[ 'CODE'] != rowToday['CODE'] ]: because rowYesterday is a tuple with no idea what 'CODE' means. Now for the good news. You can look up the 'CODE' value in your rowYesterday tuple by getting CODE's index value from your fieldnames list and then using that to access the value from your rowYesterday tuple. To do that, the syntax would be: rowYesterday[fieldnames.index('CODE')] The .index('value') method returns the index (position) value of that string in your list of field names. So, it's not exactly what you were going for but should produce the desired result. Micah
... View more
10-05-2017
09:52 AM
|
2
|
0
|
2295
|
|
POST
|
Here's what I'd do: Use Clip to clip your DEM to your vector polygon (the area where you want to set elevation to 6357 ft) Use Raster Calculator to set the clipped raster to zero. Use an expression like "dem_Clip" == 0 Use raster calculator to set the resulting "0 raster" to 6357. Something like: Con("zero_raster" == 0, 6357, "zero_raster") Use Mosaic To New Raster to merge them. Key parameters highlighted below: Be sure to pick the right pixel type - the same as the DEM you started with. Also be sure to add the 6357 foot raster first and then select FIRST as your mosaic operator. Micah
... View more
10-05-2017
09:10 AM
|
2
|
2
|
7276
|
|
POST
|
Hi Jay, That sounds like a really cool idea. I would use that app! Real-time GIS is a new frontier and I'll admit I don't have much in the way of hands-on experience with it, That said, having a good understanding of ArcGIS GeoEvent Server would be a good place to start. You'll need to process your real-time meter feed and update a dynamic map or feature service in real time (or some small interval). Depending on the number of meters and the hardware/software configuration of your DBMS and GIS Server tiers, GeoEvent Server and spatiotemporal big data store may be the way to go. If you have fewer meters and sufficient bandwidth, a traditional feature service published from an enterprise geodatabase (with a scheduled task to update the geodatabase from the feed) may suffice as well. Consider what the requirements of the app are, the number of peak users and transactions, and your current architecture capacity when designing the solution. Hope this helps. Micah
... View more
10-04-2017
01:07 PM
|
1
|
1
|
4193
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-13-2017 09:58 AM | |
| 1 | 10-27-2017 12:54 PM | |
| 1 | 10-13-2017 04:28 PM | |
| 5 | 08-14-2017 01:58 PM | |
| 1 | 10-16-2017 08:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-26-2021
03:16 PM
|