Skip to main content

Cannot get aerial to stay visible when zoom in

Comments

10 comments

  • Permanently deleted user
    I think I had the same or similar problem and I ended up fixing it by removing the permissions on the aerial image.  We are using ESRI aerial imagery from the following URL:

     

    https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer

     

    Here is how I have the permissions configured.  We are using windows auth and secured services.

     

    User-added image

     

    The map scale overide is not needed with the HTML5 viewer.  I blanked mine out:

     

    User-added image

     

    After doing those, I am able to zoom in much farther than the ESRI tiles.  Before the map would try to draw and say "Data not yet available"  or something close to that.  Now it just zooms closer. 

     

    So there could be something with either the service (http vs https) or the permissions for the viewer.

     

    Hope this helps.

     

     
    0
  • Permanently deleted user
    Jon,

     

    Thanks for the reply, but I don't think it helps.  I'm not using permissions on this site, since that can cause big slow downs.  I tried removing the Min/Max scale override in Manager on the Map tab, but all that does is prevent the map from zooming in closer than the least most detailed aerial...
    0
  • Permanently deleted user
    I have an non-https site here at the link below, so maybe the security does not matter, but I do keep the green check box off on the permissions.

     

    http://maps.mmsd.com/maps/?viewer=freshcoast740

     

    That site uses the non https ESRI aerial at the following URL and allows a pretty close zoom.

     

    http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer

     

    This zooms pretty close.  Are you looking to get closer than this?

     

     

     
    0
  • Permanently deleted user
    Yes, our new imagery has .15' pixels...  In Silverlight, you had the option to either force the viewer to only allow the user to go to scales that have been cached, or you can allow them to go to scales between the cached scales.  This allowed you to set it so the viewer could also zoom in closer than the max cached scale.  Seems you don't have that option in HTML5 (LG folks?). 

     

    I ended up getting around this by adding a new scale (1:75) to our cache over the weekend.  14 hours and 80 GBs later, it seems to be working okay now.  This is the first time this particular vendor has ever done a city aerial at this resolution - it is really quite impressive:

     

    https://maps.srcity.org/Html5Viewer/Index.html?viewer=parcel
    0
  • Permanently deleted user
    lol.... I guess making a new cache is one way around it.

     

    You are lucky you have that option.  Not all of us can just burn up an extra 80gb when needed.

     

    We used to use the same silverlight functionality to zoom in.  We also switched to HTML5 and I think you are correct in stating the same functionality is NOT in the HTML5 viewer.

     

    btw.. The new aerials turned out nice. good job.
    0
  • Permanently deleted user
    Thanks.  Yes, not what I wanted to do...but I'm now doing it to our most recent county-wide aerial as well, and that will likely be around 120 GB...  Between the two, an extra 200 GB in storage...
    0
  • Permanently deleted user
    We ran into this issue with the HTML5 viewer too.

     

    Our workaround was to create a new dynamic map service that displays the source mosaic dataset for scales lower than our cache (1:500).

     

    Whilst serving raw imagery dynamically isn't ideal, the number of imagery tiles visible for any given request below 1:500 is, at most, going to be 4 and we have found the performance to be only marginally slower than the cache.
    0
  • Permanently deleted user
    Charlie Brown!  I live in Santa Rosa, where Charles Shultz did his work.  Your solution sounds like what I used to do in the old MapGuide 6 days.  I would use different resolutions of MrSIDs, and then when I got close, I would switch to TIFs. 

     

    I originally cached my aerials to their closest usable scale.  Our folks like the ability to zoom in closer than that, especially when measuring stuff.  This issue with HTML5 not being able to zoom between cached scales is a pain.  I have over ten aerial services, and I'm not about to cache an extra scale for each...so I ended up just doing my most current City and County aerial.  My main web site (not the one I gave above) has over 15 services, and some of them have a lot of layers - I really don't want to have to add additional dynamic services, or to add to the existing ones, the ten or so aerials I have on the site...
    0
  • Malcolm Walker
    • Community-Manager
    Hi Folks,

     

    The underlying issue is that the Esri javascript map object will only show you tiles at the available scale levels published by a map service.  

     

    The "stretchy tile" behavior in Silverlight is what gives us the ability to zoom past the last available scale level in a cached map and still see tiles.  It's also called tile interpolation and is not available in the javascript API.  When you zoom beyond the available scale levels in a tiled service with the Esri javascript API, the map turns off.

     

    For a bit more information on snapping to levels, read here:

     

    http://gis.stackexchange.com/questions/52826/why-is-there-no-map-snaptolevels-property-in-the-esri-js-api

     

     

     
    0
  • Permanently deleted user
    Thanks for the explaination Malcolm.  Sounds like HTML5 will never be able to interpolate between cached scales - a big drawback in my mind...
    0

Please sign in to leave a comment.