I have a database table with a `geometry(POINT, 4326)` column.
I need to decode its canonical text representation in the form of
010120E6108B20297D7CBF5440B2A19BFD81834B40
into its components 82.9919732, 55.0274045 *without* calling PostGIS
functions like `st_x` and `st_y` (this is a
On 07/01/2014 02:30 PM, Dmitry Dzhus wrote:
I have a database table with a `geometry(POINT, 4326)` column.
I need to decode its canonical text representation in the form of
010120E6108B20297D7CBF5440B2A19BFD81834B40
into its components 82.9919732, 55.0274045 *without* calling PostGIS
Or shapely, still in python.
You can also use Geos I guess, in C.
You can also go the command line way with ogr2ogr and gdal
(there are python and R binding).
I'm pretty sure you can find also web oriented parser.
Cheers,
Rémi-C
2014-07-01 14:38 GMT+02:00 Martijn Meijers