POST
|
Enabling "Resampling" on Hosted Tile Layers does not work. If you have been able to successfully enable resampling/max scale properties and your hosted tile layer is also showing below your lowest level of detail that you originally cached in your hosted tile layer - please let me know how you did it! My hosted tile layer still turns off once I go below my lowest cached scale (LOD 19 or 1:1128). Even with resampling true and max-scale property set to 1:71 (LOD 23), my hosted tile layer turns off at LOD 20. To create my hosted tile service, I followed a really helpful workflow outlined in Jake Skinner 's post. A similar workflow is now described in ArcGIS Server documentation as well. Also, linking back to an original post where the resampling parameter was discussed by Kelly Gerrow. ____________ Side note - Enabling "resampling" in cached map services (and cached image services too) on ArcGIS Server (10.3 tested) DOES work. However, in order for it to work, I had to also run the "Manage Map Server Cache Scales" tool in ArcGIS Desktop (which you then add your missing lower level scales, e.g. 20-23). Only after this tool is run, does your service have "empty" cache scales/levels of detail in your service, which then allows "resampling" when using your service in an AGO webmap and zooming into something like 1:71 (LOD 23). Trying to run the ArcGIS Desktop tool "Manage Map Server Cache Scales" against a hosted tile layer does not work. Does a similar "Manage Map Server Cache Scales" tool or function exist for Hosted Tile Layers? Is there a way to use the tiles.arcgis.com rest admin interface to add extra levels of detail without caching (creating empty scales) so the service will properly resample? Any help or experience from the crowd would be great! Thank you Ryan tile service hosted layer resampling
... View more
11-17-2017
12:23 PM
|
2
|
6
|
2877
|
POST
|
Kelly Gerrow and anyone else! Q -In addition to the resampling parameter and max scale, what other service properties need to be modified to show the cache below the original lowest scale? It appears the example link you provided (including my own hosted tile layers) still shuts off below 1128 even with resampling on and the max scale property =71. Is that what everyone else is seeing or maybe I'm missing something? (wouldn't be the first time, and won't be the last!) Both of our services (we have same the cache scales, max scales, and resampling properties) only show through LOD ID 19, even though we've explicitly set max scale to 1:71 (or LOD ID 23) and have resampling on. Once you zoom below to LOD 20/1:564 and lower, our layers shut off (and cannot be turned on). Important side note - using this workflow for ArcGIS Server Services I was able to successfully use this workflow for my ArcGIS Server cache map service (and image services) to display below its LOD ID 19, however, I had to take one more step: I had to run the "Manage Map Server Cache Scales" tool in ArcGIS Desktop in order to add the LOD's to my service. This created the extra LOD's in my service, albeit empty tiles (which is what I want - to just show the tiles from LOD 19 at levels 20 thru 23 instead of generating a cache for those levels). Only after I completed this step, did my cache stay on (resample) at LOD 20-23. Q - My experience using ArcGIS Server/Desktop to get this to work leads me to wonder if there is a similar function available using the Rest Admin Interface in the hosted environment (tiles.arcgis.com admin)? Q - Does the "edit" function allow syntax that would enable you to add another level of detail, similar to the running the ArcGIS Desktop tool "Manage Map Server Cache Scales" on a cached map service? I did try running the Manage Map Server Cache Scale tool against my Hosted Tile Layer, but I get blocked (probably rightfully so due to access constraints) with an error code: ERROR 001195: Could not connect to the caching service on the server. The caching GP service may not be running on the server./failed to execute. Any advice would be great! I think i'm all hacked-out until I get some input from the community. thanks!
... View more
11-14-2017
02:00 PM
|
0
|
1
|
1486
|
POST
|
Issue from OP: displaying service beyond lowest cached level This question/answer is found in a few different posts: https://community.esri.com/thread/173082 (Ryan Kelso answer on March 10th 2017) https://community.esri.com/thread/185761-tiled-image-in-arcgis-online-does-not-let-me-zoom-in-far (Kelly Gerrow answer on Nov 21, 2016) To summarize the answers already provided in those links: You'll need to add a string to the properties on your ImageServer or MapServer resource that contains the cache using ArcGIS Server Admin Directory. "resampling": "true" -> save your edits TIP: For ArcGIS Server 10.3, I found that changing the "maxscale" property to the desired lowest scale (in addition to adding the resampling property) did not produce the desired effect of showing my cache below my lowest cached scale. Instead, I had to use ArcMap/Catalog Server Toolset --> Caching --> Manage Map Server Cache Scales --> select your service, then add the desired cache scales (e.g. 282.124294, 141.062147, 70.5310735) and ran the tool. Running this tool creates additional scale levels for your cache, but does not create the actual tiles. However, we found these empty scale levels necessary to be able to use the "resampling" feature. As an aside, I am curious why the "resampling" feature isn't be baked into the ArcGIS Server GUI or publishing workflow? Instead it seems to be a hidden extra, like a google Easter egg. Regardless, glad its even an option! Issue from OP: Slow cache creation speeds Esri best practices notes that creating a cache will go a lot faster if the data for the cache you are creating is local to the machine you are publishing to. By doing this, you are removing an unnecessary networking burden for the millions of requests that occur when publishing a cache. "If the data does not have to leave the machine, your tiles will draw more rapidly." I found this tip to be especially important and extremely helpful, and relatively easy to overlook for cache creation workflows. Caches that used to take 24 hours are taking just an hour or two at the most now. Reference: Accelerating map cache creation—Documentation (10.3 and 10.3.1) | ArcGIS for Server
... View more
11-02-2017
09:45 AM
|
1
|
0
|
2294
|
DOC
|
Alex, I had your same issues - it is a valid SQL Query syntax, but not honored using the webmap's JSON work-around Jake showed us. However, the same syntax/query he provided does work if you use it on the feature class in the mxd prior, then publish to your ArcGIS Server. Hope that helps.
... View more
08-11-2017
06:53 AM
|
0
|
0
|
17444
|
DOC
|
Alex Gole The way your SQL Query is written above should actually be returning "all records last edited within the last 15 days", which might be quite a bit different than what you stated you wanted your query to be: "trying to return features collected before 15 days from the last_edited_date." Your stated query would actually be a little more complex because you would have to loop through all of your records to find the record with the latest (largest value/most recent) last_edited_date, then compare and only return those records created before 15 days from the record with the latest last_edited_date. Other things to check: make sure you have editor tracking enabled on your feature class (this creates the fields last_edited_date, create_date, created_user, and last_edited_user), and try adding another date field to your dataset to test your SQL queries. Jake Skinner Sorry for not getting back earlier - the below query did work for me in the map document as a Definition Query on the feature class before I went to publish an ArcGIS Server Map Service. Still was unable to get it to work in AGO. I will share a service and add you to a group later today to test in AGO. COMPLETEDATE BETWEEN (CURRENT_TIMESTAMP - 60) AND (CURRENT_TIMESTAMP + 1)
... View more
08-10-2017
06:21 AM
|
1
|
0
|
17444
|
POST
|
For users in ArcMap consuming ArcGIS Online Basemaps it may help if they set the mxd Map Scales to use "ArcGIS Online / Bing Maps / Google Maps" scales. Click on Map Scales -> "customize this list" -> "Load" -> select "ArcGIS Online / Bing Maps / Google Maps". Also make sure to Check on "Only display these scales when zooming". Imagery was pretty quick to load when I panned around AK after changing these settings. Not sure if this will help, but it might!
... View more
07-27-2017
02:08 PM
|
7
|
3
|
6101
|
DOC
|
Jake Skinner - I was unable to get this to work correctly with ArcGIS Server services/SQL Server database. I have tried various combinations of the query (in case my syntax was off, in case something specific was needed for JSON to parse the query, etc.), but no features are shown in the map. Also, when trying to access the table in the web map I get a "Error: accessing data failed". Below is the defitionExpression saved to the web map's JSON (using AGOL Assistant tool): "COMPLETEDATE BETWEEN (CURRENT_TIMESTAMP - 60) AND (CURRENT_TIMESTAMP + 1) OR COMPLETEDATE IS NULL" I ran the same query directly against the SQL database (SQL Server Management Studio) and was able to return results with no problem. e.g: SELECT * FROM dbo.ROADWAY_ROADREPORT WHERE COMPLETEDATE BETWEEN (CURRENT_TIMESTAMP - 60) AND (CURRENT_TIMESTAMP + 1) ^ returned me correct results Maybe the recent release ArcGIS Online perhaps broke this functionality? Is your workflow still working for Hosted Feature Services? Any way you could test against my service and/or other services in SQL Server? My next attempt is to use the same definition query applied to the feature class/map document before I go to publish to ArcGIS Server. However, any guidance to make this work with ArcGIS Online web maps would be great. Thanks!
... View more
07-25-2017
08:04 AM
|
1
|
0
|
17444
|
POST
|
Hi Seth, Great to hear from you! I will be at the UC and would be interested to see what you guys have come up with. Thanks for the session info.
... View more
07-07-2017
06:04 AM
|
0
|
0
|
1132
|
POST
|
Kelly, Thanks for your response, and great to know this might be something that you guys are working on! I might be misinterpreting your question about specific service or index of a service and a corresponding map, but I think we would be searching on a specific service, and would like the corresponding web maps returned that use the service. Brainstorming..curious how a tool like could account for both Hosted Feature Layers and external resources added (like ArcGIS Server Services) - since the former will have unique URLs for each view definition created, and the latter can be added to ArcGIS Online as a resource multiple times but with different names given to the resource? E.g. Searching on a Unique URL to return all associated web maps makes perfect sense for ArcGIS Server Services, but maybe wouldn't give you helpful results for Hosted services (unless the results included web maps that also contained all child/view definitions as well). In this case, would it be beneficial to split it this workflow into two, Hosted Feature Layer has web maps, and external resource (e.g. AGS) has web maps. For Hosted Feature layers, search on parent layer/service url, then return it and all definitions created, and return all the web maps that each resource (the parent and it's children) belongs to. For external resources like ArcGIS Server, provide the service URL, and return the various resource titles(s) that exist for it in AGO, and which web maps they belong to. Thank you also for including the additional links, I was not familiar with the ArcGIS API for Python until you had mentioned it. Looks like a powerful tool, and have lots to learn with that new project. As for Geojobe, from what I had read in their documentation (not having actually used the tool), it also looks like they provide the same sort of views of relationships of content that AGO provides, based on content ownership by user, not content relationship based on resource, per say. -Ryan
... View more
05-22-2017
01:31 PM
|
0
|
0
|
1132
|
POST
|
Our program uses ArcGIS Online Hosted Feature Layers as well as ArcGIS Server Map Services shared to our org's ArcGIS Online, and I suspect a lot org's out there have a similar hybrid environment. We would like to be able to "inventory" our AGO site's content to see what AGO content is shared to what webmaps, regardless of who owns it (as in, return all users webmap's based on the selected AGO resource). This share information is already in AGO's content management system somewhere, in some form, but we would like a "view" of these "sharing" relationships, via some GUI in AGO, or perhaps an ArcRest script could create this result, a third party app, etc. Whatever does the trick! Currently, AGO and other third-party tools I've come across only allow a "view" of content based on Owner. Our need, however, is based on any given AGO Resource, not owner, as different owners can use a shared resource to store in their web map. In other (gis) words... we would like a view of this one-to-many relationship not based on "Owner has many AGO Resources", but rather "AGO Resource has many web maps". Here is one scenario: A resource is shared to an org (e.g. either as a Hosted Feature Layer or ArcGIS Map Service shared to AGO), and numerous owners then use this resource in various web maps (and via web maps.. in various apps). The time has come to change/delete/modify this resource such that it may "break" the URL of the resource, thus creating errors/missing content issues in any apps and web maps that use this resource. Prior to this change, AGO Admin's would use a "query" or "view" to see all of the web maps that would be affected when modifying this resource, so that these resources could be properly updated/managed in advance of the change. Additionally, being able to create a view like this would help larger Org's "clean" up their content, remove duplicate information shared to the org, and overall create a more coherent and manageable AGO experience for admin and end-users. This type of tool would also be tremendously helpful for any org's that might be migrating services/environments, etc. Does anyone else have this need or have experienced a similar scenario where this functionality might help? Did I overlook at tool out there that already does this? Look forward to any brainstorming, guidance or feedback anyone might be able to provide ArcGIS OnlineArcGIS Ideas arcrest ago-assistant Kelly Gerrow Jake Skinner
... View more
05-19-2017
09:14 AM
|
0
|
4
|
1414
|
IDEA
|
Currently, Open Data Site only honors hidden fields on an ArcGIS Server Map Service when they are first hidden in ArcMap and then published as a Map Service. Along those lines, Open Data Site should also honor the fields hidden when doing so to the map service resource after it has been added to ArcGIS Online. The logic being - honor hidden fields first from Map Service (as it currently does), if additional fields are hidden in the resource and saved (e.g. as a new layer) in ArcGIS Online, also honor the additional hidden fields. This workflow would help minimize the amount of services that are hosted on our ArcGIS Server, instead of needing separate services specifically for a "view definition" used by our Open Data Portal. Using Hosted Feature Services (and view definitions) is not necessary a desired alternative either. Since our enterprise data is in SDE databases that is replicated nightly and provides the sources of data for our map services, the alternative of using Hosted Feature Services in our Open Data Portal creates excessive amounts of work for our Analysts to manually refresh these layers whenever the data gets updated (e.g. this process is automatic and is already in place when using our ArcGIS Services vs. going through a manual process for each layer using Hosted feature services). Please vote up that Open Data Portal should honor ArcGIS Server Map Services hidden fields that are set in ArcGIS Online! #arcgis opendata
... View more
05-18-2017
06:36 AM
|
8
|
0
|
765
|
POST
|
Thank you Dan Griffin for posting this! It's April 2017 and this bug persists, using the latest release of arcgispro https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&searchId=5f6a1888-faeb-48a8-8f9f-fdab41f2da1c&searchIndex=2 1.4.1. I'm submitting a bug report today, hopefully there are duplicates already on the record.
... View more
04-18-2017
08:46 AM
|
3
|
0
|
3432
|
POST
|
Definitely agree with both Daniel Hjorth Christensen and Jake Skinner, however, the GeoEvent Processor is a very expensive option for many Org's, esp compared to writing some python and scheduling a task to accomplish nearly the same task.
... View more
03-29-2017
09:34 AM
|
1
|
0
|
759
|
Title | Kudos | Posted |
---|---|---|
1 | 06-13-2016 08:33 AM | |
7 | 07-27-2017 02:08 PM | |
5 | 05-18-2017 06:15 AM | |
1 | 08-10-2017 06:21 AM | |
1 | 07-25-2017 08:04 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|