Hi All,

I am hoping someone could help me out here.
We have a production WFS offering here: (which works using  Geoserver 2.8.1 / 
ArcSDE 10.2.2 (Oracle 12c)/ jdk 7)
https://openmaps.gov.bc.ca/geo/pub/ows?REQUEST=GetFeature&TYPENAME=pub:WHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP&SERVICE=WFS&VERSION=1.1.0&BBOX=-116.99599122104645,51.2709965795517,-116.93005705776214,51.299251070594785&srsName=EPSG:4326
 (no data but it works)


I have a test instance in Geoserver 2.10 jdk 8 and with same data as production 
(a point dataset in ArcSDE 10.2.2 (Oracle 12c) )
with the following extents and projections:
Bounding Boxes: BC Albers Native Bounding Box Min X 34,758.74871682725 Min Y 
359,549.2446022132 Max X 1,883,159.4990994572 Max Y 1,736,633.6842181915
Lat/Lon Bounding Box: Min X -143.2069522759408 Min Y 47.460599090527495 Max X 
-110.20610352993367 Max Y 60.61128669277986

Coordinate Reference Systems
*       Native SRS ...says UNKNOWN - WKTXT is
*       PROJCS["NAD_1983_BC_Environment_Albers",
  GEOGCS["GCS_North_American_1983",
    DATUM["D_North_American_1983",
      SPHEROID["GRS_1980", 6378137.0, 298.257222101]],
    PRIMEM["Greenwich", 0.0],
    UNIT["degree", 0.017453292519943295],
    AXIS["Longitude", EAST],
    AXIS["Latitude", NORTH]],
  PROJECTION["Albers_Conic_Equal_Area"],
  PARAMETER["central_meridian", -126.0],
  PARAMETER["latitude_of_origin", 45.0],
  PARAMETER["standard_parallel_1", 50.0],
  PARAMETER["false_easting", 1000000.0],
  PARAMETER["false_northing", 0.0],
  PARAMETER["standard_parallel_2", 58.5],
  UNIT["m", 1.0],
  AXIS["x", EAST],
  AXIS["y", NORTH]]
*

  *   Declared SRS EPSG:3005
*       SRS handling  Force Declared

WMS works well in either EPSG:3005 and EPSG:4326:
http://test.openmaps.gov.bc.ca/geo/pub/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&STYLES&LAYERS=pub%3AWHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP1&SRS=EPSG%3A4326&WIDTH=769&HEIGHT=330&BBOX=-116.99599122104645%2C51.2709965795517%2C-116.93005705776214%2C51.299251070594785

http://test.openmaps.gov.bc.ca/geo/pub/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&STYLES&LAYERS=pub%3AWHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP&SRS=EPSG%3A4326&WIDTH=769&HEIGHT=330&BBOX=-116.99599122104645%2C51.2709965795517%2C-116.93005705776214%2C51.299251070594785


But GETfeature WFS is failing with the same BBOX:

https://test.openmaps.gov.bc.ca/geo/pub/ows?REQUEST=GetFeature&TYPENAME=pub:WHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP&SERVICE=WFS&VERSION=1.1.0&BBOX=-116.99599122104645,51.2709965795517,-116.93005705776214,51.299251070594785&srsName=EPSG:4326


<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:ows="http://www.opengis.net/ows"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
version="1.0.0"xsi:schemaLocation="http://www.opengis.net/ows 
http://test.openmaps.gov.bc.ca/geo/schemas/ows/1.0.0/owsExceptionReport.xsd";>
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>
java.lang.RuntimeException: org.geotools.arcsde.ArcSdeException: Can't generate 
SeShape from POLYGON ((-116.99599122104645 51.2709965795517, 
-116.99599122104645 51.299251070594785, -116.93005705776214 51.299251070594785, 
-116.93005705776214 51.2709965795517, -116.99599122104645 51.2709965795517)) 
[SDE error -139][Error desc=THE SPECIFIED COORDINATE EXCEEDS THE VALID 
COORDINATE RANGE.][Extended desc= ] org.geotools.arcsde.ArcSdeException: Can't 
generate SeShape from POLYGON ((-116.99599122104645 51.2709965795517, 
-116.99599122104645 51.299251070594785, -116.93005705776214 51.299251070594785, 
-116.93005705776214 51.2709965795517, -116.99599122104645 51.2709965795517)) 
[SDE error -139][Error desc=THE SPECIFIED COORDINATE EXCEEDS THE VALID 
COORDINATE RANGE.][Extended desc= ] Can't generate SeShape from POLYGON 
((-116.99599122104645 51.2709965795517, -116.99599122104645 51.299251070594785, 
-116.93005705776214 51.299251070594785, -116.93005705776214 51.2709965795517, 
-116.99599122104645 51.2709965795517)) [SDE error -139][Error desc=THE 
SPECIFIED COORDINATE EXCEEDS THE VALID COORDINATE RANGE.][Extended desc= ]
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>



If I change slightly how the layer is configured:
Coordinate Reference Systems
*       Native SRS ...

  *   Declared SRS EPSG:4326
*       SRS handling  Reproject native to declared

I then get the response error in BC Albers coordinates

Same data but with 'Reproject native to declared' (EPSG:4326)
https://test.openmaps.gov.bc.ca/geo/pub/WHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP1/ows?REQUEST=GetFeature&TYPENAME=pub:WHSE_WATER_MANAGEMENT.GW_WATER_WELLS_LITHOLOGY_SP1&SERVICE=WFS&VERSION=1.1.0&BBOX=-116.982421875,51.279296875,-116.8896484375,51.328125&srsName=EPSG:4326


<ows:ExceptionReport xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:ows="http://www.opengis.net/ows"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
version="1.0.0"xsi:schemaLocation="http://www.opengis.net/ows 
http://test.openmaps.gov.bc.ca/geo/schemas/ows/1.0.0/owsExceptionReport.xsd";>
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>
java.lang.RuntimeException: org.geotools.arcsde.ArcSdeException: Can't generate 
SeShape from POLYGON ((14929124.260812046 8584608.689835804, 14929124.260812046 
8584608.689835804, 14929124.260812046 8584608.689835804, 14929124.260812046 
8584608.689835804, 14929124.260812046 8584608.689835804)) [SDE error 
-148][Error desc=NUMOFPTS IS LESS THAN REQUIRED FOR FEATURE.][Extended desc= ] 
org.geotools.arcsde.ArcSdeException: Can't generate SeShape from POLYGON 
((14929124.260812046 8584608.689835804, 14929124.260812046 8584608.689835804, 
14929124.260812046 8584608.689835804, 14929124.260812046 8584608.689835804, 
14929124.260812046 8584608.689835804)) [SDE error -148][Error desc=NUMOFPTS IS 
LESS THAN REQUIRED FOR FEATURE.][Extended desc= ] Can't generate SeShape from 
POLYGON ((14929124.260812046 8584608.689835804, 14929124.260812046 
8584608.689835804, 14929124.260812046 8584608.689835804, 14929124.260812046 
8584608.689835804, 14929124.260812046 8584608.689835804)) [SDE error 
-148][Error desc=NUMOFPTS IS LESS THAN REQUIRED FOR FEATURE.][Extended desc= ]
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>


Is this a known issue or bug?
I was hoping to upgrade but this seems to be a show stopper for me at the 
moment.

Many thanks
Michelle



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to