Sorry, i've settled the problem by searching the topic in this group.
Thanks to the group.
By the way, the Kertau RSO wkt =
String rso ="PROJCS[\"Kertau (RSO) / RSO Malaya (m)\",GEOGCS[\"Kertau (RSO)\",DATUM[\"Kertau_RSO\",SPHEROID[\"Everest 1830 (RSO 1969)\",6377295.664,300.8017,AUTHORITY[\"EPSG\",\"7056\"]],AUTHORITY[\"EPSG\",\"6751\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.01745329251994328,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4751\"]],PROJECTION[\"Hotine_Oblique_Mercator\"],PARAMETER[\"latitude_of_center\",4],PARAMETER[\"longitude_of_center\",102.25],PARAMETER[\"azimuth\",323.0257905],PARAMETER[\"rectified_grid_angle\",323.1301023611111],PARAMETER[\"scale_factor\",0.99984],PARAMETER[\"false_easting\",804670.24],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AUTHORITY[\"EPSG\",\"3168\"]]";
SpatialContextAssociation = "EPSG:3168"
In fusion, we need to maintain the SESSION and MAPNAME of the map, and brought forward to any module such as search location or etc.
My actual problem is the pushpin market not displayed. Now everything is ok and working fine.
Thanks everybody...but i have another question coming...
Suhaimi AK wrote:
Hi,
I have a problem of getting the cs code to set SpatialContextAssociation. Below is the example of setting
SetSpatialContextAssociation using WGS84, and it's code is LL84
MgGeometricPropertyDefinition locationProperty = new MgGeometricPropertyDefinition("Location");
locationProperty.SetGeometryTypes(MgGeometryType.Point);
locationProperty.SetHasElevation(false);
locationProperty.SetHasMeasure(false);
locationProperty.SetReadOnly(false);
locationProperty.SetSpatialContextAssociation("LL84");
//locationProperty.SetSpatialContextAssociation("Kertau (RSO)");
How can i get the code for Kertau RSO?
Then the code will continue as follows:
MgCreateSdfParams sdfParams = new MgCreateSdfParams("LL84", map.GetMapSRS(), addressSchema);
Again, i need to change it to cs code of Kertau RSO.
Can somebody help me.
Appreciate.
Regards,
Suhaimi AK