Git Product home page Git Product logo

osm's People

Contributors

kit-ty-kate avatar vouillon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

osm's Issues

Index out of bound when trying to display a map

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).

map_file /dev/zero on OSX

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.