Dear users/developers of geoserver,
We built inspire dataset (SeaRegion). It has 3 wms layers which work without
problem and 3 wfs features (based on the same data). The geometry data of 2
features (Coastline & Shoreline) are swapped and the 3rd feature works well.
The wfs lines appears somewhere against Africa in place of the Netherlands.
The projection in the database if ok (EPSG:4258)
I trun the debug mode on the geoserver and I get the next logging. Any tips
are more than welcome. Thanks and goodbye
2019-01-31 14:44:13,917 DEBUG [org.geotools.jdbc] - CREATE CONNECTION
2019-01-31 14:44:13,922 DEBUG [org.geotools.jdbc] - SELECT
"inspire_sr"."coastline"."gid","inspire_sr"."coastline"."localid","inspire_sr"."coastline"."beginlifespanversion","inspire_sr"."coastline"."namespace","inspire_sr"."coastline"."type",encode(ST_AsEWKB("inspire_sr"."coastline"."_geometry"),'base64')
as "_geometry" FROM "inspire_sr"."coastline" INNER JOIN (SELECT DISTINCT
"inspire_sr"."coastline"."localid" FROM "inspire_sr"."coastline" ORDER BY
"inspire_sr"."coastline"."localid" ASC LIMIT 1) "coastline_1" ON
("coastline"."localid" = "coastline_1"."localid" ) ORDER BY
"inspire_sr"."coastline"."localid" ASC
2019-01-31 14:44:14,076 TRACE [org.geotools.data.complex.filter] - ENTRY
FeatureImpl:Coastline<CoastlineType
id=NL.KAD.TOP10NL.SR.Coastline.130471483>= sr:geographicalName null null
null
2019-01-31 14:44:14,080 DEBUG [org.geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2019-01-31 14:44:14,081 DEBUG [org.geotools.util] -
InterpolationConverterFactory can be applied from Strings to Interpolation
only.
2019-01-31 14:44:14,081 TRACE [org.geotools.data.complex.filter] - ENTRY
FeatureImpl:Coastline<CoastlineType
id=NL.KAD.TOP10NL.SR.Coastline.130471483>=[ComplexAttributeImpl:geographicalName=]
sr:segment/sr:ShoreSegment null
segment.coastline.fid-534b709_168a41cb49a_-7fff null
2019-01-31 14:44:14,082 DEBUG [org.geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2019-01-31 14:44:14,082 DEBUG [org.geotools.util] -
InterpolationConverterFactory can be applied from Strings to Interpolation
only.
2019-01-31 14:44:14,088 TRACE [org.geotools.data.complex.filter] - ENTRY
FeatureImpl:Coastline<CoastlineType
id=NL.KAD.TOP10NL.SR.Coastline.130471483>=[ComplexAttributeImpl:geographicalName=,
ComplexAttributeImpl:segment=[FeatureImpl:ShoreSegment<ShoreSegmentType
id=segment.coastline.fid-534b709_168a41cb49a_-7fff>=]]
sr:segment/sr:ShoreSegment/sr:geometry LINESTRING (3.963950921634013
51.38193453042329, 3.9633747253813385 51.381513463799514, 3.9628282962186137
51.38170540984772, 3.9588603275236944 51.38309910824923, ….3.96506401830659
51.38273352736728, 3.963950921634013 51.38193453042329)
geom.coastline.fid-534b709_168a41cb49a_-7fff LazyAttributeType:
http://www.opengis.net/gml/3.2:CurveType
2019-01-31 14:44:14,089 DEBUG [org.geotools.feature] - Adding attribute
http://inspire.ec.europa.eu/schemas/sr/4.0:geometry of type
http://www.opengis.net/gml/3.2:CurveType which is not a subtype of
http://www.opengis.net/gml/3.2:CurvePropertyType
2019-01-31 14:44:14,103 TRACE [org.geotools.data.complex.filter] - ENTRY
FeatureImpl:Coastline<CoastlineType
id=NL.KAD.TOP10NL.SR.Coastline.130471483>=[ComplexAttributeImpl:geographicalName=,
ComplexAttributeImpl:segment=[FeatureImpl:ShoreSegment<ShoreSegmentType
id=segment.coastline.fid-534b709_168a41cb49a_-7fff>=[GeometryAttributeImpl:geometry<CurveType
id=geom.coastline.fid-534b709_168a41cb49a_-7fff
crs=GEOGCS["ETRS89",
DATUM["European Terrestrial Reference System 1989",
SPHEROID["GRS 1980", 6378137.0, 298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6258"]],
PRIMEM["Greenwich", 0.0,
AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic latitude", NORTH],
AXIS["Geodetic longitude", EAST],
AUTHORITY["EPSG","4258"]]
id=geom.coastline.fid-534b709_168a41cb49a_-7fff>=LINESTRING
(3.963950921634013 51.38193453042329, 3.9633747253813385 51.381513463799514,
3.9628282962186137 51.38170540984772, …….. 3.963950921634013
51.38193453042329)]]] sr:waterLevel null null null
2019-01-31 14:44:14,112 DEBUG [org.geotools.xml] - AbstractFeature is
abstract
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html