[Featureserver] LineString instead of MultiLineString
Christopher Schmidt
crschmidt at metacarta.com
Tue Dec 9 15:49:51 EST 2008
On Tue, Dec 09, 2008 at 03:41:08PM -0500, Alexandre Dube wrote:
> Hi list,
>
> I see in PostGis.py at line 117 that when a feature geometry type is
> MultiLineString, it returns LineString instead. Is there a reason for
> this ? Why doesn't it return MultiLineString ?
No part of FeatureServer 1.12 supported Multi-anythings.
SVN tries to improve this, but incompletely, and is untested.
>
> But, I really wonder why featureserver don't return the correct type
> of geometry. So before doing anything, I wanted to have some comments
> about this, please.
Multi geometries are simply not (1.12) or poorly (SVN) supported.
Patches to the latter are welcome.
> Oh, and BTW I use GeoJSON format in OpenLayers and I can see *
> @requires OpenLayers/Geometry/MultiLineString.js, so I suppose it
> supports MultiLineString, correct ?
OpenLayers does have support for Multi types. The FeatureServer GeoJSON
writer does not.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Featureserver
mailing list