Extension to Geoserver for reading ESRI Mapcaches Pär Jonsson Project manager Lantmäteriet, Sweden...
-
Upload
charles-hall -
Category
Documents
-
view
221 -
download
0
Transcript of Extension to Geoserver for reading ESRI Mapcaches Pär Jonsson Project manager Lantmäteriet, Sweden...
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
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 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!
• Standardized web map• Pretty map • Flexible map • Fast map• Up-to-date map• Multi Sweden map
Business requirements for viewing services?
• Available via WebMapService-interface• Support both tiling and non-tiling clients• An implementation that fits in our enterprise
architecture (java)
Standard web map 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)
Flexible map• A flexible layered WMS-solution
WMSserver
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
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
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
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
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
Experiences of Geoserver and the tile pyramid plugin
Server configuration• Java 1.6• Native JAI• JAI-settings (Geoserver)• Garbage Collection (JVM)
Hardware configuration
GeoServer GeoServer
Web Server
LB
WMSProxy
JBOSS
Apache
JBOSSDual Core 3Ghz3 GB RAM
JBOSSDual Core 3Ghz3 GB RAM
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
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