+ All Categories
Home > Documents > FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for...

FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for...

Date post: 23-Aug-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
30
PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More! Jun Koike Toru Mori Orkney, Inc.
Transcript
Page 1: FOSS4G2010 POSTLBS 12010.foss4g.org/presentations/3574.pdf · PostLBS Universal WebAPI Platform for Visualizing Geospatial Analysis - Routing, Geocoding, Thematic mapping and More!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

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!

THANK YOU!

• Orkney, Inc.

[email protected]

• Jun Koike

[email protected]

• twitter: juninho725


Recommended