[postgis-users] MultiPoint WKT change proposal

strk at refractions.net strk at refractions.net
Wed Apr 26 09:40:40 PDT 2006


I just committed in patches in both GEOS head and 2.2 branch
to accept "correct" format. I agree we should spread correct
reads as wide as possible first, and then switch to correct
writes. PostGIS and GEOS are reading fine now. Let's resync
in a week or two.

--strk;

On Wed, Apr 26, 2006 at 11:13:28AM -0400, Frank Warmerdam wrote:
> 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 ?
> 
> Strk,
> 
> 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
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-users mailing list