[mapguide-users] some points are lost when its srs is defferent
from its map's one
Hidekazu Shimaji
hshimaji at ybb.ne.jp
Sat Mar 24 21:36:26 EDT 2007
Hello,
I have a trouble if I use the DWFViewer.
Some of points are not shown in a map.
I made 1 WebLayout, 1 MapDefinition, 4 LayerDefinitions, 4 FeatureSources.
The MapDefinition has a typical srs("JGD2K-09-7P").
4 FeatureSources are created by the feature service of the MapGuide.
Each FeatureSource has a point located at the origin(0,0).
FeatureSources' wkt are almost corresponding to their map's wkt, but
only their PROJECTION names and their false_eastings (or false_northings) are different.
Then only 1 of 4 points is shown in the map.
Its layer is 4th(the lastest) in the map's drawing order.
If I change the drawing order, then
the new 4th layer's point will be shown instead.
When I use the AJAX viewer, all points are shown.
I wonder what is wrong. Please help me.
Here are wkts used:
MapDefinition:
PROJCS["JGD2K-09-7P",GEOGCS["LL-JGD2K-7P",DATUM["JGD2000-7P",SPHEROID["GRS1980-JPN",6378137.000,298.25722210],TOWGS84[0.0780,-0.5050,-0.2530,-0.018300,0.000300,-0.007000,0.01010000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easti
ng",0.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999900000000],PARAMETER["central_meridian",139.83333333333329],PARAMETER["latitude_of_origin",36.00000000000000],UNIT["Meter",1.00000000000000]]
FeatureSource1(PROJECTION name and PARAMETER "false_easting" are different):
PROJCS["TEST_SRS",GEOGCS["LL-JGD2K-7P",DATUM["JGD2000-7P",SPHEROID["GRS1980-JPN",6378137.000,298.25722210],TOWGS84[0.0780,-0.5050,-0.2530,-0.018300,0.000300,-0.007000,0.01010000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting"
,2.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999900000000],PARAMETER["central_meridian",139.83333333333329],PARAMETER["latitude_of_origin",36.00000000000000],UNIT["Meter",1.00000000000000]]
FeatureSource2(PROJECTION name and PARAMETER "false_easting" are different):
PROJCS["TEST_SRS",GEOGCS["LL-JGD2K-7P",DATUM["JGD2000-7P",SPHEROID["GRS1980-JPN",6378137.000,298.25722210],TOWGS84[0.0780,-0.5050,-0.2530,-0.018300,0.000300,-0.007000,0.01010000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting"
,-2.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999900000000],PARAMETER["central_meridian",139.83333333333329],PARAMETER["latitude_of_origin",36.00000000000000],UNIT["Meter",1.00000000000000]]
FeatureSource3(PROJECTION name and PARAMETER "false_northing" are different):
PROJCS["TEST_SRS",GEOGCS["LL-JGD2K-7P",DATUM["JGD2000-7P",SPHEROID["GRS1980-JPN",6378137.000,298.25722210],TOWGS84[0.0780,-0.5050,-0.2530,-0.018300,0.000300,-0.007000,0.01010000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting"
,0.000],PARAMETER["false_northing",-2.000],PARAMETER["scale_factor",0.999900000000],PARAMETER["central_meridian",139.83333333333329],PARAMETER["latitude_of_origin",36.00000000000000],UNIT["Meter",1.00000000000000]]
using
MapGuide Open Source 1.1.0 (IIS + ASP.NET)
DWFViewer 7 SP1
Windows XP SP2 + IIS 5.1
Internet Explorer 6.0 SP2
Regerds,
Hidekazu
More information about the mapguide-users
mailing list