[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:24:34 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: |
------------------------+---------------------------------------------------
Comment(by nkjoller):
Thank you for the swift response.
I just did an experiment taking the same feature set as a tab file (using
OGR) and from our MSSQL database (using the MSSQL provider). The OGR
feature set worked as described above, but the MSSQL feature set worked as
expected.
Is this because of some (MS)SQL-feature to get extents that OGR does not
have?
Replying to [comment:1 jng]:
> The problem is simple.
>
> The all so powerful CS-Map library that supports thousands of different
coordinate systems and transformations and used by MapGuide, is not
available for Maestro to use over the mapagent http interface, because no
coordinate transformation APIs are exposed over it.
>
> So as a result, we resort to using the imperfect Proj.Net library which
does not have the same power, reach and flexibility as CS-Map. The numbers
you see generated are the result of going through this library.
>
> There are solutions for this problem in the long-term (I'd have to
implement them first). The short term one would be to write a web-based
helper script in PHP/ASP.net/Java that can access the MgCoordinateSystem
API and do this extent number crunching for you
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2142#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list