Hi,

I'm using a Geoserver and added a wms to it. Then I used Geoserver to seed part of the wms-data to my server. Now I'm trying to achieve a local version of the wms. Therefore I'm using Openscales (TMS) to display the wms-data on a map. This works fine, if the geoserver handles the requests. I copied the seeded files (/cache/gwc/<layerName>/*) from my server to my local drive. I then used a geowebcache class (FilePathGenerator from https://github.com/GeoWebCache/geowebcache/blob/master/geowebcache/core/src/main/java/org/geowebcache/storage/blobstore/file/FilePathGenerator.java) to generate local urls (i.e. c:/mymapsfiles/<layerName>/<projection>_<zoom>/<x>_<y>/<numberX>_<numberY>.jpeg) from the geowebserver-requests (i.e. http://<myserver>/geoserver/gwc/service/tms/<layerName>/<zoom>/<numberX>/<numberY>.jpeg). If the projection is EPSG:900913, it the works fine. The proper numbers are generated and the images are loaded. If the projection is changed to EPSG:4326, the calculations using the FilePathGenerator class does not work, but if I use the Geoserver directly to do the requests, it works (and the requestes images are located in the Geoserver cache folder). Has someone an idea, where and how Geoserver transforms the requests to the local (on the server) file structure?

Regards,

Jo

<<attachment: kullmann.vcf>>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to