HanwGeek
HanwGeek

Reputation: 83

Shapefile import error: `Warning: Invalid latitude 116.45`

I use netconvert to import a shapefile like this:

netconvert --shapefile-prefix ./data/clip \
    --shapefile.street-id id \
    --shapefile.from-id SOURCE \
    --shapefile.to-id TARGET \
    --shapefile.use-defaults-on-failure

But it tells me that:

Warning: Invalid latitude 116.45
Warning: Invalid latitude 116.45
Warning: Invalid latitude 116.45
...

However, the shapefile shows correctly in QGIS and GeoPandas. It seems that the netconvert mixed the longtitude and the latitude. What can I do to modify the field of data?

Upvotes: 0

Views: 88

Answers (1)

HanwGeek
HanwGeek

Reputation: 83

use option --shapefile.traditional-axis-mapping

Upvotes: 1

Related Questions