580ae63953627257e014362c9531adea.ppt
- Количество слайдов: 18
Extension to Geoserver for reading ESRI Mapcaches O 62 north FOSS 4 G 2009, Sidney Friday 23 october Parkside auditorium Mauritz Bomark Pär Jonsson System architect Lantmäteriet, Sweden mauritz. bomark@lm. se Project manager Lantmäteriet, Sweden par. jonsson@lm. se
About Lantmäteriet The leading producer in Sweden of geographic databases and maps. Responsible for property formation and land authority. Provide an extensive amount of geospatial data to the market.
About Lantmäteriet The total staff is approx. 2, 000. and 10 % is working at the IT-department. The head office is situated in Gävle, 200 km north of Stockholm
New requirement's and directives concerning geodata • New SDI – in-house department to department • New NSDI - government to government • PSI – private to government • Inspire (EU) - country to country Basis for all new requirement's is maps with high availability!
Business requirements for viewing services? • • • Standardized web map Pretty map Flexible map Fast map Up-to-date map Multi Sweden map
Standard web map • Available via Web. Map. Service-interface • Support both tiling and non-tiling clients • An implementation that fits in our enterprise architecture (java) WMS
Pretty map • A new map product for screen presentation with: High quality cartography Harmonized cartography Soft colors Scale dependent symbolization (i. e symbol and text placement) – No manual cartographic treatment – – Map
Fast map • A fast WMS-solution (<1, 5 sek) WMS server Flexible map • A flexible layered WMS-solution Head office
Up-to-date map • Updated maps on a daily basis • Fast cartographic treatment in runtime Multi Sweden map • Cover Sweden • Include data from all 6 map series Map
Design solution WMS • Geoserver for serving WMS – Architecture • Tile pyramid plugin – Geoservers Geotools Grid Coverage integration – Reads ESRI map. Cache WMS server TPP Map • Pre rendered tile pyramids – Performance, intelligent updating – Several choices identified – image pyramid & image mosaic, Geo. Web. Cache, Tilecache, map. Cache… • ESRI’s map. Cache feature in Arc. GIS server • Extensive ESRI use in production lines for our map databases • High quality cartography - mxd Production environment
ESRI map. Cache format WMS server Map • /L 00/R 0000029 f/C 00000280. jpg – L 00: Level ID – R 0000029 f: Cache tile row in padded hexadecimal format – C 00000280. jpg: Cache tile column in padded hexadecimal format – conf. xml – meta data (levels, spatial reference, image format, image size, image resolution etc) TPP
Getmap Flow WMS server • Getmap request passed through Geoserver to the plugin (per layer) – Calculate level in the pyramid – Calculate tiles affected by the requested bbox – Read tiles and create JAI Mosaic – Crop according to bbox – Return Grid. Coverage to Geoserver • Resize to requested resolution • Merge layers • Return requested image TPP
Configuring the tile pyramid plugin Configuration parameters • Standard Grid Format parameters (SRS, style etc) • Level. Selection. Interval (% between layers) 0% 100% • Lowest. Valid. Resolution (m/pixel) • Max. Image. Size (pixels) WMS server TPP
Experiences of Geoserver and the tile pyramid plugin Server configuration • Java 1. 6 • Native JAI • JAI-settings (Geoserver) • Garbage Collection (JVM)
Hardware configuration Web Server Apache WMS Proxy JBOSS LB Geo. Server JBOSS Dual Core 3 Ghz 3 GB RAM
Performance 512*512 pixels Bilinear rendering PNG 500 ms delay #Threads Median ms Requests/sec 1 229 1. 12 #Threads Median ms Requests/sec 1 315 2. 38 5 315 11. 87 10 316 21. 53 25 329 35. 26 30 323 36. 39 40 472 36. 16 50 522 32. 70 10 ms delay
Summary Standard web map, WMS (WMTS) Pretty map , quite pretty map Flexible map, 12 layers Fast map, speed enough! Up-to-date map, intelligent updating is running Sweden is covered! – 1 layer consists of 13 levels (0. 5 m/p – 2480 m/p) -> approximately 45 million tiles/layer. – 12 layers -> 540 million tiles. In production since july 2009, with both internal and external use The source code for the Tilepyramid plugin is available!
That’s all Thanks!