vouillon / osm Goto Github PK
View Code? Open in Web Editor NEWExperiments with the OpenStreetMap database : map rendering, routing, ...
License: Other
Experiments with the OpenStreetMap database : map rendering, routing, ...
License: Other
I tried to launch osm like:
$ ./load ~/Downloads/ile-de-france-latest.osm.pbf
$ ./multipolygons && ./surfaces && ./linear && ./highway && ./contraction
$ ./display
[48020077 49276423 1393187 3576257] 48850000 2350000
218779 -5232859
Loading surfaces: 0.006
Loading lines: 0.010
Loading coastline: 0.000
Surfaces: 36 / lines: 12
Sorting surfaces (891 elements): 0.002
Sorting lines (90 elements): 0.000
Surfaces: 13667 nodes
Surfaces: 13667 nodes, 891 elements (100.00%)
Lines: 2322 nodes
Drawing surfaces: 0.069
Drawing lines: 0.045
Redraw: 0.133294
Loading surfaces: 0.007
Loading lines: 0.011
Loading coastline: 0.000
Surfaces: 68 / lines: 22
Sorting surfaces (1769 elements): 0.005
Sorting lines (159 elements): 0.000
Surfaces: 26193 nodes
Surfaces: 26193 nodes, 1769 elements (100.00%)
Lines: 4222 nodes
Drawing surfaces: 0.266
In callback for signal expose_event, uncaught exception: Invalid_argument("index out of bounds")
Raised by primitive operation at file "osm/line_smoothing.ml", line 119, characters 21-26
Called from file "osm/line_smoothing.ml", line 175, characters 2-32
Called from file "osm/display.ml", line 781, characters 18-44
Called from file "list.ml", line 73, characters 12-15
Called from file "osm/category.ml", line 265, characters 8-34
Called from file "osm/display.ml", line 765, characters 2-1023
Called from file "osm/category.ml", line 253, characters 16-68
Called from file "osm/display.ml", line 68, characters 15-18
Called from file "osm/display.ml", line 1904, characters 9-43
But I got this instead of the map. If I comment the line 119 and 120, the map is displayed, but it's really slow and the lines are not well displayed (not usable).
Fatal error: exception Sys_error("Operation not supported by device")
Raised by primitive operation at file "bigarray.ml", line 99, characters 4-47
Called from file "generic/task.ml", line 116, characters 6-87
Called from file "osm/parser.ml", line 454, characters 14-50
Called from file "osm/parser.ml", line 502, characters 2-19
We should follow the same algorithm as osm2pgsql to find multipolygons.
Highway areas are not displayed at some zoom levels.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.