In QGIS do I have a EPSG:4326 shapefile that shows the coordinates "-7148300 -3688500" and I need them in the format -64º -31º for further processing in a geodjango app.
However using ogrinfo I get this information from the shapefile:
Feature Count: 22 Extent: (-64.279736, -31.509785) - (-64.092643, -31.332019) Layer SRS WKT: GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_84",6378137,298.257223563]], PRIMEM["Greenwich",0], UNIT["Degree",0.017453292519943295]] id: Integer (10.0)
How can I convert the values?
I found useful both solutions:
Getting the coordinates of a given feature id, within Geodjango shell, so I have a reference and work from there using a custom conversion function.
Know the mathematical equivalence between the two pairs of coordinates.