extension to geoserver for reading esri mapcaches
DESCRIPTION
Extension to Geoserver for reading ESRI Mapcaches. 62O. FOSS4G 2009, Sidney Friday 23 october Parkside auditorium. 62 O north. Mauritz Bomark System architect Lantmäteriet, Sweden [email protected]. Pär Jonsson Project manager Lantmäteriet, Sweden [email protected]. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/1.jpg)
Extension to Geoserver for reading ESRI Mapcaches
Pär JonssonProject managerLantmäteriet, [email protected]
Mauritz BomarkSystem architectLantmäteriet, [email protected]
FOSS4G 2009, SidneyFriday 23 octoberParkside auditorium
62O62
O north
![Page 2: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/2.jpg)
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.
![Page 3: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/3.jpg)
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
![Page 4: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/4.jpg)
• New SDI – in-house department to department
• New NSDI - government to government• PSI – private to government• Inspire (EU) - country to country
New requirement's and directives concerning geodata
Basis for all new requirement's is maps with high availability!
![Page 5: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/5.jpg)
• Standardized web map• Pretty map • Flexible map • Fast map• Up-to-date map• Multi Sweden map
Business requirements for viewing services?
![Page 6: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/6.jpg)
• Available via WebMapService-interface• Support both tiling and non-tiling clients• An implementation that fits in our enterprise
architecture (java)
Standard web map WMS
![Page 7: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/7.jpg)
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
![Page 8: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/8.jpg)
Fast map • A fast WMS-solution (<1,5 sek)
Flexible map• A flexible layered WMS-solution
WMSserver
Head office
![Page 9: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/9.jpg)
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
![Page 10: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/10.jpg)
WMSserver
Map
WMS
Productionenvironment
• Geoserver for serving WMS– Architecture
• Tile pyramid plugin– Geoservers Geotools Grid Coverage
integration– Reads ESRI mapCache
• Pre rendered tile pyramids– Performance, intelligent updating– Several choices identified – image pyramid &
image mosaic, GeoWebCache, Tilecache, mapCache…• ESRI’s mapCache feature in ArcGIS server• Extensive ESRI use in production lines for
our map databases• High quality cartography - mxd
Design solution
TPP
![Page 11: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/11.jpg)
ESRI mapCache format
• /L00/R0000029f/C00000280.jpg– L00: Level ID – R0000029f: Cache tile row in padded
hexadecimal format – C00000280.jpg: Cache tile column in padded
hexadecimal format – conf.xml – meta data (levels, spatial reference,
image format, image size, image resolution etc)
WMSserver
Map
TPP
![Page 12: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/12.jpg)
Getmap Flow
• 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 GridCoverage to Geoserver
• Resize to requested resolution• Merge layers• Return requested image
WMSserver
WMS
TPP
![Page 13: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/13.jpg)
Configuring the tile pyramid plugin
Configuration parameters• Standard Grid Format parameters (SRS, style
etc)• LevelSelectionInterval (% between layers)
• LowestValidResolution (m/pixel)• MaxImageSize (pixels)
WMSserver
100%
0%
TPP
![Page 14: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/14.jpg)
Experiences of Geoserver and the tile pyramid plugin
Server configuration• Java 1.6• Native JAI• JAI-settings (Geoserver)• Garbage Collection (JVM)
![Page 15: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/15.jpg)
Hardware configuration
GeoServer GeoServer
Web Server
LB
WMSProxy
JBOSS
Apache
JBOSSDual Core 3Ghz3 GB RAM
JBOSSDual Core 3Ghz3 GB RAM
![Page 16: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/16.jpg)
Performance
#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
#Threads Median ms Requests/sec
1 229 1.12
500ms delay
512*512 pixelsBilinear renderingPNG
![Page 17: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/17.jpg)
Standard web map, WMS (WMTS)Pretty map , quite pretty mapFlexible map, 12 layersFast map, speed enough!Up-to-date map, intelligent updating is runningSweden 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 useThe source code for the Tilepyramid plugin is available!
Summary
![Page 18: Extension to Geoserver for reading ESRI Mapcaches](https://reader034.vdocuments.site/reader034/viewer/2022051622/568150f1550346895dbf0bd0/html5/thumbnails/18.jpg)
That’s all
Thanks!