Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

Best way to store polygon geospatial data in postgreSQL?

$
0
0

I have to store longitude and latitude coordinates for several places in a PostgreSQL db table. Each row in this table has a field with a set of pairs {latitude1, longitude1, ….latitudeN, longitudeN} wich represent an enclosing polygon.

I stumbled upong PostGIS, and I’m wondering if it is necessary to use Polygon datatype for this particular field in my table, like depicted in this example

I’m asking because the only thing I’m gonna do with those polygons is drawing them afterwards in a Google Maps, I don’t really think I’m gonna do any reasoning on them (yet)…thus, would be PostGIS overkill for this? Besides all the time I have to spend in installing and learning PostGIS…

Any toughts?

Thanks!


Viewing all articles
Browse latest Browse all 1138

Latest Images

Trending Articles



Latest Images