I am in need of around 10000 and odd Indian latitude and longitude values for my openlayers project. I have to load them in a postgis db. so a sql file or atleast text file would be better than a link.
PostGIS – Indian Latitude Longitude Values
datapostgis
Related Question
- [GIS] How to extract latitude/longitude values for specific points from a shapefile
- [GIS] Converting latitude longitude coordinate to x y coordinate
- [GIS] Is it possible to update only latitude or longitude in postgis
- [GIS] How to figure out the longitude and latitude coordinates necessary to create a circular 1 mile radius around one location
- [GIS] Choosing datatype for holding Latitude, Longitude and Altitude in PostGIS
- [GIS] transform longitude and latitude to postgis geometry failed: exceeded limits(-14)
Best Answer
This is a nice problem for OGR's python interface. This is my attempt, using world.shp. Here's my code snippet:
And here's how the result looks like:
Not the most efficient way of dealing with this, but nice to learn :)