[Geoserver-users] Preview TMS service

I am trying to steep GeoServer/GWC to serve out my data as TMS tiles. I am using the provided GWC that come with GeoServer. I have enabled TMS Service in the 'Caching Defaults' section. However when I hook up a map to my TMS url I do not get back any data, i.e. all of the tiles are blank.

2 questions,

1. My data (shapfile) is in a different projection than the TMS cache I want to create. I.E. my data is in EPSG:4326 and I want to serve out TMS tiles in EPSG:3857. Will this work? I have added EPSG:3857 grid set to the layer and I see that EPSG:3857 is available for TMS so it looks like it should work.

2. Do I need to generate the TMS cache before I start requesting tiles? Or will the tiles get generated/cached on the fly when I make a TMS request?

Thanks in advance,
Billy

Hi Billy,

  1. Hmmm, not sure. I think it depends on what your gridset is - you need to create one of them in 3857. - http://docs.geoserver.org/stable/en/user/webadmin/tilecache/gridsets.html - then Geoserver should probably reproject automagically when it creates the tiles.

  2. You don’t need to pre-seed. GeoServer will automatically create tiles when necessary if they’re not in the cache already. Pre-seeding is useful for when you go live of course.
    Cheers,
    Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 25 November 2013 18:41, Billy Newman <newmanw10@anonymised.com> wrote:

I am trying to steep GeoServer/GWC to serve out my data as TMS tiles. I am using the provided GWC that come with GeoServer. I have enabled TMS Service in the ‘Caching Defaults’ section. However when I hook up a map to my TMS url I do not get back any data, i.e. all of the tiles are blank.

2 questions,

  1. My data (shapfile) is in a different projection than the TMS cache I want to create. I.E. my data is in EPSG:4326 and I want to serve out TMS tiles in EPSG:3857. Will this work? I have added EPSG:3857 grid set to the layer and I see that EPSG:3857 is available for TMS so it looks like it should work.

  2. Do I need to generate the TMS cache before I start requesting tiles? Or will the tiles get generated/cached on the fly when I make a TMS request?

Thanks in advance,
Billy

Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users