RE: [mapguide-users] Query on Mapguide
You don't have to go that far anymore, if you're using the current version (2.0.2) changing one of the templates is enough. http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/ - Jackie Ivan Milicevic wrote: Selection color is hard coded, so you need to change it in source code and recompile Mg server (nota an easy task at all). From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of tejaswi asmath Sent: Friday, April 24, 2009 7:12 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Query on Mapguide hi guys, Can some one give me the details of how to install Mapguide on windows vista. also is it possible to change the color of the selection from blue to any other color. thanks in advance, A. Tejaswi http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/ signatureline@middle? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Query-on-Mapguide-tp2689766p2689859.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Query on Mapguide
Thank's Jackie!!! I didn't notice that. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jackie Ng Sent: Friday, April 24, 2009 8:12 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Query on Mapguide You don't have to go that far anymore, if you're using the current version (2.0.2) changing one of the templates is enough. http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour -in-mapguide-ajax-viewer/ - Jackie Ivan Milicevic wrote: Selection color is hard coded, so you need to change it in source code and recompile Mg server (nota an easy task at all). From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of tejaswi asmath Sent: Friday, April 24, 2009 7:12 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Query on Mapguide hi guys, Can some one give me the details of how to install Mapguide on windows vista. also is it possible to change the color of the selection from blue to any other color. thanks in advance, A. Tejaswi http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/ signatureline@middle? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://n2.nabble.com/Query-on-Mapguide-tp2689766p2689859.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Store point geom: ODBC or Native
Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context? Which method is preferred: ODBC or MapGuide point type geometry? I use Mapguide 2010 Enterprise, so it has native support for MSSQL Spatial. Has anyone some experience in the theme? Thanks, Zoli... -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691070.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Store point geom: ODBC or Native
There's probably some conversion overhead involved with ODBC points, that you won't have with native storage. Unless you need to have your SQL Server 2008 database interop with other systems (that can't understand SQL Server 2008 spatial data types), you should go native where possible. Also using MSSQL spatial provider exposes the full set of geometry types, not just points. - Jackie zolinko wrote: Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context? Which method is preferred: ODBC or MapGuide point type geometry? I use Mapguide 2010 Enterprise, so it has native support for MSSQL Spatial. Has anyone some experience in the theme? Thanks, Zoli... -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691194.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Store point geom: ODBC or Native
well considering using a geometry allows the database to index them spatially it's going to be more useful that way right? z On Fri, Apr 24, 2009 at 6:12 PM, zolinko zoli...@freemail.hu wrote: Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context? Which method is preferred: ODBC or MapGuide point type geometry? I use Mapguide 2010 Enterprise, so it has native support for MSSQL Spatial. Has anyone some experience in the theme? Thanks, Zoli... -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691070.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Store point geom: ODBC or Native
From my experience , displaying Point Geometry is way faster than displaying ODBC/X,Y. Bruno -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691239.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Store point geom: ODBC or Native
Thanks for the responses, I'll do some comparison test, and post the result. -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691374.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] select the location on map
HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common\mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Ivan Milicevic *Sent:* Wednesday, April 22, 2009 1:52 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] select the location on map You can get it from some of them. Please, read descritption. *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *susan Daniel *Sent:* Wednesday, April 22, 2009 9:46 AM *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] select the location on map Thank u Can i get the source code of any of these sample applications? If so from where?
RE: [mapguide-users] select the location on map
Try this: script language=javascript function getsession() { var sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { var mapname=parent.parent.mapframe.GetMapName(); } /script From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday, April 24, 2009 11:25 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] select the location on map HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common \mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Ivan Milicevic *Sent:* Wednesday, April 22, 2009 1:52 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] select the location on map You can get it from some of them. Please, read descritption. *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On
RE: [mapguide-users] select the location on map
Colud you put alert(mgSessionId) after you define it in javascript function? What do you get in alert message? From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of susan Daniel Sent: Friday, April 24, 2009 12:15 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] select the location on map hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr 24, 2009 at 3:24 PM, Stefan Dalakov s.dala...@mapware.net wrote: These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common \mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Ivan Milicevic *Sent:* Wednesday, April 22, 2009 1:52 AM *To:* MapGuide Users Mail List *Subject:* RE:
Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion
hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I can do? 2. I think that the file C:\Programmi\MapGuideOpenSource2.0\WebServerExtensions\Help\viewerapi.html is not update for mg 2.0.2, because the instruction 'setSelection' does not exist where I can download a new viewer api? I must resolve this function function submitRequest(pageUrl) { xmlSel = parent.parent.mapFrame.GetSelectionXML(); if(xmlSel=='') alert(Selezionare Area Incendio); else{ mapScale = parent.parent.mapFrame.GetScale(); mapHeight = 600; mapWidth = 600; mapCenter = parent.parent.mapFrame.GetCenter(); params = new Array(SESSION, parent.parent.mapFrame.GetSessionId(), MAPNAME, parent.parent.mapFrame.GetMapName(), SELECTION, xmlSel, SCALE, mapScale, HEIGHT, mapHeight, WIDTH, mapWidth, CENTERX, mapCenter.X, CENTERY, mapCenter.Y ); parent.parent.formFrame.Submit(pageUrl, params, _blank); }// fine else } 3. I would use in mapguide 2.0.2 the same templates of mg 2.0.1 es: aqua, marron, ecc.. How can I do? bye bye Alba -- View this message in context: http://n2.nabble.com/Changing-current-selection-colour-tp1805368p2691735.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] select the location on map
hi... not getting the alert message.I don't know whether i did it in the right way regards susan On Fri, Apr 24, 2009 at 3:47 PM, Ivan Milicevic ivan.milice...@supranet.hrwrote: Colud you put alert(mgSessionId) after you define it in javascript function? What do you get in alert message? *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *susan Daniel *Sent:* Friday, April 24, 2009 12:15 PM *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] select the location on map hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr 24, 2009 at 3:24 PM, Stefan Dalakov s.dala...@mapware.net wrote: These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common\mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson
Re: [mapguide-users] select the location on map
These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com mailto:jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common\mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.com mailto:dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave
Re: [mapguide-users] select the location on map
You could use something like this (executed when window.php is loaded) document.myform.MAPNAME.value=parent.parent.mapFrame.GetMapName() ; Stefan susan Daniel wrote: hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr 24, 2009 at 3:24 PM, Stefan Dalakov s.dala...@mapware.net mailto:s.dala...@mapware.net wrote: These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com mailto:jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when
Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion
hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I can do? 2. I think that the file C:\Programmi\MapGuideOpenSource2.0\WebServerExtensions\Help\viewerapi.html is not update for mg 2.0.2, because the instruction 'setSelection' does not exist where I can download a new viewer api? I must resolve this function function submitRequest(pageUrl) { xmlSel = parent.parent.mapFrame.GetSelectionXML(); if(xmlSel=='') alert(Selezionare Area Incendio); else{ mapScale = parent.parent.mapFrame.GetScale(); mapHeight = 600; mapWidth = 600; mapCenter = parent.parent.mapFrame.GetCenter(); params = new Array(SESSION, parent.parent.mapFrame.GetSessionId(), MAPNAME, parent.parent.mapFrame.GetMapName(), SELECTION, xmlSel, SCALE, mapScale, HEIGHT, mapHeight, WIDTH, mapWidth, CENTERX, mapCenter.X, CENTERY, mapCenter.Y ); parent.parent.formFrame.Submit(pageUrl, params, _blank); }// fine else } 3. I would use in mapguide 2.0.2 the same templates of mg 2.0.1 es: aqua, marron, ecc.. How can I do? bye bye Alba ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Store point geom: ODBC or Native
What you should be asking is really three different things. 1) ODBC 2) Native 3) MSSQL Spatial I think there would be a general consensus that ODBC would be the slowest performing of the three. Native is quick, it would be acceptable. In my opinion you should be looking at MSSQL Spatial, in addition to the indexing that Zac mentioned, you also gain the benefit of spreading the workload out among other processes. You should run benchmarks to determine your best fit. Martin -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of zolinko Sent: Friday, April 24, 2009 4:12 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Store point geom: ODBC or Native Hi there, Can you tell me, how I should store point type geometry in an MSSQL server 2008 context? Which method is preferred: ODBC or MapGuide point type geometry? I use Mapguide 2010 Enterprise, so it has native support for MSSQL Spatial. Has anyone some experience in the theme? Thanks, Zoli... -- View this message in context: http://n2.nabble.com/Store-point-geom%3A-ODBC-or-Native-tp2691070p2691070.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] select the location on map
I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common\mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Ivan Milicevic *Sent:* Wednesday, April 22, 2009 1:52 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] select the location on map You can get it from some of them. Please, read descritption. *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *susan Daniel *Sent:* Wednesday, April 22, 2009 9:46 AM *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] select the location on map Thank u Can i get the source code of any of these sample applications? If so from where? regards susan On Wed, Apr 22, 2009 at 1:00 PM, Ivan Milicevic ivan.milice...@supranet.hr wrote: http://mapguide.osgeo.org/livegallery.html *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *susan Daniel *Sent:* Wednesday,
Re: [mapguide-users] select the location on map
hi..all Then what i have to do?Any solution to pass these sessionId and mapname regards susan On Fri, Apr 24, 2009 at 3:24 PM, Stefan Dalakov s.dala...@mapware.netwrote: These javascript.functions never get executed. I checked now, I added some alerts and they didn't show. susan Daniel wrote: HI.. I removed that brace but still the error is there regards susan On Fri, Apr 24, 2009 at 2:35 PM, Jackie Ng jumpinjac...@gmail.com wrote: I see an extra brace (the very first one) in the javascript block that could be messing everything up. - Jackie SusanDaniel wrote: hi all In order to display a form in the task pane i've the following code in ../mapviewerphp/window.php body script language=javascript { function getsession() { sessionId=parent.parent.mapframe.GetSessionId(); } function getmapname() { mapname=parent.parent.mapframe.GetMapName(); } /script form action=selectlocation.php method=get Enter PanId input type=text name=PanId/brbr input type=hiddenname=SESSION value=javascript:getsession()/ input type=hiddenname=MAPNAME value=javascript:getmapname()/ input type=submit value=Submit / /form *and in the selectlocation .php i am having * /head ?php $ID= $_GET['PanId']; ?.br / body class=AppFrame onLoad=OnPageLoad() h1 class=AppHeadingSelect features/h1 ?php include '../common/common.php'; $args = ($_SERVER['REQUEST_METHOD'] == POST)? $_POST: $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; try { // Initialize the Web Extensions and connect to the Server using // the Web Extensions session identifier stored in PHP session state. MgInitializeWebTier ($webconfigFilePath); $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $map = new MgMap($siteConnection); $map-Open($mapName); // Get the geometry for the boundaries of District 1 $districtQuery = new MgFeatureQueryOptions(); $districtQuery-SetFilter(pan_id==$ID); $layer = $map-GetLayers()-GetItem('Panchayat'); $featureReader = $layer-SelectFeatures($districtQuery); $featureReader-ReadNext(); $districtGeometryData = $featureReader- GetGeometry('Data'); // Convert the AGF binary data to MgGeometry. $agfReaderWriter = new MgAgfReaderWriter(); $districtGeometry = $agfReaderWriter-Read($districtGeometryData); // Create a filter to select the desired features. Combine // a basic filter and a spatial filter. $queryOptions = new MgFeatureQueryOptions(); $queryOptions-SetSpatialFilter('SHPGEOM', $districtGeometry, MgFeatureSpatialOperations::Inside); // Get the features from the feature source, // turn it into a selection, then save the selection as XML. $layer = $map-GetLayers()-GetItem(0); $featureReader = $layer-SelectFeatures($queryOptions); $layer = $map-GetLayers()-GetItem(0); $selection = new MgSelection($map); $selection-AddFeatures($layer, $featureReader, 0); $selectionXml = $selection-ToXml(); } catch (MgException $e) { echo $e-GetMessage(); echo $e-GetDetails(); } ? /body script language=javascript function OnPageLoad() { selectionXml = '?php echo $selectionXml; ?'; parent.parent.SetSelectionXML(selectionXml); } /script /body /html *This code..But when i enter the panId in the form this error is occuring * Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found.Invalid argument(s): [1] = javascript:getsession() The session ID is invalid because the session separator character was not found. Exception occurred in method MgUserInformation.SetMgSessionId at line 183 in file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\common\mapguidecommon\System/UserInformation.cpp Any mistake in my coding? Help me plss regards susan On Wed, Apr 22, 2009 at 9:01 PM, Dave Wilson dave.wil...@autodesk.comwrote: Did you check out the samples in the downloads area of Osgeo? http://mapguide.osgeo.org/download/releases/2.0.x-samples Dave *From:* mapguide-users-boun...@lists.osgeo.org [mailto: mapguide-users-boun...@lists.osgeo.org] *On Behalf Of *Ivan Milicevic *Sent:* Wednesday, April 22, 2009 1:52 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] select the location on map You can get it from some of them. Please, read descritption. *From:* mapguide-users-boun...@lists.osgeo.org [mailto:
[mapguide-users] Shortest Path
Hi, iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1) i have to do the shortest path for road network 1)How is it possible in mapguide 2)I havea oracle procedure for this shortest path but i didn't know how to implement it in mapguide??? Can u tell me the procedure or any sample code from scratch? plz Regards, Padmini. -- View this message in context: http://n2.nabble.com/Shortest-Path-tp2692203p2692203.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Compile FDO 3.4.0 on Ubuntu
Hi all, I'm trying to install Mapguide on Ubuntu 8.04, but i have some issues trying to build FDO. The script build_thirdparty.sh return this error, and i have no idea what is going wrong : libtool: compile: g++ -g -O2 -Wall -I/usr/local/OpenSource_FDO/Thirdparty/gdal/port -I/usr/local/OpenSource_FDO/Thirdparty/gdal/gcore -I/usr/local/OpenSource_FDO/Thirdparty/gdal/alg -I/usr/local/OpenSource_FDO/Thirdparty/gdal/ogr -I/usr/local/OpenSource_FDO/Thirdparty/gdal/ogr/ogrsf_frmts -I/usr/local/OpenSource_FDO/Thirdparty/gdal/frmts -DOGR_ENABLED -I/usr/local/OpenSource_FDO/Thirdparty/gdal/port -c testepsg.cpp -fPIC -DPIC -o .libs/testepsg.o libtool: compile: g++ -g -O2 -Wall -I/usr/local/OpenSource_FDO/Thirdparty/gdal/port -I/usr/local/OpenSource_FDO/Thirdparty/gdal/gcore -I/usr/local/OpenSource_FDO/Thirdparty/gdal/alg -I/usr/local/OpenSource_FDO/Thirdparty/gdal/ogr -I/usr/local/OpenSource_FDO/Thirdparty/gdal/ogr/ogrsf_frmts -I/usr/local/OpenSource_FDO/Thirdparty/gdal/frmts -DOGR_ENABLED -I/usr/local/OpenSource_FDO/Thirdparty/gdal/port -c testepsg.cpp -o testepsg.o /dev/null 21 /bin/sh /usr/local/OpenSource_FDO/Thirdparty/gdal/libtool --mode=link g++ testepsg.o /usr/local/OpenSource_FDO/Thirdparty/gdal/libgdal.la \ -o testepsg libtool: link: g++ testepsg.o -o .libs/testepsg /usr/local/OpenSource_FDO/Thirdparty/gdal/.libs/libgdal.so -L/usr/lib -lrt -ldl /usr/lib/libcurl.so /usr/lib/libidn.so -lldap -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lz -lgssapi_krb5 libtool: link: creating testepsg make[1]: quittant le répertoire « /usr/local/OpenSource_FDO/Thirdparty/gdal/apps » make: *** Pas de règle pour fabriquer la cible « install ». Arrêt. They are a lot of other similar lines before so i can't put it here. Any help would be very helpfull! Thanks Cyril -- View this message in context: http://n2.nabble.com/Compile-FDO-3.4.0-on-Ubuntu-tp2693032p2693032.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Query on Mapguide
http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 You will also want to modify your application pool's Advanced Settings (not sure it is called this on Vista) - under Process Model, set Idle Time-out to 0 minutes - under Recycling, set Disallow Overlapped Recycle to True The 2.1 installer should work on Vista, Windows 2008, by default. Jason From: tejaswi asmath Sent: April-23-09 10:12 PM Subject: [mapguide-users] Query on Mapguide Can some one give me the details of how to install Mapguide on windows vista. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Select and zoom to feature in Mapguide+Fusion
The API for the AJAX Viewer is not the same as that for Fusion. I believe some people have had success using the MapGuideViewerApi.js file provided as part of the Fusion framework to provide near-compatibility. It might be valuable to ask on this list (or on the fusion mailing list) how others have integrated this file. Chris. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Albina Penitente Sent: Friday, April 24, 2009 5:49 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I can do? 2. I think that the file C:\Programmi\MapGuideOpenSource2.0\WebServerExtensions\Help\viewerapi.html is not update for mg 2.0.2, because the instruction 'setSelection' does not exist where I can download a new viewer api? I must resolve this function function submitRequest(pageUrl) { xmlSel = parent.parent.mapFrame.GetSelectionXML(); if(xmlSel=='') alert(Selezionare Area Incendio); else{ mapScale = parent.parent.mapFrame.GetScale(); mapHeight = 600; mapWidth = 600; mapCenter = parent.parent.mapFrame.GetCenter(); params = new Array(SESSION, parent.parent.mapFrame.GetSessionId(), MAPNAME, parent.parent.mapFrame.GetMapName(), SELECTION, xmlSel, SCALE, mapScale, HEIGHT, mapHeight, WIDTH, mapWidth, CENTERX, mapCenter.X, CENTERY, mapCenter.Y ); parent.parent.formFrame.Submit(pageUrl, params, _blank); }// fine else } 3. I would use in mapguide 2.0.2 the same templates of mg 2.0.1 es: aqua, marron, ecc.. How can I do? bye bye Alba ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] New Enterprise Mapguide Samples unable to download.
i recently saw that the Enterprise Mapguide site has been updated with brand new samples!! http://enterprise.mapguide.com/landing/index.php when I click on the link to download the sample applications it runs to 14% then tells me the server needs to reset. I have tried it multiple times on multiple machines but to no luck. Anyone have any success? -- View this message in context: http://n2.nabble.com/New-Enterprise-Mapguide-Samples-unable-to-download.-tp2693832p2693832.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.
I'm having the same problem. It stalls at different percent downloaded, but stalls nonetheless. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this type of functionality into production. Andy Morsell, P.E. Spatial Integrators, Inc. www.SpatialGIS.com -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jonathan W Sent: Friday, April 24, 2009 10:33 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] New Enterprise Mapguide Samples unable to download. i recently saw that the Enterprise Mapguide site has been updated with brand new samples!! http://enterprise.mapguide.com/landing/index.php when I click on the link to download the sample applications it runs to 14% then tells me the server needs to reset. I have tried it multiple times on multiple machines but to no luck. Anyone have any success? -- View this message in context: http://n2.nabble.com/New-Enterprise-Mapguide-Samples-unable-to-download.-tp2 693832p2693832.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.
I'm sure Mike, Paul, Chris or someone else that actually knows what they're talking about will correct me if I'm wrong, but I'm pretty sure that if you're willing to install Fusion 2.0 on your own, you should be able to make it work with MapGuide 2.0.2. Jason -Original Message- From: Andy Morsell Sent: April-24-09 12:02 PM Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this type of functionality into production. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.
From following the discussions here, it had sounded like those who had tried to get Google Maps layers integrated into flexible layouts did not have full success. I also installed Fusion 2.0b and had miscellaneous problems so I reverted back to my most stable 1.0.1 with some manual fixes. I did post several Trac tickets so I hope those issues will be fixed in the release version of 2.0. At this point, while I generally enjoy dinking and trying new things, I simply don't have time to play with some of these upcoming features until full release versions of Fusion and MGOS and documentation on the features are made available. Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Friday, April 24, 2009 1:29 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. I'm sure Mike, Paul, Chris or someone else that actually knows what they're talking about will correct me if I'm wrong, but I'm pretty sure that if you're willing to install Fusion 2.0 on your own, you should be able to make it work with MapGuide 2.0.2. Jason -Original Message- From: Andy Morsell Sent: April-24-09 12:02 PM Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this type of functionality into production. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.
Fusion 2.0 is supposed to support Google layers simply by adding them to the ApplicationDefinition for the layout. I played with it a bit, but ran into problems and then ran out of time. The Fusion developers are aware of the issues, and I believe they are working on fixes. The samples that show Google overlaid on Fusion take a slightly different approach by modifying the templates and/or using InvokeScript commands to add/remove the Google layers from the underlying OpenLayers map object used by Fusion. It is quite easy to do with a few lines of JavaScript. Chris. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Friday, April 24, 2009 2:54 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. From following the discussions here, it had sounded like those who had tried to get Google Maps layers integrated into flexible layouts did not have full success. I also installed Fusion 2.0b and had miscellaneous problems so I reverted back to my most stable 1.0.1 with some manual fixes. I did post several Trac tickets so I hope those issues will be fixed in the release version of 2.0. At this point, while I generally enjoy dinking and trying new things, I simply don't have time to play with some of these upcoming features until full release versions of Fusion and MGOS and documentation on the features are made available. Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Friday, April 24, 2009 1:29 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. I'm sure Mike, Paul, Chris or someone else that actually knows what they're talking about will correct me if I'm wrong, but I'm pretty sure that if you're willing to install Fusion 2.0 on your own, you should be able to make it work with MapGuide 2.0.2. Jason -Original Message- From: Andy Morsell Sent: April-24-09 12:02 PM Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this type of functionality into production. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] New Enterprise Mapguide Samples unable to download.
Thanks Chris. I would prefer to go the Google layers overlaid on Fusion route so will explore that further. I was able to look at the index.html file for the GoogleSlate template on the MapGuide Enterprise demo page and it looks reasonably straight-forward. I'll have to setup another test environment and give it a whirl when I get a few free cycles. Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Chris Claydon Sent: Friday, April 24, 2009 2:03 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. Fusion 2.0 is supposed to support Google layers simply by adding them to the ApplicationDefinition for the layout. I played with it a bit, but ran into problems and then ran out of time. The Fusion developers are aware of the issues, and I believe they are working on fixes. The samples that show Google overlaid on Fusion take a slightly different approach by modifying the templates and/or using InvokeScript commands to add/remove the Google layers from the underlying OpenLayers map object used by Fusion. It is quite easy to do with a few lines of JavaScript. Chris. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Friday, April 24, 2009 2:54 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. From following the discussions here, it had sounded like those who had tried to get Google Maps layers integrated into flexible layouts did not have full success. I also installed Fusion 2.0b and had miscellaneous problems so I reverted back to my most stable 1.0.1 with some manual fixes. I did post several Trac tickets so I hope those issues will be fixed in the release version of 2.0. At this point, while I generally enjoy dinking and trying new things, I simply don't have time to play with some of these upcoming features until full release versions of Fusion and MGOS and documentation on the features are made available. Andy -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Jason Birch Sent: Friday, April 24, 2009 1:29 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. I'm sure Mike, Paul, Chris or someone else that actually knows what they're talking about will correct me if I'm wrong, but I'm pretty sure that if you're willing to install Fusion 2.0 on your own, you should be able to make it work with MapGuide 2.0.2. Jason -Original Message- From: Andy Morsell Sent: April-24-09 12:02 PM Subject: RE: [mapguide-users] New Enterprise Mapguide Samples unable to download. The Flexible Web Layouts using Google Maps API is super cool and exactly what many of us have been waiting for. I'm looking forward to MGOS 2.1 being released in the near future so I can put this type of functionality into production. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users