Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSMRelation only build mulipolygon #743

Open
ch0s1n opened this issue Aug 10, 2023 · 2 comments
Open

OSMRelation only build mulipolygon #743

ch0s1n opened this issue Aug 10, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ch0s1n
Copy link

ch0s1n commented Aug 10, 2023

hi,i am having some difficulty with using osm data.With reading code i found that the workflow only build mulipolygon geometry.Is there anything wrong with this? I think it is necessary to build all types of geometry data

@bchapuis
Copy link
Member

Hello, Thanks a lot for reporting this issue. I just checked the osm_ways and osm_relations table in postgis on a fresh import and I'm not able to reproduce the issue. I see geometries of type point, linestring, polygon, and multi-polygon. Could you provide some additional context? Thanks a lot.

@bchapuis bchapuis added the bug Something isn't working label Aug 14, 2023
@bchapuis bchapuis self-assigned this Aug 14, 2023
@ch0s1n
Copy link
Author

ch0s1n commented Aug 14, 2023

oh,thanks for replaying me.I tried the example data in the official website the data of liechtenstein-latest.osm.pbf.Then i checked the database.and in the osm_relations table,lots of data's geom is null.I didn't whether is it routine?
a data in osm_relations table is like:

INSERT INTO "public"."osm_relations" ("id", "version", "uid", "timestamp", "changeset", "tags", "member_refs", "member_types", "member_roles", "geom") VALUES (8497, 65, 0, '2023-01-26 02:14:09', 0, '{"to": "Basel", "ref": "2", "url": "https://www.schweizmobil.ch/de/veloland/routen/route-02.html", "from": "Andermatt", "name": "Rhein-Route", "type": "superroute", "route": "bicycle", "name:de": "Rhein-Route", "name:en": "Rhine Route", "name:fr": "Route du Rhin", "name:it": "Percorso del Reno", "name:nl": "Rijnroute", "network": "ncn", "distance": "430", "operator": "SchweizMobil", "wikidata": "Q1253779"}', '{149202,326881,102638,149204,117051,28068,30431,149220,10982167}', '{2,2,2,2,2,2,2,2,2}', '{"","","","","","","","",""}', NULL);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants