Querying and labeling a WFS layer in Mapserver WFS client

frequens frequens at GMAIL.COM
Thu Dec 8 12:12:14 EST 2005


On 12/8/05, Bart van den Eijnden <BEN at syncera-itsolutions.nl> wrote:
>
> I haven't tried this myself but maybe you need to include the namespace in
> front of the column name, so myns:XXX_ID.
>
> What does ogrinfo report on your gml file? What are the names of the
> attributes when you check the summary with ogrinfo?



Bart, thank you for a good starting point:

the  .gfs file is plain (perhaps too much :-):

<GMLFeatureClassList>
  <GMLFeatureClass>
    <Name>myns:xxxlayer</Name>
    <ElementPath>myns:xxxlayer</ElementPath>
    <DatasetSpecificInfo>
      <FeatureCount>100</FeatureCount>
      <ExtentXMin>386550.00000</ExtentXMin>
      <ExtentXMax>615920.00000</ExtentXMax>
      <ExtentYMin>35030.00000</ExtentYMin>
      <ExtentYMax>186900.00000</ExtentYMax>
    </DatasetSpecificInfo>
    <PropertyDefn>
      <Name>myns:XXX_ID</Name>
      <ElementPath>myns:XXX_ID</ElementPath>
      <Type>Integer</Type>
    </PropertyDefn>
  </GMLFeatureClass>
</GMLFeatureClassList>

The ogrinfo output of the .gml is even more plain (so there is clearly
something wrong):

1. myns:xxxlayer

The EPSG ows_metadata keyword is defined on the map level and present in the
.gml file, but not spit out in .gfs file (should it be?).

So much for now,

BR

frequens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051208/894c3c64/attachment.html


More information about the mapserver-users mailing list