[mapguide-users] Shareable markups

Rahul unicorn_admirer at yahoo.com
Wed Jun 11 22:41:36 EDT 2008


Hi,
    If you are using MGOS 2.0.1 then u have to go the previous discussion and do the necessary changes as i wrote before (RFC35).
Regarding markup ,if u can able to create the markup but unable to view then definetly you have to change the below line as per your mapping coordinate system so that it can show up in the map.
'const LL84WKT =
'GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",1]]';' 

-------------------------------------------------------------------------------------------------
(Nad 83 UTM 17N)
EPSG Code:
26917

OGC WKT:
PROJCS["NAD83 / UTM zone 17N",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4269"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","26917"]]

I hope this will help you out !!
Max !

----- Original Message ----
From: mrsyer <joey_syer at hotmail.com>
To: mapguide-users at lists.osgeo.org
Sent: Wednesday, June 11, 2008 10:04:40 PM
Subject: Re: [mapguide-users] Shareable markups


Hey everyone, I've tried just about everything now and I still can't get
markup working. thanks alot for all your help. Heres what ive done so far. 

In the markupmain.php i changed line 43 from '$openMarkup =
$markupManager->GetOpenMarkup();'
to '$openMarkup = $markupManager->GetAvailableMarkup();' This enabled me to
open or create new markup, but when I try to actually draw markup I get this
error in the task pane:

Invalid resource name: Shell%20Routing 
Invalid resource name: Shell%20Routing Exception occurred in method
MgResourceIdentifier.CheckName at line 651 in file
d:\buildforgeprojects\carrera_nightly\build_32.2\ent\os\common\platformbase\Services/ResourceIdentifier.cpp  


Creating the markup will automatically create the folder Library://Markup.
So that's all good. I have also tried editing the 'Get Transform' in the
markupeditor.php. It seems that editing this does not affect anything. 

So i have concluded that it is probbaly a Coordinate system problem. I
created a test map and test layout using the coordinate system of the
redding.mgp file and some of it's data and it worked fine. So that means
everything is set up properly, I believe what i need to do is change the
coordinate system the markup is projected in, that way hopefully it will be
compatible with my projects projection (Nad 83 UTM 17N). 

I know that this line 'const LL84WKT =
'GEOGCS["LL84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",1]]';' 

must be edited in the markupmanager.php, but Im not sure how thats done.
Anyways, I hope to get this up and runnning and thanks for all your help.
JS.
-- 
View this message in context: http://www.nabble.com/Shareable-markups-tp17542284p17780053.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



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


More information about the mapguide-users mailing list