SlideShare una empresa de Scribd logo
1 de 33
Descargar para leer sin conexión
Using off-the-shelf free offline
utilities and templates
to extract and render
custom OSM maps
In promoting OSM
to the general public
We always equate OpenStreetMap
with the empowering word: freedom
The data you share to the community, you can
always take-a-share back, in whole or in part,
anytime, with practically no restriction.
A good portion of our efforts in promoting OSM
goes into teaching and encouraging people
to collect and contribute data to the community
We show wonderful examples...
to dream of the numerous possibilities
in the use of OSM free-access data.
We provide tools & techniques
to contribute
In our workshops, we teach
mappers various techniques
to collect geo-data,
to use the editing tools, and
to upload these data to OSM
Seeding and Nurturing
OSM Data
Every initial upload of valid data in an area
becomes some sort of a seed that will grow
and attract more people to plant more seeds
until they become a garden of geo-information
Eventually, some local individuals may show
interest and take care of that garden
for and in behalf of the community
Juan dela Cruz

http://andrewchen.tumblr.com/image/1205461293
Juan attends a workshop.
He has the tools to sow the seeds
and manage the garden.
He feels happy. He is excited.
Now, he is ready to harvest.
After downloading, Juan dela Cruz realized
he still needs additional hard-to-learn skills
just to make a simple but decent map
or a custom data extract
for his own purpose and consumption.
Disillusionment
Juan dela Cruz feels he is not
empowered enough
Yes we taught him how to plant seeds
and maintain the garden...
But we have yet to provide
appropriate tools and techniques
for him to properly harvest and process,
and enjoy the fruits of his labor
Enablers
Make the mapping-life of Juan easier
by initially providing ready-to-use
tools and templates
to make something useful
out of his harvests.
Simple tools that he can learn to
tweak and fix by himself,
and/or re-purpose later.
Keeping solutions simple
using free & off-the-shelf tools
They keep our expectations low,
'coz we don't know if they are going to work ;-)
Maybe these tools are just enough
to get many of our small jobs done.
Or maybe if we are creative enough,
that same tools can actually do much more.
My tools
A bunch of free, off-the-shelf, offline utilities to download, edit,
create and render a personalized OSM map
●

Maperitive-2.3.29.zip (6.1 mb)

●

Wget.exe (392 kb) http://www.gnu.org/software/wget/

●

Osmconvert.exe (279 kb) http://wiki.openstreetmap.org/wiki/Osmconvert

●

Osmfilter.exe (122 kb)

●

Gpsbabel.exe (1 mb)

●

JOSM (OSM editor with poly plug-in)

●

Notepad++ (text editor)

http://maperitive.net

http://wiki.openstreetmap.org/wiki/Osmfilter

http://www.gpsbabel.org/download.html
Maperitive
It is a free desktop application.
It can work offline. It can render in real time
You can define what gets on the map and how it is painted.
You can also export these maps into bitmaps and SVG
files and print them.
It's practically portable (download, unzip and run)
(required: Windows XP SP3 or later + .NET Framework v4.0 or Mono installation for Mac & Linux)

http://maperitive.net/
Maperitive
Sample Work Flow
DOWNLOAD SOURCE from GEOFABRIK
wget downloads “philippines-latest.osm.pbf” from
geofabrik (save to osm source folder)
●

osmconvert converts it to “philippines-latest.osm”

●
Create Bounding Polygon
using JOSM (with poly plug-in)
In JOSM, check for existing “admin. boundary”.
Grab it and Save-As poly format (save to
boundary folder)
●

If no “admin. boundary” exists, draw any
bounding polygon shape to approximately cover
the town. Save-As poly format (save to boundary
folder)
●
Extract target area using the
bounding polygon
create a batch file that executes the ff:
osmconvert -v (input_file.pbf) -B=(bound.poly)
-o=(output_file.osm)
●

where the input_file=philippines-latest.osm.pbf
Save output_file.osm to MY_MAPS folder inside
Maperitive
●

Take note from hereon: “creating a batch file” means just copying
and modifying any existing batch file/template that does the same.
Create Maperitive loading script
(mscript)
Go to folder MaperitiveScripts
●Follow any consistent file format for mscripts
eg. load_(provincial ISO code)_town.mscript
load_(Project Name)_(area_name).mscript
●

mscript loads your custom ruleset, then loads
your “town_map.osm” from MY_MAPS folder
●

