![Page 1: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/1.jpg)
PostLBS
Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!
Jun Koike
Toru Mori
Orkney, Inc.
![Page 2: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/2.jpg)
Index
•What is “PostLBS” Platform?
•Demonstration
•Milestones
![Page 3: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/3.jpg)
About Us
• Orkney, Inc.•Founded in 2002•Pioneer Company providing FOSS4G solutions in Japan•i18n Contributes to MapServer and GRASS•pgRouting, geocoder.ja•One of the largest supporters of OSGeo Japanese Chapter
• About me•Technical Consultant•Using FOSS4G tools since 2005•Orkney since 2007
![Page 4: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/4.jpg)
WHAT IS POSTLBS?
![Page 5: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/5.jpg)
What is PostLBS?
•Web API Platform for Geospatial Visualization.
![Page 6: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/6.jpg)
Examples of Geospatial Visualization
Filtering
Categorization
![Page 7: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/7.jpg)
Examples of Geospatial Visualization
Bubble Chart
POI within a Polygon
![Page 8: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/8.jpg)
ARCHITECTURE
![Page 9: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/9.jpg)
Architecture – Whole Image
GeospatialData Resource
Geocoding
Routing
Categorizing
CatalogFile
API
CLIENTS
Other DataResources
PostLBS
DemographicData Resource
Visualization “Basket”
Work on
Service,
Format,
Params
- JSON
- XML
- K/V
etc…
![Page 10: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/10.jpg)
Architecture – API URL
•Simple URL Structure•Using 3 Keys for URL
http://foo.bar/BASKET/SERVICE.FORMAT?query={...}
![Page 11: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/11.jpg)
Architecture – Hierarchy
Basket
ResourceA
FunctionA
FunctionB
ResourceB
FunctionC
Formats Formats Formats
ServiceA
ServiceB
ServiceC
![Page 12: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/12.jpg)
Architecture – Configuration Files
DataResources
DB, API(e.g. google API),
etc…
service.xml
basket.xml
resource.xmlfunction.xml
catalog.xml
ResourceFunction
Format(templates)
Catalog – Dataset,
Columns,Type of
Data Resources
Basket
Service
![Page 13: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/13.jpg)
How to Develop Your Service
• Step 1• Install PostLBS
• Step 2•Create a “Service”
•Code a Function as a Service class•Choose Resource and Format
• Step 3•Configure
•Put in the Basket
![Page 14: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/14.jpg)
Example 1
•Geocoding•Code a “Geocoding service class”•Configure Function, Resource, Service and Basket
![Page 15: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/15.jpg)
Example 1
![Page 16: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/16.jpg)
Example 2
•Routing•Code a “Routing service class”•Configure Function, Resource, Service and Basket
http://foo.bar/basic/route_hcc_walk.kml?
query={"start":"139.63276,35.458281",
"end":"139.622549,35.464727",
"crs": "EPSG:4326, EPSG:4326"}
![Page 17: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/17.jpg)
Example 2
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns=http://www.opengis.net/kml/2.2>
<Document>
<name>route.kml</name>
<description></description>
<Style id="lineStyle">
…
</Style>
<Placemark>
<name></name>
<description></description>
<styleUrl>#lineStyle</styleUrl>
<MultiGeometry>
<LineString id="5746010">
<tessellate>1</tessellate>
<altitudeMode>clampToGround</altitudeMode>
<coordinates>
139.63276,35.458281
…
139.632403,35.458005
</coordinates>
</LineString id=“5746007”>…</LineString>
…
<LineString id="5746008">…<LineString>
</MultiGeometry>
</Placemark>
</Document>
</kml>
*For the explanation, Some values and tags are omitted.
![Page 18: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/18.jpg)
DEMONSTRATION
![Page 19: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/19.jpg)
Demonstration
•Population of Kamakura City
•Service “Categorize”
Photo by chaojikazu
http://www.flickr.com/photos/chaojikazu/130794175
Tokyo
Yokohama
Kamakura
![Page 20: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/20.jpg)
1)Select a Service “Categorize”
2)Select a Data Resource and
Input Parameters
3)Select Outpout Format(behind the scroll in this shot)4)Display a Thematic Map
![Page 21: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/21.jpg)
Demonstration
•Finding Gas Stations along shortest-path.
•1)Route Calculation•2)Buffer Creation•3)Finding Gas Stations
Photo by PooWho
http://www.flickr.com/photos/poorinwon/2597034041/
![Page 22: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/22.jpg)
1. Route Calculation, Service “Route_Vehicle”
1)Select a Service and
Input Parameters
2)Display a Route
3)WKT Is Output Here for Next Step→
![Page 23: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/23.jpg)
2. Calculate a Buffer Polygon along the Route, “Buffer”
2)Display a Buffer
3)WKT Is Output Here for Next Step→
1)Select Service, Format
and Parameters
![Page 24: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/24.jpg)
3. Finding Gas Stations within a Buffer, “Within”
1)Select Service, Format
and Parameters
2)Display Gas Stations
![Page 25: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/25.jpg)
Statistical GIS Service of Yokohama City - GIStathttp://www.city.yokohama.jp/me/keiei/seisaku/gistat/
![Page 26: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/26.jpg)
Statistical GIS Service of Yokohama City - GIStat
Example - Distribution of the Elderly within a freehand Polygon
![Page 27: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/27.jpg)
MILESTONES
![Page 28: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/28.jpg)
Milestones
•As for Opensource Project•BSD style License•Pre-Release Version
•http://platform.postlbs.org/
•Release Plan•Ver1.0 Release -> October 2010
![Page 29: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/29.jpg)
Wrap-up
•PostLBS Platform•WebAPI Platform for Geospatial Visualization•Simple URL Structure•Code and Configure
•FAQ•Just Platform, No Providing Default Services?•Different from WPS?•Other Questions?
![Page 30: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!](https://reader035.vdocuments.net/reader035/viewer/2022081615/5fd253c1500c46019f0a2599/html5/thumbnails/30.jpg)
THANK YOU!
• Orkney, Inc.
• Jun Koike
• twitter: juninho725