I am using GeoServer 2.2-RC2 to set up tiled map services using the integrated 
GWC. I can view the service through the GWC demo page and am able to view the 
service using EPSG:26910 based tiles. The tiles are successfully created in the 
proper directory (I am not using the data_dir directory). I am also able to add 
and view the tiled service in QGIS and via WMS GetMap requests in browsers on 
multiple computers when accessing GeoServer tile services only.

The problem occurs when trying to add it to the map application I am working 
on. The tiled map service coming from GeoServer fails with a message about the 
resolution exceeding the allowable threshold. I see from the documentation that 
a pixelSize of 0.28mm/pixel is assumed (a little over 90 dpi). Following 
another thread regarding resolutions, I changed pixelSize in geowebcache.xml to 
0.0002645833333333333333333333 as they wanted tiles created with 96 dpi. Is 
that the correct pixelSize value for creating a 96 dpi image?

Also, is geowebcache.xml the correct place to make such a change? I noticed 
that GeoServer automatically changed the value back to 0.28 mm/pixel.

I am beginning the transition from ArcGIS tile services to open source and 
still need to be able to use all our existing tile services. ArcGIS defaults to 
96 dpi and so all our existing tile services are configured as such.

I think the resolution and scale differences between GeoServer and ArcGIS is 
where things are going wrong. In trying to match the numbers between the two 
tile sources, I can match either the scale or resolution for the different tile 
levels, but not both. Depending on which it is that I match it to (resolution 
or scale), the percent difference in the error is different so I think dpi is 
key. Does it seem reasonable that if I can change GeoServer to work with a 
pixelSize that creates a 96 dpi image the resolution error will go away?

- Michael


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to