[gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

Stefan Keller sfkeller at gmail.com
Sun Apr 21 13:39:09 PDT 2013


2013/4/21 Even Rouault <even.rouault at mines-paris.org>
> There's nothing wrong in the GetFeature output. It is completely
legitimate
> and usual to have a gml:Box inside a gml:boundedBy.
> The DescribeFeatureType is also valid, but it could be made more specific
by
> reporting type="gml:SurfacePropertyType" instead of
> type="gml:GeometryPropertyType"

I see.

To me GetCapabilities of http://http://maps.zh.ch/wfs/FnsNSWFS should also
be more specific. Currently there's no geometry hint (and it even issues
warnings about missing EXTENT).

So,given it's DescribeFeatureType would report
type="gml:SurfacePropertyType" would the WFS reader of GDAL work?

I thought, most WFS clients/converters read GetCapabilities, not
DescribeFeatureType.

Yours, Stefan


2013/4/21 Even Rouault <even.rouault at mines-paris.org>

> Le dimanche 21 avril 2013 22:18:38, Stefan Keller a écrit :
> > Hi Even
> >
> > You're right about the parantheses of URLs with & in the shell.
> >
> > 2013/4/21 Even Rouault <even.rouault at mines-paris.org>
> >
> > > So the geometry type is undefined. OGR then reports a unknown geometry
> >
> > type.
> >
> > > There could be a mix of geometries in such a layer.
> >
> > Yes that's it.
> > To be specific, every feature/object/instance has a gml:Box and a
> > gml:Polygon (see below).
> > That's a weird output from this ArcGIS server stuff and an incomplete
> > response of DescribeFeatureType.
>
> There's nothing wrong in the GetFeature output. It is completely legitimate
> and usual to have a gml:Box inside a gml:boundedBy.
> The DescribeFeatureType is also valid, but it could be made more specific
> by
> reporting type="gml:SurfacePropertyType" instead of
> type="gml:GeometryPropertyType"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130421/b6126b1c/attachment.html>


More information about the gdal-dev mailing list