Comments (5)
Great, I have now been able to reproduce the error. It looks like st_simplifypreservetopology
is causing this issue. A quick workaround was to replace these calls with st_simplify
, but I will try to find for a better alternative.
from incubator-baremaps.
Is a specific PostGIS version required?
Edit: Running it again, crashes again.
Probably an issue with the data that is not handled gracefully.
from incubator-baremaps.
@louwers Thanks a lot for reporting this, I'm currently not able to reproduce the issue. I tried several files from geofabrick without getting this exception.
I currently use the following docker image for postgis on the mac (kartoza/postgis:15-3.3
). Could you provide some information about your postgis setup?
from incubator-baremaps.
I'm using PostgreSQL 16 with PostGIS 3.4. I'm using https://postgresapp.com/ on macOS, you might want to try that (no Docker overhead).
It happens for the Switzerland data as well as the the Netherlands data (did not try other downloads).
from incubator-baremaps.
The problem seems related to the version of geos used in PostgresApp (3.12.1) and specific to the use of st_simplifypreservetopology
.
The kartoza/postgis:16-3.4
docker image uses an older version of geos (3.11.1-CAPI-1.17.1). I will try to compile PostgressApp with geos 3.11.1 to confirm this. Only a few people seems to have encountered this problem yet, but I guess that it will become pervasive as people start building against the latest version of geos.
from incubator-baremaps.
Related Issues (20)
- Improve exception handling and logging in baremaps HOT 1
- How to fetch env variables in style.js/tileset.js HOT 2
- Set number of event loop threads HOT 6
- Basic read OSM PBF Node/Way elements into an Lucene index.
- Include the version number in the license of the binary distribution
- Filter the OSM entities by bounding box and tags when importing data HOT 1
- Questions about source release artifact HOT 2
- java.nio.file.FileAlreadyExistsException on file unzip HOT 6
- [Cache] Question HOT 1
- SQL Join Erreur HOT 5
- Replace the osm files by osm-testdata HOT 1
- Create tiles with data from multiple databases HOT 1
- Add the ability to serve multiple tilesets with a single process
- workflow.json in osm example is not working HOT 3
- Add support for Overturemap parquet files HOT 8
- Improve LICENSE and NOTICE files
- workflow.json missing in basemap directory HOT 2
- The `ProjectionTransformer` assumes that all the geometry columns have the same CRS
- Jammer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-baremaps.