Git Product home page Git Product logo

Comments (4)

nbkhwjm avatar nbkhwjm commented on September 22, 2024

i downgraded osm2pgsql to 1.7.0 with the same result.

postgres@pb5:/osm_1-7-0/osm2pgsql-1.7.0/build$ ./osm2pgsql -G -O flex -d gis --number-processes 40 -S /osml10n/openstreetmap-carto-hstore-only-l10n.lua /osm2/osm2pgsql/build/japan-latest.osm.pbf
2023-12-27 00:30:57  osm2pgsql version 1.7.0
2023-12-27 00:30:57  WARNING: --number-processes too large. Set to 32.
2023-12-27 00:30:57  Database version: 16.1 (Ubuntu 16.1-1.pgdg22.04+1)
2023-12-27 00:30:57  PostGIS version: 3.4
Processing: Node(246860k 219.4k/s) Way(0k 0.00k/s) Relation(0 0.0/s)free(): invalid size
Aborted (core dumped)

from osm2pgsql.

joto avatar joto commented on September 22, 2024

This looks like a problem with the PCRE Lua library. Almost certainly not due to osm2pgsql. I am closing this here, I suggest debugging that at giggls/osml10n#31. If it turns out it was due to osm2pgsql, reopen here or open a new issue.

from osm2pgsql.

giggls avatar giggls commented on September 22, 2024

Unfortunately I can not reproduce your issue on my development environment (Debian 12).

As @joto suspected this might be related to PCRE Lua library I just pushed a commit to master which gets rid of this library and uses native lua patterns instead. Please give it a try.

from osm2pgsql.

nbkhwjm avatar nbkhwjm commented on September 22, 2024

the change you made worked, i was able to complete the import successfully.

for anyone hitting this from a search the mentioned change is at this project --> https://github.com/giggls/osml10n

from osm2pgsql.

Related Issues (20)

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.