Comments (5)
Yes, this is a long standing bug in the diff import code. It has been reported as https://trac.openstreetmap.org/ticket/4525
There also exists a patch to fix it, but so far it has never been committed, as the impact of it wasn't clear or if there is a better way.
However, as no one has done such an assessment or come up with a better way in the last 10 month, I will likely just go ahead and commit it soon and we will just have to live with the consequences to performance it entails.
from osm2pgsql.
I doubt it will have a big consequences on performances. Deleting relations is not something that happens so much.
from osm2pgsql.
Well, I have now committed the patch, which I believe should fix this.
If anyone does notice a significant drop in performance (or other issues), please report.
from osm2pgsql.
On 08/29/2013 12:09 PM, cquest wrote:
We've deployed this patch on a test server (layers.openstreetmap.fr)
but my first tests show that it does not fix the issue... :(Do you have an example of where it doesn't work? It did fix the examples
I was aware of and I included in the test suite.—
Reply to this email directly or view it on GitHub
#67 (comment).
from osm2pgsql.
I posted my comment a bit too quickly... i was just too impatient. The patch seems ok, sorry.
I'm just wondering now how to recover the lost polygons...
from osm2pgsql.
Related Issues (20)
- Chunky rivers when generalizing water areas HOT 2
- Question: could not extend file "base/361191441/368615606.137": No space left on device
- osm2pgsql should not perform analyze by itself HOT 15
- `object:as_multipolygon()` does not take `object.members` into account. HOT 2
- Some research on middle performance HOT 4
- highway=rest_area treatet as line HOT 2
- free(): invalid size Aborted Core dumped HOT 4
- North America import fails HOT 1
- nlohmann-json is missing from the Alpine build dependencies command
- Error in reprocessing of ways in relation, if osmc_symbols-tag of the relation contains the word 'backslash' HOT 6
- Deprecating -i,--tablespace-index? HOT 5
- Out of bounds tile coordinates produced HOT 3
- as_linestring() and likely other geometry transform functions can only be called from the process_way() function, not custom functions. HOT 5
- When Planet osm data import, way showing 0 and not started HOT 6
- osm2pgsql using too much memory for expire lists HOT 14
- Windows CI broken HOT 2
- cmake on ubuntu 22.04-lts requires libboost-dev, libboost-system-dev, libboost-filesystem-dev to be installed HOT 2
- Replication breakage
- Run update in transaction
- osm2pgsql-replication returns code 0 when output says "Error during diff download" HOT 3
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 osm2pgsql.