Create a repository of batch file that auto-loads
maperitive+mscript
eg. MaperitiveL-O-A-D-M-A-P-S
●
Run the batch file. That's it!
Now you have an offline map
which you can update anytime.
Will you be annoyed if Juan ask you...?
“I want an OSM POI extract of all the Tricycle
Terminals in my town in CSV format which I can
easily import and manipulate in a spreadsheet.
And I also want the same POI extract to be in
KML format so I can view it in Google Earth.
Aaahh...can I ask another favor? Is it OK if I can
also have it in OSM (node-only) format, so I can
render them separately in Maperitive?” ;-)
Extracting and exporting POI's to
CSV, KML & OSM formats
Ensure you have your town boundary poly file.

●

There's a custom folder inside Maperitive
MY_POI_EXTRACTMY_SCRIPTS

●

Look for any batch file with the filename format
EXTRACT_(ISOcode)_(town)_(POIname).bat

●

Every EXTRACT batch file is paired with a
corresponding filter.txt
eg. filter_(POIname).txt
●
Extracting and exporting POI's to
CSV, KML & OSM formats
Use any existing pair of “batch file and filter”
inside MY_POI_EXTRACTMY_SCRIPTS as
your template.
●Edit both files accordingly (using Notepad++)
●Save. Run. Done.
●
For every “Juan dela Cruz” we empower,
they may become active and explore more,
go farther, think of possibilities,
join the army of mappers,
and ready to help others.
Pay it forward
Giving and providing
ENABLING TOOLS
to other lesser-skilled volunteers
can also be a way
of saying thank you
for taking care of our garden
:-)

Más contenido relacionado

Similar a Maperitive

Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...
Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...
Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...JISC GECO
 
Open sourcegis PPT
Open sourcegis PPTOpen sourcegis PPT
Open sourcegis PPTADITYA KUMAR
 
Mind Mapping Made Easy
Mind Mapping Made EasyMind Mapping Made Easy
Mind Mapping Made EasyLauren Atkins
 
FME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from BoundlessFME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from BoundlessSafe Software
 
Openstreetmap presentation of Mapping Party at FSMK camp
Openstreetmap presentation of Mapping Party at FSMK campOpenstreetmap presentation of Mapping Party at FSMK camp
Openstreetmap presentation of Mapping Party at FSMK campYogesh Ks
 
TextEditor - Designing open source apps
TextEditor - Designing open source appsTextEditor - Designing open source apps
TextEditor - Designing open source appsRichard L Caceres
 
Event Visualization with OpenStreetMap Data, Interdisciplinary Project
Event Visualization with OpenStreetMap Data, Interdisciplinary ProjectEvent Visualization with OpenStreetMap Data, Interdisciplinary Project
Event Visualization with OpenStreetMap Data, Interdisciplinary ProjectBibek Shrestha
 
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...Guillermo Amat
 
IC3 -- Configuration Management 101
IC3 -- Configuration Management 101IC3 -- Configuration Management 101
IC3 -- Configuration Management 101Gabriel Schuyler
 
Concept Maps Cain
Concept Maps CainConcept Maps Cain
Concept Maps CainGeoff Cain
 
Open street map final ppt
Open street map final pptOpen street map final ppt
Open street map final pptPrashant Menon
 
OpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsOpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsavarab
 
II-SDV 2015, 21 - 21 April, in Nice
II-SDV 2015, 21 - 21 April, in NiceII-SDV 2015, 21 - 21 April, in Nice
II-SDV 2015, 21 - 21 April, in NiceDr. Haxel Consult
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareJoanne Cook
 
open concept in GIS and open source software for GIS analysis
open concept in GIS and open source software for GIS analysisopen concept in GIS and open source software for GIS analysis
open concept in GIS and open source software for GIS analysisBinod Poudel
 

Similar a Maperitive (20)

Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...
Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...
Map Styling Tools and Interactive maps on the web with OpenLayers - Addy Pope...
 
Mapping Mashups - Using Mashup Editors
Mapping Mashups - Using Mashup EditorsMapping Mashups - Using Mashup Editors
Mapping Mashups - Using Mashup Editors
 
Open sourcegis PPT
Open sourcegis PPTOpen sourcegis PPT
Open sourcegis PPT
 
Mind Mapping Made Easy
Mind Mapping Made EasyMind Mapping Made Easy
Mind Mapping Made Easy
 
FME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from BoundlessFME UC 2014: Keynote from Boundless
FME UC 2014: Keynote from Boundless
 
Openstreetmap presentation of Mapping Party at FSMK camp
Openstreetmap presentation of Mapping Party at FSMK campOpenstreetmap presentation of Mapping Party at FSMK camp
Openstreetmap presentation of Mapping Party at FSMK camp
 
TextEditor - Designing open source apps
TextEditor - Designing open source appsTextEditor - Designing open source apps
TextEditor - Designing open source apps
 
Patch Maps
Patch MapsPatch Maps
Patch Maps
 
MVP OSM
MVP OSMMVP OSM
MVP OSM
 
Introduction to OSM
Introduction to OSMIntroduction to OSM
Introduction to OSM
 
Event Visualization with OpenStreetMap Data, Interdisciplinary Project
Event Visualization with OpenStreetMap Data, Interdisciplinary ProjectEvent Visualization with OpenStreetMap Data, Interdisciplinary Project
Event Visualization with OpenStreetMap Data, Interdisciplinary Project
 
Lecture OSSIM
Lecture OSSIM Lecture OSSIM
Lecture OSSIM
 
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...
Agile2014 fhc25 using open street maps data and tools for indoor mapping in a...
 
IC3 -- Configuration Management 101
IC3 -- Configuration Management 101IC3 -- Configuration Management 101
IC3 -- Configuration Management 101
 
Concept Maps Cain
Concept Maps CainConcept Maps Cain
Concept Maps Cain
 
Open street map final ppt
Open street map final pptOpen street map final ppt
Open street map final ppt
 
OpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsOpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projects
 
II-SDV 2015, 21 - 21 April, in Nice
II-SDV 2015, 21 - 21 April, in NiceII-SDV 2015, 21 - 21 April, in Nice
II-SDV 2015, 21 - 21 April, in Nice
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
 
open concept in GIS and open source software for GIS analysis
open concept in GIS and open source software for GIS analysisopen concept in GIS and open source software for GIS analysis
open concept in GIS and open source software for GIS analysis
 

Más de esambale

Open data initiatives
Open data initiativesOpen data initiatives
Open data initiativesesambale
 
Contributing to OpenStreetMap (OSMPH)
Contributing to OpenStreetMap (OSMPH)Contributing to OpenStreetMap (OSMPH)
Contributing to OpenStreetMap (OSMPH)esambale
 
About osmph
About osmphAbout osmph
About osmphesambale
 
Geoladies 20140609
Geoladies 20140609Geoladies 20140609
Geoladies 20140609esambale
 
DepEd's Schools Mapping Initiative
DepEd's Schools Mapping InitiativeDepEd's Schools Mapping Initiative
DepEd's Schools Mapping Initiativeesambale
 
State of OpenStreetMap Indonesia
State of OpenStreetMap IndonesiaState of OpenStreetMap Indonesia
State of OpenStreetMap Indonesiaesambale
 
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia esambale
 
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...Participatory mapping and LGU decision support tools for Disaster Risk Reduct...
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...esambale
 
InaSAFE Development in the Philippines
InaSAFE Development in the Philippines InaSAFE Development in the Philippines
InaSAFE Development in the Philippines esambale
 
OpenStreetMap QA tools
OpenStreetMap QA toolsOpenStreetMap QA tools
OpenStreetMap QA toolsesambale
 
My GPS Stories
My GPS StoriesMy GPS Stories
My GPS Storiesesambale
 
OSM-Philippines and the Yolanda Crisis Mapping Response
OSM-Philippines and the Yolanda Crisis Mapping ResponseOSM-Philippines and the Yolanda Crisis Mapping Response
OSM-Philippines and the Yolanda Crisis Mapping Responseesambale
 
Free GEO Culture and OpenStreetMap
Free GEO Culture and OpenStreetMapFree GEO Culture and OpenStreetMap
Free GEO Culture and OpenStreetMapesambale
 
Philippine Geospatial Forum Presentation 20130311
Philippine Geospatial Forum Presentation 20130311Philippine Geospatial Forum Presentation 20130311
Philippine Geospatial Forum Presentation 20130311esambale
 
OSM SFD2012
OSM SFD2012OSM SFD2012
OSM SFD2012esambale
 
FOSS4G 2011 Osaka
FOSS4G 2011 OsakaFOSS4G 2011 Osaka
FOSS4G 2011 Osakaesambale
 
foss4g 2011 tokyo
foss4g 2011 tokyofoss4g 2011 tokyo
foss4g 2011 tokyoesambale
 
Ph lightning sotm2011
Ph lightning sotm2011Ph lightning sotm2011
Ph lightning sotm2011esambale
 
Osm For Sage 20100220
Osm For Sage 20100220Osm For Sage 20100220
Osm For Sage 20100220esambale
 
OSM Philippines presentation
OSM Philippines presentationOSM Philippines presentation
OSM Philippines presentationesambale
 

Más de esambale (20)

Open data initiatives
Open data initiativesOpen data initiatives
Open data initiatives
 
Contributing to OpenStreetMap (OSMPH)
Contributing to OpenStreetMap (OSMPH)Contributing to OpenStreetMap (OSMPH)
Contributing to OpenStreetMap (OSMPH)
 
About osmph
About osmphAbout osmph
About osmph
 
Geoladies 20140609
Geoladies 20140609Geoladies 20140609
Geoladies 20140609
 
DepEd's Schools Mapping Initiative
DepEd's Schools Mapping InitiativeDepEd's Schools Mapping Initiative
DepEd's Schools Mapping Initiative
 
State of OpenStreetMap Indonesia
State of OpenStreetMap IndonesiaState of OpenStreetMap Indonesia
State of OpenStreetMap Indonesia
 
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia
Using OSM, QGIS, and InaSAFE for Contingency Plan in Indonesia
 
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...Participatory mapping and LGU decision support tools for Disaster Risk Reduct...
Participatory mapping and LGU decision support tools for Disaster Risk Reduct...
 
InaSAFE Development in the Philippines
InaSAFE Development in the Philippines InaSAFE Development in the Philippines
InaSAFE Development in the Philippines
 
OpenStreetMap QA tools
OpenStreetMap QA toolsOpenStreetMap QA tools
OpenStreetMap QA tools
 
My GPS Stories
My GPS StoriesMy GPS Stories
My GPS Stories
 
OSM-Philippines and the Yolanda Crisis Mapping Response
OSM-Philippines and the Yolanda Crisis Mapping ResponseOSM-Philippines and the Yolanda Crisis Mapping Response
OSM-Philippines and the Yolanda Crisis Mapping Response
 
Free GEO Culture and OpenStreetMap
Free GEO Culture and OpenStreetMapFree GEO Culture and OpenStreetMap
Free GEO Culture and OpenStreetMap
 
Philippine Geospatial Forum Presentation 20130311
Philippine Geospatial Forum Presentation 20130311Philippine Geospatial Forum Presentation 20130311
Philippine Geospatial Forum Presentation 20130311
 
OSM SFD2012
OSM SFD2012OSM SFD2012
OSM SFD2012
 
FOSS4G 2011 Osaka
FOSS4G 2011 OsakaFOSS4G 2011 Osaka
FOSS4G 2011 Osaka
 
foss4g 2011 tokyo
foss4g 2011 tokyofoss4g 2011 tokyo
foss4g 2011 tokyo
 
Ph lightning sotm2011
Ph lightning sotm2011Ph lightning sotm2011
Ph lightning sotm2011
 
Osm For Sage 20100220
Osm For Sage 20100220Osm For Sage 20100220
Osm For Sage 20100220
 
OSM Philippines presentation
OSM Philippines presentationOSM Philippines presentation
OSM Philippines presentation
 

Último

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 

Último (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 

Maperitive

  • 1. Using off-the-shelf free offline utilities and templates to extract and render custom OSM maps
  • 2. In promoting OSM to the general public We always equate OpenStreetMap with the empowering word: freedom The data you share to the community, you can always take-a-share back, in whole or in part, anytime, with practically no restriction.
  • 3. A good portion of our efforts in promoting OSM goes into teaching and encouraging people to collect and contribute data to the community
  • 4. We show wonderful examples... to dream of the numerous possibilities in the use of OSM free-access data.
  • 5. We provide tools & techniques to contribute In our workshops, we teach mappers various techniques to collect geo-data, to use the editing tools, and to upload these data to OSM
  • 6. Seeding and Nurturing OSM Data Every initial upload of valid data in an area becomes some sort of a seed that will grow and attract more people to plant more seeds until they become a garden of geo-information Eventually, some local individuals may show interest and take care of that garden for and in behalf of the community
  • 8. Juan attends a workshop. He has the tools to sow the seeds and manage the garden. He feels happy. He is excited. Now, he is ready to harvest.
  • 9. After downloading, Juan dela Cruz realized he still needs additional hard-to-learn skills just to make a simple but decent map or a custom data extract for his own purpose and consumption.
  • 11. Juan dela Cruz feels he is not empowered enough Yes we taught him how to plant seeds and maintain the garden... But we have yet to provide appropriate tools and techniques for him to properly harvest and process, and enjoy the fruits of his labor
  • 12. Enablers Make the mapping-life of Juan easier by initially providing ready-to-use tools and templates to make something useful out of his harvests. Simple tools that he can learn to tweak and fix by himself, and/or re-purpose later.
  • 13. Keeping solutions simple using free & off-the-shelf tools They keep our expectations low, 'coz we don't know if they are going to work ;-) Maybe these tools are just enough to get many of our small jobs done. Or maybe if we are creative enough, that same tools can actually do much more.
  • 14.
  • 15.
  • 16.
  • 17. My tools A bunch of free, off-the-shelf, offline utilities to download, edit, create and render a personalized OSM map ● Maperitive-2.3.29.zip (6.1 mb) ● Wget.exe (392 kb) http://www.gnu.org/software/wget/ ● Osmconvert.exe (279 kb) http://wiki.openstreetmap.org/wiki/Osmconvert ● Osmfilter.exe (122 kb) ● Gpsbabel.exe (1 mb) ● JOSM (OSM editor with poly plug-in) ● Notepad++ (text editor) http://maperitive.net http://wiki.openstreetmap.org/wiki/Osmfilter http://www.gpsbabel.org/download.html
  • 18. Maperitive It is a free desktop application. It can work offline. It can render in real time You can define what gets on the map and how it is painted. You can also export these maps into bitmaps and SVG files and print them. It's practically portable (download, unzip and run) (required: Windows XP SP3 or later + .NET Framework v4.0 or Mono installation for Mac & Linux) http://maperitive.net/
  • 20.
  • 21.
  • 22. Sample Work Flow DOWNLOAD SOURCE from GEOFABRIK wget downloads “philippines-latest.osm.pbf” from geofabrik (save to osm source folder) ● osmconvert converts it to “philippines-latest.osm” ●
  • 23. Create Bounding Polygon using JOSM (with poly plug-in) In JOSM, check for existing “admin. boundary”. Grab it and Save-As poly format (save to boundary folder) ● If no “admin. boundary” exists, draw any bounding polygon shape to approximately cover the town. Save-As poly format (save to boundary folder) ●
  • 24. Extract target area using the bounding polygon create a batch file that executes the ff: osmconvert -v (input_file.pbf) -B=(bound.poly) -o=(output_file.osm) ● where the input_file=philippines-latest.osm.pbf Save output_file.osm to MY_MAPS folder inside Maperitive ● Take note from hereon: “creating a batch file” means just copying and modifying any existing batch file/template that does the same.
  • 25. Create Maperitive loading script (mscript) Go to folder MaperitiveScripts ●Follow any consistent file format for mscripts eg. load_(provincial ISO code)_town.mscript load_(Project Name)_(area_name).mscript ● mscript loads your custom ruleset, then loads your “town_map.osm” from MY_MAPS folder ● Create a repository of batch file that auto-loads maperitive+mscript eg. MaperitiveL-O-A-D-M-A-P-S ●
  • 26. Run the batch file. That's it! Now you have an offline map which you can update anytime.
  • 27.
  • 28. Will you be annoyed if Juan ask you...? “I want an OSM POI extract of all the Tricycle Terminals in my town in CSV format which I can easily import and manipulate in a spreadsheet. And I also want the same POI extract to be in KML format so I can view it in Google Earth. Aaahh...can I ask another favor? Is it OK if I can also have it in OSM (node-only) format, so I can render them separately in Maperitive?” ;-)
  • 29. Extracting and exporting POI's to CSV, KML & OSM formats Ensure you have your town boundary poly file. ● There's a custom folder inside Maperitive MY_POI_EXTRACTMY_SCRIPTS ● Look for any batch file with the filename format EXTRACT_(ISOcode)_(town)_(POIname).bat ● Every EXTRACT batch file is paired with a corresponding filter.txt eg. filter_(POIname).txt ●
  • 30.
  • 31. Extracting and exporting POI's to CSV, KML & OSM formats Use any existing pair of “batch file and filter” inside MY_POI_EXTRACTMY_SCRIPTS as your template. ●Edit both files accordingly (using Notepad++) ●Save. Run. Done. ●
  • 32. For every “Juan dela Cruz” we empower, they may become active and explore more, go farther, think of possibilities, join the army of mappers, and ready to help others.
  • 33. Pay it forward Giving and providing ENABLING TOOLS to other lesser-skilled volunteers can also be a way of saying thank you for taking care of our garden :-)