Hi,
MapML defines four gridsets of particular names and definition. I have got
them captured as a geowebcache.xml which I attach for reference.
I was wondering how I could go about including these as default gridsets
available in GeoServer when the MapML Community Module is installed?
I can see that there is a GridSetBroker established by Spring, and that it
is constructed with a reference to the
GWC org.geowebcache.config.DefaultGridsets class. Maybe I could write a
subclass of org.geowebcache.config.DefaultGridsets and get the broker to
use that somehow?
Would appreciate your advice on this topic!
Thanks
Peter
<?xml version="1.0" encoding="utf-8"?>
<gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://geowebcache.org/schema/1.15.0 http://geowebcache.org/schema/1.15.0/geowebcache.xsd" xmlns="http://geowebcache.org/schema/1.15.0">
<version>1.15.0</version>
<backendTimeout>120</backendTimeout>
<blobStores/>
<gridSets>
<gridSet>
<name>CBMTILE</name>
<description>Canada Base Map</description>
<srs>
<number>3978</number>
</srs>
<extent>
<coords>
<double>-3.46558E7</double>
<double>-3.9E7</double>
<double>1.0E7</double>
<double>3.931E7</double>
</coords>
</extent>
<alignTopLeft>true</alignTopLeft>
<resolutions>
<double>38364.660062653464</double>
<double>22489.62831258996</double>
<double>13229.193125052918</double>
<double>7937.5158750317505</double>
<double>4630.2175937685215</double>
<double>2645.8386250105837</double>
<double>1587.5031750063501</double>
<double>926.0435187537042</double>
<double>529.1677250021168</double>
<double>317.50063500127004</double>
<double>185.20870375074085</double>
<double>111.12522225044451</double>
<double>66.1459656252646</double>
<double>38.36466006265346</double>
<double>22.48962831258996</double>
<double>13.229193125052918</double>
<double>7.9375158750317505</double>
<double>4.6302175937685215</double>
<double>2.6458386250105836</double>
</resolutions>
<metersPerUnit>1.0</metersPerUnit>
<pixelSize>2.8E-4</pixelSize>
<scaleNames>
<string>0</string>
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>5</string>
<string>6</string>
<string>7</string>
<string>8</string>
<string>9</string>
<string>10</string>
<string>11</string>
<string>12</string>
<string>13</string>
<string>14</string>
<string>15</string>
<string>16</string>
<string>17</string>
<string>18</string>
</scaleNames>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
<yCoordinateFirst>false</yCoordinateFirst>
</gridSet>
<gridSet>
<name>OSMTILE</name>
<description></description>
<srs>
<number>3857</number>
</srs>
<extent>
<coords>
<double>-2.003750834E7</double>
<double>-2.003750834E7</double>
<double>2.003750834E7</double>
<double>2.003750834E7</double>
</coords>
</extent>
<alignTopLeft>true</alignTopLeft>
<resolutions>
<double>156543.03390625</double>
<double>78271.516953125</double>
<double>39135.7584765625</double>
<double>19567.87923828125</double>
<double>9783.939619140625</double>
<double>4891.9698095703125</double>
<double>2445.9849047851562</double>
<double>1222.9924523925781</double>
<double>611.4962261962891</double>
<double>305.74811309814453</double>
<double>152.87405654907226</double>
<double>76.43702827453613</double>
<double>38.218514137268066</double>
<double>19.109257068634033</double>
<double>9.554628534317017</double>
<double>4.777314267158508</double>
<double>2.388657133579254</double>
<double>1.194328566789627</double>
<double>0.5971642833948135</double>
<double>0.2985821416974068</double>
<double>0.1492910708487034</double>
<double>0.0746455354243517</double>
<double>0.0373227677121758</double>
<double>0.0186613838560879</double>
<double>0.009330691928044</double>
<double>0.004665345964022</double>
<double>0.002332672982011</double>
<double>0.0011663364910055</double>
<double>5.831682455027E-4</double>
<double>2.915841227514E-4</double>
<double>1.457920613757E-4</double>
</resolutions>
<metersPerUnit>1.0</metersPerUnit>
<pixelSize>2.8E-4</pixelSize>
<scaleNames>
<string>0</string>
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>5</string>
<string>6</string>
<string>7</string>
<string>8</string>
<string>9</string>
<string>10</string>
<string>11</string>
<string>12</string>
<string>13</string>
<string>14</string>
<string>15</string>
<string>16</string>
<string>17</string>
<string>18</string>
<string>19</string>
<string>20</string>
<string>21</string>
<string>22</string>
<string>23</string>
<string>24</string>
<string>25</string>
<string>26</string>
<string>27</string>
<string>28</string>
<string>29</string>
<string>30</string>
</scaleNames>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
<yCoordinateFirst>false</yCoordinateFirst>
</gridSet>
<gridSet>
<name>APSTILE</name>
<srs>
<number>5936</number>
</srs>
<extent>
<coords>
<double>-2.8567784109254867E7</double>
<double>-2.8567784109254755E7</double>
<double>3.2567784109255023E7</double>
<double>3.256778410925506E7</double>
</coords>
</extent>
<alignTopLeft>true</alignTopLeft>
<resolutions>
<double>238810.813354</double>
<double>119405.406677</double>
<double>59702.7033384999</double>
<double>29851.3516692501</double>
<double>14925.675834625</double>
<double>7462.83791731252</double>
<double>3731.41895865639</double>
<double>1865.70947932806</double>
<double>932.854739664032</double>
<double>466.427369832148</double>
<double>233.213684916074</double>
<double>116.606842458037</double>
<double>58.3034212288862</double>
<double>29.1517106145754</double>
<double>14.5758553072877</double>
<double>7.28792765351156</double>
<double>3.64396382688807</double>
<double>1.82198191331174</double>
<double>0.910990956788164</double>
<double>0.45549547826179</double>
</resolutions>
<metersPerUnit>1.0</metersPerUnit>
<pixelSize>2.8E-4</pixelSize>
<scaleNames>
<string>0</string>
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>5</string>
<string>6</string>
<string>7</string>
<string>8</string>
<string>9</string>
<string>10</string>
<string>11</string>
<string>12</string>
<string>13</string>
<string>14</string>
<string>15</string>
<string>16</string>
<string>17</string>
<string>18</string>
<string>19</string>
</scaleNames>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
<yCoordinateFirst>false</yCoordinateFirst>
</gridSet>
<gridSet>
<name>WGS84</name>
<srs>
<number>4326</number>
</srs>
<extent>
<coords>
<double>-180.0</double>
<double>-90.0</double>
<double>180.0</double>
<double>90.0</double>
</coords>
</extent>
<alignTopLeft>true</alignTopLeft>
<resolutions>
<double>0.703125</double>
<double>0.3515625</double>
<double>0.17578125</double>
<double>0.087890625</double>
<double>0.0439453125</double>
<double>0.02197265625</double>
<double>0.010986328125</double>
<double>0.0054931640625</double>
<double>0.00274658203125</double>
<double>0.001373291015625</double>
<double>6.866455078125E-4</double>
<double>3.433227539062E-4</double>
<double>1.716613769531E-4</double>
<double>8.58306884766E-5</double>
<double>4.29153442383E-5</double>
<double>2.14576721191E-5</double>
<double>1.07288360596E-5</double>
<double>5.3644180298E-6</double>
<double>2.6822090149E-6</double>
<double>1.3411045074E-6</double>
<double>6.705522537E-7</double>
<double>3.352761269E-7</double>
</resolutions>
<metersPerUnit>111319.49079327358</metersPerUnit>
<pixelSize>2.8E-4</pixelSize>
<scaleNames>
<string>0</string>
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>5</string>
<string>6</string>
<string>7</string>
<string>8</string>
<string>9</string>
<string>10</string>
<string>11</string>
<string>12</string>
<string>13</string>
<string>14</string>
<string>15</string>
<string>16</string>
<string>17</string>
<string>18</string>
<string>19</string>
<string>20</string>
<string>21</string>
</scaleNames>
<tileHeight>256</tileHeight>
<tileWidth>256</tileWidth>
<yCoordinateFirst>false</yCoordinateFirst>
</gridSet>
</gridSets>
<layers/>
</gwcConfiguration>_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel