|
POST
|
This should easy but my attempts have failed and my searches come up empty. I can build something like this below but the values in the drop down are static. I want the drop to be dynamic with the values coming from a field. As seen here I need job name to be linked to a geodatabase. Ideally I would also like to be able to base Job Name on what was picked for Map Type. Any publishing of the service seems to embed the values permanently so I would have to republish nightly to update list? The query widget seems to do what i want but I see no way to link it to a geoprocessing tool. Some setting in the geoprcesssing tool like "Link to selected features" would be nice. Having a use select a polygon from a feature class then I use the attributes from that polygon for the tool would be ok but I only see a way to draw polygons for selection not click on one. I got this to work in ArcMap using some funky validation code. It was slow but worked. Seems like this would be a simple click or checkbox in Web App Builder but I just am not seeing it. Thanks.
... View more
05-02-2016
04:23 PM
|
0
|
8
|
4372
|
|
POST
|
Opps looks like I missed this last line in my copy and paste which may do it. Really sorry about that. arcpy.SetParameterAsText(1, Output_File)
... View more
05-02-2016
08:25 AM
|
1
|
0
|
1854
|
|
POST
|
This worked for me when using data drive pages. output = targetJobname + ".pdf" Output_File = os.path.join(arcpy.env.scratchFolder, output) ddp.exportToPDF(Output_File, "CURRENT") #forgot to add arcpy.SetParameterAsText(1, Output_File)
... View more
04-29-2016
02:17 PM
|
1
|
4
|
1854
|
|
POST
|
My MDs already had overviews when i built the caches since we used to use them. But for new projects I am just using Raster Catalogs instead. No reason to build overviews or even pyramids if I am just going to build the caches anyway. When caching 2 TB of imagery it would take days to build all those overviews. I have seen no difference between using a MD with overviews as a source and a RC as a source with nothing built. In the end trying to do all the math and manual editing of the MD attribute table would take forever (I have like 50 some MDs). The main thing I watch out for is the pixel size of the final cache level. If that is greater than the original imagery they are useless.
... View more
04-29-2016
11:33 AM
|
2
|
0
|
1734
|
|
POST
|
Little confused by post as overviews and caches are different. I spent lots of time trying to get overviews to work correctly, esp with nested Mosaic datasets. You really have very little control. Drove me nuts. In the end I just built Tile Caches instead. Wish I would have done it sooner. They are at least 10 times faster, 90% smaller, and super easy to manage since I can just copy and paste them around to all my servers. I just unzip the tpk then access them through the file system like any other file (created layer files for ease). No need for image server or any of that. I do also upload the tpk to AGO for when other offices need something not local and for any webmaps. It has worked out very well for us. Have saved thousands in backup costs, now have tons of server space, can give all imagery to mobile users (since its 60gb instead of 600), and can now keep yearly vintages. I use the default Cache levels as listed here. If you need custom the rule of though is to half at each level. For NAIP 1 meter imagery I go down to Level 17 with no real lose of quality. How can you tell what map scales are shown for online maps? | ArcGIS Blog For full details on creating caches see this great post Create Cache and TPK without ArcGIS for Server - Workflows for Desktop users
... View more
04-29-2016
09:21 AM
|
2
|
2
|
1734
|
|
DOC
|
Our usernames are just our email addresses so no colons or anything either. I did create a new user with no @ for our 3rd party developer to test with and he is having the same issue. Can not figure it out so far. His app works great with his company but not ours. We can give credentials to the login box with no errors or anything. But then when we try to access anything it brings up the login again. Personal account on the same device works fine. Really weird. With 107 accounts not looking forward to recreating them all.
... View more
04-29-2016
08:35 AM
|
0
|
0
|
54059
|
|
POST
|
Have you tried using Export Tiles with a AOI yet? (unzip the tpk then run it through Export Tiles) It gave a small error when zoomed all the way in our 3rd party app but it may work in Collector. My bugs on on the list so hopefully fixed at 10.4.1? You can also try using Manage Tiles with a AOI then export to turn it into a TPK. Finally if you have a tpk for each site unzip them all. Pick 1 as the "master" and use Import Tiles to add them all in. Then use Export to get a TPK.
... View more
04-26-2016
09:59 AM
|
0
|
0
|
2253
|
|
POST
|
Why not turn location services on? Most devices have a dedicated GPS and will get a location offline. We do it all the time. I guess you could also have a script kick off that geocodes that address it was collected at.
... View more
04-26-2016
09:24 AM
|
0
|
0
|
3022
|
|
POST
|
ArcPro 1.2 is allowing it for me. Some others told me about it but they have since lost their access all of a sudden. Mine is still working for now.
... View more
04-26-2016
09:18 AM
|
0
|
0
|
3724
|
|
POST
|
I agree performance is terrible. Lots of pauses and stops.
... View more
04-26-2016
09:15 AM
|
0
|
0
|
1380
|
|
DOC
|
I am seeing this also. It is for a 3rd party app though. If I login use corp account it just keeps showing the login screen over and over. If I login with a personal account it works fine. If I login with the personal then switch and login with a corp it works. If i then shut the app and reopen it goes back to not working. Also have an issue with the Share package tool not working. It leads 8 parts then gets a bad token error. Bring it home and it works fine. Let me know if you get anywhere on this. I swear this all started happening when AGO was updated last time.....
... View more
04-20-2016
04:32 PM
|
0
|
0
|
54058
|
|
POST
|
The help for the Vector Tile tools is wrong. This code from the help does not work. It keeps saying the value type for in_map is wrong. Create Vector Tile Package—Data Management toolbox | ArcGIS for Desktop p = arcpy.mp.ArcGISProject("c:\\temp\\myproject.aprx") for m in p.listMaps(): print("Packaging" + m.name) arcpy.CreateVectorTilePackage_management(m, m.name + '.vtpk', "INDEXED", 295828763.795777, 1128.497176) It just has "Map" for the in_map when copied from the python snippet but that of course does not work in script. I have yet to find anything it likes. Any hints? arcpy.management.CreateVectorTilePackage("Map", r"C:\Vector\Settings.vtpk", "ONLINE", None, "INDEXED", 295828763.795778, 564.248588, r"C:\Vector\SettingsIndex.shp", None, None) The tool to create the vector index will also not accept in_map. Its help has a sample from some other tool?? Create Vector Tile Index—Data Management toolbox | ArcGIS for Desktop The following Python window script demonstrates how to use the CreateVectorTileIndex tool in immediate mode. import arcpy from arcpy
import env
env.workspace = "C:/data/cartography.gdb/transportation"
arcpy.CreateIndexTiles_cartography("CURRENT", "tiles", 10000) Also when copying the snippet from Pro it has another parameter with the value ONLINE that does not exist in the help. #arcpy.management.CreateVectorTileIndex("Map", r"C:\Vector\SettingsIndex.shp", "ONLINE", None, 10000) Please let me know the correct params or point me to help files that are correct. Thanks
... View more
04-12-2016
08:20 AM
|
0
|
15
|
7809
|
|
POST
|
For CreateVectorTilePackage yes but for CreateVectorTileIndex no. You must have seen my message before I edited it - I had them in the wrong order at first.
... View more
04-08-2016
10:30 AM
|
0
|
0
|
9843
|
|
POST
|
Also the help for the Vector tiles is wrong. This code does not work. It keeps saying the value type for in_map is wrong. Create Vector Tile Package—Data Management toolbox | ArcGIS for Desktop p = arcpy.mp.ArcGISProject("c:\\temp\\myproject.aprx") for m in p.listMaps(): print("Packaging" + m.name) arcpy.CreateVectorTilePackage_management(m, m.name + '.vtpk', "INDEXED", 295828763.795777, 1128.497176) It just has "Map" for the in_map from the snippet but that of course does not work in script. I have yet to find anything it likes. Any hints? #arcpy.management.CreateVectorTilePackage("Map", r"C:\Vector\Settings.vtpk", "ONLINE", None, "INDEXED", 295828763.795778, 564.248588, r"C:\Vector\SettingsIndex.shp", None, None) The tool to create the vector index will also not accept in_map. Its help has a sample from some other tool?? Create Vector Tile Index—Data Management toolbox | ArcGIS for Desktop The following Python window script demonstrates how to use the CreateVectorTileIndex tool in immediate mode. import arcpy from arcpy
import env
env.workspace = "C:/data/cartography.gdb/transportation"
arcpy.CreateIndexTiles_cartography("CURRENT", "tiles", 10000) Also when copying the snippet from Pro it has another parameter with the value ONLINE that does not exist in the help. #arcpy.management.CreateVectorTileIndex("Map", r"C:\Vector\SettingsIndex.shp", "ONLINE", None, 10000) Please let me know the correct params or point me to help files that are correct. Thanks
... View more
04-08-2016
09:05 AM
|
0
|
2
|
9843
|
|
POST
|
Thanks I figured it was not ready yet. Note one link above has a bad link. Also for me the Style tool just shows a blank screen once I pick a Vector Tile package. I was more hoping to see the ability for end users be able to change via a button in AGO not a json hack (but I know it is really early on in the process).
... View more
04-06-2016
03:14 PM
|
0
|
0
|
9843
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 2 | 04-10-2026 11:25 AM | |
| 1 | 04-09-2026 02:37 PM | |
| 1 | 04-07-2026 08:33 AM | |
| 2 | 03-23-2026 03:44 PM |
| Online Status |
Offline
|
| Date Last Visited |
11 hours ago
|