I got the following to pull up a tile that is only water, so the resolutions
are sort of working. The area should be all land.
{baseURL: 'https://c.tile.openstreetmap.org', type: 'OSM',tileSize: [256, 256],
extension: 'png',maxExtent:
[-97.26701152343547,40.38866136021774,-89.96110332031084,43.325430291116184],resolutions:
[5.625,2.813,1.406,0.703,0.352,0.176,0.088,0.044,0.022,0.011,0.005,0.003,0.001,0.0005]}],
legends: [{name: 'Legend:',classes:[]}
Josh Obrecht, GISP
GIS Support and Research Facility
Iowa State University
213 Durham Center
613 Morrill Rd
Ames, IA 50011
515-294-6990
jobre...@iastate.edu
From: Obrecht, Joshua D [DSN]
Sent: Tuesday, January 31, 2017 1:46 PM
To: 'Olle Markljung' <marklj...@gmail.com>
Cc: geoserver-users@lists.sourceforge.net; 'rob.langf...@salford.gov.uk'
<rob.langf...@salford.gov.uk>
Subject: RE: [Geoserver-users] Printing OSM
The coordinates are to be 4236. The resolutions I had just pulled from an
example I found online. I did not know that they were coordinate system
dependent. Do you know somewhere I can find the proper resolutions?
Josh Obrecht, GISP
GIS Support and Research Facility
Iowa State University
213 Durham Center
613 Morrill Rd
Ames, IA 50011
515-294-6990
jobre...@iastate.edu<mailto:jobre...@iastate.edu>
Date: Tue, 31 Jan 2017 18:10:07 +0100
From: Olle Markljung <marklj...@gmail.com<mailto:marklj...@gmail.com>>
Subject: Re: [Geoserver-users] Printing OSM
To: Rob L <rob.langf...@salford.gov.uk<mailto:rob.langf...@salford.gov.uk>>
Cc:
"geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>"
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
Message-ID:
<cafrqddw2d2_ik21zkfrejzx6uoz5uy+0-khthn-0ilnzfx3...@mail.gmail.com<mailto:cafrqddw2d2_ik21zkfrejzx6uoz5uy+0-khthn-0ilnzfx3...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"
I also get a 404 if I browse to tile 18/9/-1
The tile calculations are off.
It seems as you might mix different SRS in maxExtent and resolutions.
The resolutions seems to match those of EPSG:900913 and maxExtent looks like
EPSG:4236 ones.
What SRS do you state in your spec to mapfish?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users