0.0.17 • Published 9 years ago

osm2x3d v0.0.17

Weekly downloads
3
License
LGPL-3.0
Repository
-
Last release
9 years ago

Intro

This module aims to convert Open Street Map XML data to 3D scene.
Available output data formats:

  • GeoJSON
  • X3D

Library

The project is divided into several tools:

  • OsmToGeoJSon: convert XML OSM data to extended GeoJSON data
  • GeoJsonToJsonX3d: convert extended GeoJSON data to JSON X3D data
                  __________________
                 |                  |
   XML OSM   --->| JsonOsmToGeoJSon | ---> GeoJSON
                 |__________________|
                  __________________
                 |                  |
   GeoJSON   --->| GeoJsonToJsonX3d | ---> JSON X3D
                 |__________________|

Installation

$ npm install

Web server

To start the web server:

$ web_server.sh

Test

Requests:

$ wget "localhost:8081/3dtile?format=x3djson&xtile=77196&ytile=98527&zoom=18" -O x3djson.json
$ wget "localhost:8081/3dtile?format=geojson&xtile=154394&ytile=197054&zoom=19" -O ESB19_geojson.json

Automated tests

$ test/osm2x3dTester.sh

Unit Tests

$ test/unit/OsmToGeoJsonMocha.js
$ test/unit/GeoJsonToX3dJsonMocha.js
0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago