[Featureserver] Assorted problems

Peter Robins fs at peterrobins.co.uk
Sat Apr 25 07:19:06 EDT 2009


On Friday 27 Mar 2009, Christopher Schmidt wrote:
> On Fri, Mar 27, 2009 at 09:31:09AM +0000, Peter Robins wrote:
> > 1. trying to load kml data with whitespace, such as
> >     <LineString>
> >       <coordinates>
> >         -1.619196,42.963177,0.000000
> >         -1.617908,42.961761,0.000000
> >         -1.616836,42.960506,0.000000 . . .
> > -> Unable to determine bounding box for feature with geometry
> > {'type': 'Line', 'coordinates': [[u'-1.619196', u'42.963177',
> > u'0.000000'], [u''], [u''], [u''], [u''], [u''], [u''], [u''],
> > [u'-1.617908', u'42.961761', u'0.000000'], [u''], [u''], [u''], [u''],
> > [u''], [u''], [u''] ...... so seems not to be ignoring whitespace.
>
> You're trying to upload KML data? If so, yes, it seems that this is not
> supported. Patches welcome.

this proved to be simple to fix, so patch attached. My linestrings now load, 
and Google's sample polygon at 
http://code.google.com/apis/kml/documentation/kmlreference.html#polygon also 
now loads, which it doesn't without the patch.

Also in the patchfile a typo correction for WKT.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches
Type: text/x-diff
Size: 3067 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/featureserver/attachments/20090425/1e80ce83/patches.bin


More information about the Featureserver mailing list