ArcGIS Server Weirdness…

Here’s a little something to scratch your head about…

As I mentioned in some previous posts, I’m currently working on some code that creates 100k maps based on USGS quad sheet boundaries. And all is working nicely. Except I was seeing a blue halo around some of the quad sheet boundary in the PDF…

Media_httpblogdavebou_aukgb

I should note that at this point I’m creating the PDF’s via unit tests – so I’m always using the same tile and varying other properties. When I zoomed in on the PDF a light went on…

Media_httpblogdavebou_difsm

Why – it’s not some weird rendering “halo” artifact – it’s the cyan selection box. Except I’m not manipulating the map selection. Scratched my head for a minute and then I opened up my map document…

Media_httpblogdavebou_dijwa

Look at that. I had saved the document with a selection, and then when I accessed it via ArcGIS Server, the selection was still there.

Now – I guess this “makes sense” in that selections are stored in the document so they persist over time, but it kind of seems like ArcGIS Server should clear or ignore them? I mean I’d hate to think that someone was building an application that relied on a particular selection set being in a document…

Anyhow – just another thing to add to your “Publishing Maps to ArcGIS Server” checklist.

Advertisement
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s