SHAPE-ZIP output fails for data in NAD83 (EPSG:4269)
----------------------------------------------------
Key: GEOS-3184
URL: http://jira.codehaus.org/browse/GEOS-3184
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.7.5
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.7.6
This is due to a mix between issues on CRS and some recent changes in the shapefile datastore.
The shapefile datastore tries to set the full area of the CRS at hand in the header when creating a new datastore, using CRS.envelope(crs). Unfortunately for NAD83 the envelope spans the antimeridian and looks like:
83°12'00,0"N, 172°00'00,0"E - 14°15'00,0"N, 52°00'00,0"W
and when CRS tries to build the envelope it fails because it builds it with minx = 172, maxx = 52.
The usage of CRS.envelope(crs) is recent and can tracked down to GEOT-2388... which was supposed to solve similar problems, but in fact traded a problem for another one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira