Ceci est une ancienne révision du document !
Table des matières
Impression 3D
openstreet map 3D
OSM2World
https://wiki.openstreetmap.org/wiki/OSM2World
état actuel (15/03/2019) sous ubuntu 16.04 OSM2World se lance et permet de visualiser valbonne en 3D
export depuis openstreetmap
l'import du format obj wavefront est supporté par blender
OSM2World$ mvn package
OSM2World$ java -jar target/osm2world-0.3.0-SNAPSHOT.jar –help The options available are:
[--config value] : properties file with configuration parameters
[--gui] : start the graphical user interface
[--help -?] : show this help
[--input -i value] : the .osm input file
[--input_bbox /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/...] : lat,lon pairs defining an input bounding box (does not work with files)
[--input_mode /FILE|OVERPASS/] : input mode
[--input_query value] : overpass query string
[--output -o /(.*)\.(?:obj|pov|o2w.pbf|png|ppm|gd)/...] : output files
[--overpass_url value] : overpass instance to use
[--oview.angle value] : downwards angle of orthographic view in degrees
[--oview.bbox /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/...] : lat,lon pairs defining a bounding box for orthographic view
[--oview.from /[NESW]/] : direction from which the orthographic view is rendered
[--oview.tiles /([0-9]{1,2}),([0-9]{1,9}),([0-9]{1,9})/...] : zoom,x,y triples of tiles defining a bounding box for orthographic view
[--parameterFile value] : a file containing one set of parameters per line
[--parameterFileDir value] : a directory containing parameter files; new files may be added while OSM2World is running
[--performancePrint] : writes execution times to the command line
[--performanceTable value] : appends a line with execution times to a file
[--pview.aspect value] : aspect ratio (width / height) for perspective view
[--pview.fovy value] : vertical field of view angle for perspective view, in degrees
[--pview.lookAt /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/] : lat,lon,ele of camera look-at for perspective view
[--pview.pos /([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?),([+-−]?\d+(?:\.\d+)?)/] : lat,lon,ele of camera position for perspective view
[--resolution /([0-9]{1,9}),([0-9]{1,9})/] : output size in pixels
[--version] : print software version and exit
OSM2World$ java -jar target/osm2world-0.3.0-SNAPSHOT.jar –version OSM2World 0.3.0-dev
Jeu
Nouveau projet avec godot-engine qui est un moteur de jeux et les cartes openstreetmap
étude par philippe lhardy
Extension (AddOn) pour l'intégration de cartes openstreet map : https://github.com/RodZill4/godot-openstreetmap
En mode recherche je me cherche comment intégrer l'extension dans godot.
la licence d'utilisation est très permissive : MIT License Copyright © 2017 Rodolphe Suescun
On fait un tour du côté de la communauté ? https://godotdevelopers.org/forum
Plugin vs module
http://docs.godotengine.org/en/stable/tutorials/plugins/editor/making_plugins.html
il semble que cet addon soit un plugin donc ne nécessite pas une recompilation.
utilisation de importer et modifier directement sur le projet godot-openstreetmap project.godot
Jeux
minetest
flightgear : http://wiki.flightgear.org/Osm2city.py
