[Gdal-dev] Multilinestrings with X,Y,Z, and M values in PostGIS

Ari Jolma ari.jolma at tkk.fi
Thu Jan 12 15:27:41 EST 2006


I put some shapefiles to PostGIS database with shp2pgsql. These 
shapefiles are 3D Multilinestrings with M values. When I try to read 
this data from the DB with OGR, it fails because it finds 4 values per 
point in the WKT, which is one too many, i.e. the WKT is for example 
"MULTILINESTRING((24.8848574304277 60.4469928011955 59.9400000000005 
0,24.8844676719297 60.4470157676103 60.5599999999995 
21.6100000000006,24.8840204135758 60.4470586829545 61.1800000000003 
46.69000000"...

Am I doing something wrong or what should I correct / or which software 
is to blame? Am I clear enough here?

Ari

-- 
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list