[postgis-tickets] [PostGIS] #2372: KML with space around ordinate values considered invalid
PostGIS
trac at osgeo.org
Sun Jun 30 12:41:55 PDT 2013
#2372: KML with space around ordinate values considered invalid
----------------------+-----------------------------------------------------
Reporter: strk | Owner: strk
Type: defect | Status: reopened
Priority: high | Milestone: PostGIS 1.5.9
Component: postgis | Version: 1.5.X
Resolution: | Keywords: history, kml
----------------------+-----------------------------------------------------
Comment(by colivier):
But how could 'Junk KML I' be a valid KML 2.2 3D Linestring ?
It just broke the spec.
I could hear that from your point of view you it's a progress to allow
some invalid data to also be parsed.
But from my point of view it's a regress, because we loose the validation
information.
Adding a ST_MakeValidKML seems clearly overkill,
but an extra parameter to ST_GeomFromKML allowing the end user to switch
from one behaviour to an another could make sense
at the very minimum printing a NOTICE each time we met an invalid data.
For Junk KML II, it's was just a sample,
there's possibly some other use case quite similar
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2372#comment:16>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list