[Mapguide-trac] [mapguide-trac] #2142: Extent in layer preview is calculated wrongly (OGR provider)
MapGuide Open Source
trac_mapguide at osgeo.org
Wed Oct 10 05:09:02 PDT 2012
#2142: Extent in layer preview is calculated wrongly (OGR provider)
------------------------+---------------------------------------------------
Reporter: nkjoller | Owner: jng
Type: defect | Status: new
Priority: low | Milestone: Maestro-5.0
Component: Maestro | Version: 2.2.0
Severity: minor | Keywords:
External_id: |
------------------------+---------------------------------------------------
When using a feature set in EPSG:25832 (ETRS89/UTM32) with the ogr
provider, the preview function works as expected in the data connection,
showing an area of approximately 3 x 3 miles.
When I create a layer definition with the data, the preview function does
not show anything, but uses coordinates like "X: 72156417880489584.0000,
Y: 61763504620569632.00000" when pointing. The expected coordinates would
look to be be "X: 721,564.17, Y: 6,176,350.46".
When I add that layer definition to a map, and try to calculate the
extents, it shows up as
{{{
<Extents>
<MinX>7.19497399174557E+16</MinX>
<MaxX>7.23630958461686E+16</MaxX>
<MinY>6.17459435922873E+16</MinY>
<MaxY>6.17810656432956E+16</MaxY>
</Extents>
}}}
Which obviously seems wrong.
I have tried with both a QGIS produced MapInfo tab file, the same file
converted to ESRI shape, and also a tab file produced using MapInfo.
I would expect that if the trouble was in the data, the preview on the
data connection would fail too. But since the trouble happens in the layer
part, I do not know where the problems start.
I hope I have provided enough information to make sense of it all. Please
do not hesitate to ask for more info.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2142>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list