Also, with the latest version of geoserver, the intregrated geowebcache
seems to work properly. You need to edit the geowebcache.xml that's placed
in your datadir\gwc folder. Every tutorial / guide I read so far claims it
should be in WEB-INF folder, but that never worked for me. This one worked
for me and respects the PDOK guidelines (and added some more zoomlevels):
<layers>
<wmsLayer>
<name>topnl</name>
<mimeFormats>
<string>image/png</string>
<string>application/vnd.google-earth.kml+xml</string>
</mimeFormats>
<grids>
<entry>
<srs>
<number>28992</number>
</srs>
<grid>
<srs>
<number>28992</number>
</srs>
<dataBounds>
<coords>
<double>-285401.920</double>
<double>22598.080</double>
<double>595401.920</double>
<double>903401.920</double>
</coords>
</dataBounds>
<gridBounds>
<coords>
<double>-285401.920</double>
<double>22598.080</double>
<double>595401.920</double>
<double>903401.920</double>
</coords>
</gridBounds>
<resolutions>
<double>3440.64</double>
<double>1720.32</double>
<double>860.16</double>
<double>430.08</double>
<double>215.04</double>
<double>107.52</double>
<double>53.76</double>
<double>26.88</double>
<double>13.44</double>
<double>6.72</double>
<double>3.36</double>
<double>1.68</double>
<double>0.48</double>
<double>0.42</double>
<double>0.21</double>
<double>0.105</double>
<double>0.0525</double>
<double>0.02625</double>
<double>0.013125</double>
</resolutions>
</grid>
</entry>
</grids>
<wmsUrl>
<string>http://localhost:8080/geoserver/wms</string>
</wmsUrl>
<wmsLayers>topmap</wmsLayers>
<metaWidthHeight>
<int>3</int>
<int>3</int>
</metaWidthHeight>
<tiled>false</tiled>
<transparent>true</transparent>
<bgColor></bgColor>
<palette></palette>
</wmsLayer>
regards,
Casper
On Tue, Feb 7, 2012 at 5:42 PM, Sjoerd Brandsma <[email protected]> wrote:
> Hi Bart,
>
> You can try this one:
>
> <gridSets>
> <gridSet>
> <name>EPSG:28992</name>
> <srs><number>28992</number></srs>
> <extent>
> <coords>
> <double>-23500</double>
> <double>289000</double>
> <double>316500</double>
> <double>629000</double>
> </coords>
> </extent>
>
> <alignTopLeft>false</alignTopLeft>
> <resolutions>
> <double>1328.125</double>
> <double>664.0625</double>
> <double>332.03125</double>
> <double>166.015625</double>
> <double>83.0078125</double>
> <double>41.50390625</double>
> <double>20.751953125</double>
> <double>10.3759765625</double>
> <double>5.18798828125</double>
> <double>2.593994140625</double>
> <double>1.2969970703125</double>
> <double>0.64849853515625</double>
> <double>0.324249267578125</double>
> <double>0.1621246337890625</double>
> <double>0.08106231689453125</double>
> </resolutions>
>
>
> <tileHeight>256</tileHeight>
> <tileWidth>256</tileWidth>
> </gridSet>
> </gridSets>
>
>
> Best regards,
> Sjoerd Brandsma
> CycloMedia
>
> On Tue, Feb 7, 2012 at 5:26 PM, BartM <[email protected]> wrote:
> > Hello Lucas, Casper,
> >
> > I've been trying to get Geoserver with GeoWebCache to work with a RDNew
> > (EPSG:28992) as well, but haven't succeeded in getting it to work yet.
> I've
> > understood as well that editing the GeoWebCache.xml was the way to go,
> > however Geoserver refused to start after even uncommenting the original
> XML,
> > let alone after inserting a new definition like:
> >
> > <gridSet>
> > <name>EPSG:28992</name>
> > <srs>
> > <number>28992</number>
> > </srs>
> > <extent>
> > <coords>
> > <double>12628.05414</double>
> > <double>308179.04234</double>
> > <double>283594.47794</double>
> > <double>611063.14294</double>
> > </coords>
> > </extent>
> > <metersPerUnit>1</metersPerUnit>
> > <tileHeight>256</tileHeight>
> > <tileWidth>256</tileWidth>
> > </gridSet>
> >
> > Have any of you managed to get a custom gridset to work? Could you share
> > it's contents maybe?
> >
> > Kind regards,
> >
> > Bart Monné
> >
> > --
> > View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Geoserver-GeoWebCache-28992-tp3787552p4373088.html
> > Sent from the GeoServer - User mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > Keep Your Developer Skills Current with LearnDevNow!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-d2d
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Casper Span
T: @Span_Droid <https://twitter.com/#%21/Span_Droid>
W: http://www.spatially-oriented.com
M: [email protected]
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users