Comments (6)
Is the geometry missing in all waterareas tables or only the _genX.
Do you have an OSM ID of the geometry?
from imposm3.
Okay, here we are :-)
SELECT "id","osm_id","name","type","area","geometry" FROM "public"."osm_waterareas" WHERE "name" LIKE 'Plattensee'
310438 => 26735206
3995998 => 168361423
SELECT "osm_id","geometry","name","type","area" FROM "public"."osm_waterareas_gen1" WHERE "name" LIKE 'Plattensee'
26735206
168361423
Data in gen0 not found (too small).
from imposm3.
On 03.02.2014, at 13:05, tds4u wrote:
Okay, here we are :-)
SELECT "id","osm_id","name","type","area","geometry" FROM "public"."osm_waterareas" WHERE "name" LIKE 'Plattensee'
310438 => 26735206
3995998 => 168361423
And these are the geometries that are not rendered?
You can check the IDs on OSM: http://www.openstreetmap.org/way/12345 or http://www.openstreetmap.org/relation/12345
Can you check if the geometries make sense (ST_IsValid, ST_IsSimple, ST_Area)?
from imposm3.
Ah, sorry, searched wrong name (Plattensee instead of Balaton). Right
ist http://www.openstreetmap.org/relation/1638031 = reservoir. But still
not displayed.
=> Should be correct
SELECT "id","osm_id","name","type","area","geometry",
ST_AsText(geometry) FROM "public"."osm_waterareas" WHERE "name" = 'Balaton'
=> Polygon from WMS BoundingBox => no visible Balaton as name
SELECT "osm_id","name","type","area","geometry" FROM
"public"."osm_waterareas_gen1"
WHERE ST_Intersects(ST_GeomFromText('POLYGON((
1956787.9268898 5948635.2920548,
1956787.9268898 5909499.5335728,
1995923.6853718 5909499.5335728,
1956787.9268898 5909499.5335728,
1956787.9268898 5948635.2920548
))', '3857'), geometry)
ORDER BY name
Is there a mistake or why no correct results returned? Small basins
inside are there but not the big one.
MfG M. Martin
Am 04.02.2014 10:27, schrieb Oliver Tonnhofer:
On 03.02.2014, at 13:05, tds4u wrote:
Okay, here we are :-)
SELECT "id","osm_id","name","type","area","geometry" FROM
"public"."osm_waterareas" WHERE "name" LIKE 'Plattensee'310438 => 26735206
3995998 => 168361423And these are the geometries that are not rendered?
You can check the IDs on OSM: http://www.openstreetmap.org/way/12345
or http://www.openstreetmap.org/relation/12345Can you check if the geometries make sense (ST_IsValid, ST_IsSimple,
ST_Area)?—
Reply to this email directly or view it on GitHub
#18 (comment).
from imposm3.
Ok, the relation is broken. See:
http://analyser.openstreetmap.fr/cgi-bin/index.py?relation=1638031
The end node 2607089288 of way http://www.openstreetmap.org/way/232147389 is not connected.
Not sure what magic osm2pgsql does do get a geometry out of that.
from imposm3.
Have to say that the same problem is on other geometries, too. Like natural polygons (forrest, etc.). Fix should be important.
from imposm3.
Related Issues (20)
- On Generalized table : error Geometry type (MultiPolygon) does not match column type (Polygon) HOT 2
- Hangs on startup on arm64 Mac HOT 1
- Dockerfile example HOT 2
- Country border The Netherlands not loaded HOT 3
- Coordinates in Imposm dataset does not match those in original data HOT 5
- support for optional jsonb_tags instead of hstore HOT 2
- support for optional jsonb_tags instead of hstore
- support for optional jsonb_tags instead of hstore
- How to append data to PostgreSQL?
- Adding specific `AND` filters on tags HOT 1
- Writting osm data to postgresql sometimes get error HOT 1
- Question - adding static data
- Error while reading osm.pbf to cache in ubuntu 20.04 in WSL HOT 1
- Undesired behaviour when SQL error is experienced updating generalized tables HOT 1
- Error message when importing diff HOT 3
- hstore_tags include by mask HOT 2
- Does this module support cross compiling?
- Bug: PG 15 - pq: current transaction is aborted, commands ignored until end of transaction block HOT 12
- other_tags in JSON?
- Cannot generate expire tiles list when using undocumented option IMPOSM3_SINGLE_DIFF
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 imposm3.