[Featureserver] fs namespace undefined for GML?

Dane Springmeyer blake at hailmail.net
Fri Oct 31 20:58:13 EDT 2008


Tom.

I have not encountered the problem you describe, but I share the  
familiarity of hitting a parsing glitch with XML.   Since you are  
using drupal I guess you are tied to php but I would consider working  
with geojson format (here python is ideal)-it it super easy to parse  
if you just need coordinates and attributes to  configure a few things  
in your drupal stack

Dane

On Oct 27, 2008, at 7:18 AM, "Tom MacWright" <macwright at gmail.com>  
wrote:

> Hey,
>
> First off - thanks a ton for your work on FeatureServer, it looks  
> like a great lightweight option to 'fill in the gaps' of an open- 
> source mapping stack.
>
> I'm working on writing a parser for WFS in PHP (generalized, but  
> initially targeted to the Drupal CMS), and I've come across an  
> issue: SimpleXML, PHP's validating parser, rejects the GML output of  
> FeatureServer, and for good reason: the WFS server included is  
> hardcoded to point to example.com [1], and there doesn't seem to be  
> a schema definition file anywhere in the FeatureServer download. I'm  
> wondering - is there a description available anywhere, or has anyone  
> written one? It seems odd that example.com is hardcoded into this,  
> and I think it would be a simple-enough thing to patch (possibly  
> adding another var to featureserver.cfg?), so if that's needed or  
> wanted, I'd love to pitch in.
>
> [1] WFS.py line 14:
>   xmlns:fs="http://example.com/featureserver"
>
> Thanks for any help or ideas!
>
> Tom MacWright
> _______________________________________________
> Featureserver mailing list
> Featureserver at openlayers.org
> http://featureserver.org/mailman/listinfo/featureserver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/featureserver/attachments/20081031/b5b23366/attachment.html


More information about the Featureserver mailing list