AJAX viewer + coordinate sytems + selection problem

Mindaugas Bliūdžius mindaugas at infoera.lt
Fri Sep 8 09:54:57 EDT 2006


Hi,

 

Using Windows Server 2003 + Apache + PHP + MapGuide Open Source
configuration (Also tried using with IIS and .NET andd Enterprise MapGuide,
had the same problems).

 

I have two layers loaded: points and lines; from SHP files (converted to SDF
when loading). Points have coordinate projection file like this:

 

PROJCS["Lietuvos_Koordinaciu_Sistema",GEOGCS["GCS_LKS_1994",DATUM["D_Lithuan
ia_1994",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.
0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARA
METER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["C
entral_Meridian",24.0],PARAMETER["Scale_Factor",0.9998],PARAMETER["Latitude_
Of_Origin",0.0],UNIT["Meter",1.0]]

 

After loading those files i created map with coordinate system LIT-LKS94
(LIT-LKS94) (it is in Lithuanian category). What i get that using AJAX
viewer i UNABLE to select anyway, anything. While in DWF viewer i CAN select
anyway, anything. (also tooltips working fine i DWF viewer).

 

I have to mention that i get this message in mapguide error.log file:

 

Error: The coordinate system is invalid.
PROJCS["LIT-LKS94",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,
298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PR
OJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.000],PARAME
TER["false_northing",0.000],PARAMETER["scale_factor",0.999800000000],PARAMET
ER["central_meridian",24.00000000000000],PARAMETER["latitude_of_origin",0.00
000000000000],UNIT["Meter",1.00000000000000]]

        Could not create coordinate system forward transformation with
specified coordinate systems.

 StackTrace:

  - MgRenderingServiceHandler.ProcessOperation line 83 file
c:\build_tux_area\mgdev_opensource\server\src\services\rendering\RenderingSe
rviceHandler.cpp

  - MgOpGeneratePlot.Execute line 98 file
c:\build_tux_area\mgdev_opensource\server\src\services\rendering\OpQueryFeat
ures.cpp

  - MgServerRenderingService.QueryFeatures line 496 file
c:\build_tux_area\mgdev_opensource\server\src\services\rendering\ServerRende
ringService.cpp

  - MgCoordinateSystem.MgCoordinateSystem line 76 file
c:\build_tux_area\mgdev_opensource\common\service\coordinatesystem\Coordinat
eSystem.cpp     The coordinate system is invalid.
PROJCS["LIT-LKS94",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,
298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PR
OJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.000],PARAME
TER["false_northing",0.000],PARAMETER["scale_factor",0.999800000000],PARAMET
ER["central_meridian",24.00000000000000],PARAMETER["latitude_of_origin",0.00
000000000000],UNIT["Meter",1.00000000000000]]

Could not create coordinate system forward transformation with specified
coordinate systems.

 

It appears when i try to manipulate AJAX viewer (select, pan, etc.).

 

Also there is related problem when i have map with arbitrary coordinate
system  with one line layer, i can select lines normaly in AJAX, but when i
set coordinate system to LIT-LKS94 (LIT-LKS94) i am UNABLE to select
anything, anyway. (don‘t think that this problem is related just to my
specific coordinate system)

 

Hope i explaned my problem clear. Thank‘s for ANY anwser !

 

Mindaugas

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060908/35a719a1/attachment.html


More information about the Mapguide-users mailing list