[postgis-users] MultiPoint WKT change proposal

Frank Warmerdam warmerdam at pobox.com
Wed Apr 26 08:13:28 PDT 2006

Darryl Watson wrote:
> It will break my app in a couple places, but it is an easy fix at 
> upgrade time, for us.  Conformance to the spec is desirable, so I vote 
> for correction of the output.
> strk at refractions.net wrote:
>> It seems we got wrong the proper WKT format for MultiPoint
>> (due to errors in the specifications)
>> For details:
>> http://lists.jump-project.org/pipermail/jts-devel/2006-April/001572.html
>> http://lists.jump-project.org/pipermail/jts-devel/2006-April/001576.html
>> PostGIS accepts both forms, but provides the wrong one in output:
>>  Accept: MULTIPOINT(0 0, 0 1);
>>  Accept: MULTIPOINT((0 0), (0 1));
>> Provide: MULTIPOINT(0 0, 0 1);
>> I think we should "correct" that output, even if this will mean
>> some pain for existing client applications expecting the "wrong"
>> one. What do you think ?


I concur.  I will also press to ensure OGR supports reading both forms
before the GDAL 1.3.2 final release due within a few days.

You *should* highlight this change clearly in release notes, and
*possibly* hold it for a significant postgis release (1.2.0?)

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org

More information about the postgis-users mailing list