Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( …
I get this in the GetFeature response:
…
<gml:_ImplicitGeometry srsName=“urn:x-ogc:def:crs:EPSG:6.11.2:4326”/>
…
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element. What’s going on?
···
--
Dustin Parker
Forward Slope, Inc.
Work: 619 299 4400
Cell: 619 277 2591
0tDaX0iWmunqkiR2WKCNG
vHUT0iWqSJHZYoI0a8d1p
E9Ilprp6QZrogbPZYoI0a
8aA0ekDQ6eyxQRo146A==
Dustin Parker ha scritto:
Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
I get this in the GetFeature response:
...
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
...
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element. What's going on?
I have no idea... the community schema setup replaces many core
GeoServer modules including the WFS one... I'm not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Dustin Parker ha scritto:
Andrea Aime wrote:
Dustin Parker ha scritto:
Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
I get this in the GetFeature response:
...
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
...
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element. What's going on?
I have no idea... the community schema setup replaces many core
GeoServer modules including the WFS one... I'm not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.
Cheers
Andrea
But that first XML fragment is from the standard WFS module (built from SVN's 1.6.5 tag). Only the second one is from the community-schemas module (and it is probably symptomatic of the problem with the regular datastore).
Ah, I see. Any chance you can provide us with a data sample plus
request so that we can reproduce the issue?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime wrote:
Dustin Parker ha scritto:
Andrea Aime wrote:
Dustin Parker ha scritto:
Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( …
I get this in the GetFeature response:
…
<gml:_ImplicitGeometry srsName=“urn:x-ogc:def:crs:EPSG:6.11.2:4326”/>
…
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element. What’s going on?
I have no idea… the community schema setup replaces many core
GeoServer modules including the WFS one… I’m not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.
Cheers
Andrea
But that first XML fragment is from the standard WFS module (built from SVN’s 1.6.5 tag). Only the second one is from the community-schemas module (and it is probably symptomatic of the problem with the regular datastore).
Ah, I see. Any chance you can provide us with a data sample plus
request so that we can reproduce the issue?
Cheers
Andrea
(Sorry, I didn’t mean to send that last reply directly to you.)
Okay; I’ve attached a SQL table creation script for PostgreSQL and the feature type’s info.xml. Here’s the request:
[endpoint reference]?service=WFS&request=GetFeature&typename=fsi:testGeomCollection
And the result, like before:
<gml:_ImplicitGeometry srsName=“urn:x-ogc:def:crs:EPSG:6.11.2:4326”/>
I can also debug and code if you can point me towards the appropriate classes.
testGeomCollection.sql.bz2 (971 Bytes)
testGeomCollection_info.xml.bz2 (465 Bytes)
···
--
Dustin Parker
Forward Slope, Inc.
Work: 619 299 4400
Cell: 619 277 2591
0tDaX0iWmunqkiR2WKCNG
vHUT0iWqSJHZYoI0a8d1p
E9Ilprp6QZrogbPZYoI0a
8aA0ekDQ6eyxQRo146A==
Hi Dustin,
Thanks for providing some data. I tries this out and it is indeed a bug with the gml3/wfs 1.1 encoder. Filing a jira issue here:
http://jira.codehaus.org/browse/GEOS-2276
Note: The gml2/wfs 1.0 encoder handles this ok.
-Justin
Dustin Parker wrote:
Andrea Aime wrote:
Dustin Parker ha scritto:
Andrea Aime wrote:
Dustin Parker ha scritto:
Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
I get this in the GetFeature response:
...
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
...
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element. What's going on?
I have no idea... the community schema setup replaces many core
GeoServer modules including the WFS one... I'm not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.
Cheers
Andrea
But that first XML fragment is from the standard WFS module (built from SVN's 1.6.5 tag). Only the second one is from the community-schemas module (and it is probably symptomatic of the problem with the regular datastore).
Ah, I see. Any chance you can provide us with a data sample plus
request so that we can reproduce the issue?
Cheers
Andrea
(Sorry, I didn't mean to send that last reply directly to you.)
Okay; I've attached a SQL table creation script for PostgreSQL and the feature type's info.xml. Here's the request:
[endpoint
reference]?service=WFS&request=GetFeature&typename=fsi:testGeomCollection
And the result, like before:
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
I can also debug and code if you can point me towards the appropriate classes.
--
Dustin Parker
Forward Slope, Inc.
Work: 619 299 4400
Cell: 619 277 2591
0tDaX0iWmunqkiR2WKCNG
vHUT0iWqSJHZYoI0a8d1p
E9Ilprp6QZrogbPZYoI0a
8aA0ekDQ6eyxQRo146A==
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.