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

shapefile download wrong geometries #135

Open
giohappy opened this issue Apr 26, 2018 · 2 comments
Open

shapefile download wrong geometries #135

giohappy opened this issue Apr 26, 2018 · 2 comments

Comments

@giohappy
Copy link
Contributor

giohappy commented Apr 26, 2018

ESRI Shapefile downloads produce wrong geomtries. The following is the ogrinfo output for ex1_buildings_52. Extent is wrong.

Layer name: ex1_buildings_52
Metadata:
  DBF_DATE_LAST_UPDATE=1918-04-26
Geometry: Point
Feature Count: 108662
Extent: (29.678300, -11.609400) - (40.378300, -1.009400)
Layer SRS WKT:
GEOGCS["WGS 84",
    DATUM["World Geodetic System 1984",
        SPHEROID["WGS 84",6378137.0,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0.0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.017453292519943295],
    AXIS["Geodetic longitude",EAST],
    AXIS["Geodetic latitude",NORTH],
    AUTHORITY["EPSG","4326"]]

GFDRR/hev-e#7

@ricardogsilva
Copy link
Contributor

ricardogsilva commented Apr 26, 2018

@giohappy what exactly is wrong with them?

I think I'm missing the point, as this ogrinfo output seems fine to me. I can also load the shapefile in QGIS without problem.

@giohappy
Copy link
Contributor Author

@ricardogsilva sorry wrong example. The problem is with osm_test_ph_buildings_65, probably because the underlying geom is polygon.

@ricardogsilva ricardogsilva removed their assignment Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants