|
Hello, I have created a file GeoWebCache.xml to support EPSG:28992 in GeoWebCache.
But where do I place this file in geoserver? Is it possible to place all the cached data in the geoserver data dir?
------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|||||||||||
|
Hi Lucas,
I've been pondering with the same problem. I haven't gotten anything working, but the last thing I heard was not to use the built in GWC, remove it from Geoserver web-inf and install the full thing. But like I said, I haven't had time to actually try that. If you do find the place, please let me know :) Regards, Casper Span On Fri, Dec 9, 2011 at 10:47 AM, Lucas Heezen - Covadis <[hidden email]> wrote:
------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|||||||||||
|
Hello Casper. I have discovered that if i place ‘GeoWebCache.xml’ in WEB-INF/classes dat GeoWebCache will use these settings.
Van: Casper Span [mailto:[hidden email]]
Hi Lucas, On Fri, Dec 9, 2011 at 10:47 AM, Lucas Heezen - Covadis <[hidden email]> wrote: Hello, I have created a file GeoWebCache.xml to support EPSG:28992 in GeoWebCache.
But where do I place this file in geoserver? Is it possible to place all the cached data in the geoserver data dir?
------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|||||||||||||||||||||
|
In reply to this post by Casper Span
----- Weitergeleitete Message ----- Von: Robert Buckley <[hidden email]> An: Casper Span <[hidden email]> Gesendet: 12:59 Freitag, 9.Dezember 2011 Betreff: Re: [Geoserver-users] Geoserver GeoWebCache 28992 Hi, According to the documentation and similar forum threads, in order to create a custom gwc srs you should create the file geowebcache.xml and place it in the gwc folder in your GEOSERVER_DATA_DIR directory. I am using 2.1.2 and this is however not being implemented by the integrated gwc version within geoserver. I too will be testing gwc as an external service next week. yours, Rob Von: Casper Span <[hidden email]> An: Lucas Heezen - Covadis <[hidden email]> Cc: "[hidden email]" <[hidden email]> Gesendet: 12:03 Freitag, 9.Dezember 2011 Betreff: Re: [Geoserver-users] Geoserver GeoWebCache 28992 Hi Lucas, I've been pondering with the same problem. I haven't gotten anything working, but the last thing I heard was not to use the built in GWC, remove it from Geoserver web-inf and install the full thing. But like I said, I haven't had time to actually try that. If you do find the place, please let me know :) Regards, Casper Span On Fri, Dec 9, 2011 at 10:47 AM, Lucas Heezen - Covadis <[hidden email]> wrote:
------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Geoserver-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users
Yours with thanks,
Robert Buckley
System: Linux Ubuntu 10.04 Server / Tomcat6 / Geoserver 2.1.2 / GeoWebCache 1.2.6)
|
|||||||||||
|
In reply to this post by Lucas Heezen - Covadis
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é |
|
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 <[hidden email]> 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 > [hidden email] > 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
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 <[hidden email]> wrote: Hi Bart, -- Casper Span T: @Span_Droid W: http://www.spatially-oriented.com M: [hidden email] ------------------------------------------------------------------------------ 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/geoserver-users |
| Powered by Nabble | Edit this page |
