[postgis-devel] WKT form(s) of MULTIPOINT

Even Rouault even.rouault at mines-paris.org
Wed Dec 4 08:59:35 PST 2013


Le mercredi 04 décembre 2013 17:38:37, Mateusz Loskot a écrit :
> On 4 December 2013 16:02, Even Rouault <even.rouault at mines-paris.org> wrote:
> > Le mercredi 04 décembre 2013 16:54:58, Mateusz Loskot a écrit :
> >> Thanks for digging this out Paul.
> >> 
> >> "Everyone follows the example!" is actually the answer
> >> I was looking for on ":)
> > 
> > For the record OGR can import WKT in both forms ( actually support for
> > the the "bracketted form", i.e., MULTIPOINT((0 0),(1 2)) was added in
> > GDAL 1.1.8), but exports the "MULTIPOINT(0 0,1 2)" form
> 
> Why not to export the correct form? Backward compat.?

Yes, and I don't remind anybody really complaining about that. If needed, we 
could add exportToSQLMMWKT() methods. That would also be helpful to export Z 
geometries correctly: OGR currently imports both POINT (0 1 2) and POINT Z (0 
1 2), but exports POINT (0 1 2).

> 
> Best regards,

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html



More information about the postgis-devel mailing list