Re: [mapguide-users] Mapguide Site Login Problem
Hi, my url was http://localhost/mapguide/mapadmin/login.php. this url was correct. but the problem is with Fatal error: Call to undefined function MgInitializeWebTier() in C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapadmin\login.php on line 71 can anyone tell em the solution? Regards, Padmini. djutopie wrote: > > if you didn't change installation setting the right URL is : > > http://localhost:8008/mapguide/mapadmin/login.php > http://localhost:8008/mapguide/mapadmin/login.php > -- View this message in context: http://n2.nabble.com/Mapguide-Site-Login-Problem-tp2866923p2887982.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] MGE2010 fusion and openlayers 2-7
It would be safer to replace OpenLayers.js in the Fusion directories with your own. Cheers Paul On 13-May-09, at 9:21 PM, Ran Mahiru wrote: Not sure if anyone has tried this yet but... am considering using MGE2010 for a production system but will most likely need some of the functions of OL that are not in the default fusion installation. Any idea how stable the system would be if I were to use a fusion (i.e. a flex layout), but load the full openlayers scripts after the call to load fusion? Liz ___ 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] MGE2010 fusion and openlayers 2-7
Not sure if anyone has tried this yet but... am considering using MGE2010 for a production system but will most likely need some of the functions of OL that are not in the default fusion installation. Any idea how stable the system would be if I were to use a fusion (i.e. a flex layout), but load the full openlayers scripts after the call to load fusion? Liz ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Gdal and php
No way to manipulate rasters? thats crazy.. -- View this message in context: http://n2.nabble.com/Gdal-and-php-tp2869685p2886342.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] .NET viewer sample: query tool
I have recently fixed the ODBC spatial context problem in Maestro, but not yet released a preview build. If you build Maestro from source, it should work. Regards, Kenneth Skovhede, GEOGRAF A/S Jackie Ng skrev: If you are using MapGuide Studio, the feature source editor allows you to specify a coordinate system for your point geometry tables. I don't know if Maestro has exposed this same capability. - Jackie nasp wrote: The problem is for layer with FDO Provider: OSGeo.ODBC and it's ok for SDF layers. OSGeo.ODBC data connection has no spatial context information (SDF layer connection has it!). Do you know how can I provide spatial context information for ODBC geometry? Regards, Naspi Jackie Ng wrote: If you look at the server error logs, do they reveal any more information at the time of failure? - Jackie nasp wrote: Thank you for your answer. Mapguide version is 2.0.2 with FDO 3.4 The map has EPSG=3003 Any ideas? Jackie Ng wrote: Are you using the latest release of MapGuide? Also, do your maps/layers/feature sources have defined coordinate systems? - Jackie nasp wrote: Hi, I downloaded .NET sample application. Everything works fine but not the query tool. In query\classes\query.aspx, Execute() procedure, I got an error (MgUnclassifiedException) at this line centerPoint = (MgPoint) centerPoint.Transform(csTransform); Can someone help me, please? Regards, Naspi ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] WebServerExtensions Installation
The steps for configuring the WebExtensions can be found here: http://trac.osgeo.org/mapguide/wiki/MGOS2onVistaIIS7 Regards, Kenneth Skovhede, GEOGRAF A/S Stefan Dalakov skrev: Thank you Jackie, I will give it a try Stefan Dalakov Jackie Ng wrote: The installer is doing the following: 1) Installing to C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions - If Apache, configures httpd.conf based on your installer preferences. - If IIS, creates the virtual directories and sets up the script mappings (php, aspx, jsp, fcgi) based on your installer preferences. - If manual config, nothing else is done (I believe) What you could do is install the web server extensions into a test machine. Then grab all the files under WebServerExtensions, upload it to your remote host and manually install and configure from there. - Jackie S.Dalakov wrote: Hi all, I want to (try to) install MGOS2.02 (WebServerExtensions) on a commercial hosting, so my question is : Is it possible to configure WebServerExtensions manually - no provider will let me run an executable ? What in fact is the installer doing (except to copy files) ? Thank you in advance Stefan Dalakov ___ 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] Modifying SymbolDefinition programmatically
Jackie, thank you very much:jumping:! The following code runs, but with one exception. I'm loosing the formatting in XML viewer. Maybe somone have the same problem, here a code snippet. It replaces the Default Value for ROTATION parameter with a database field "Winkel". I know, it's very straightforward (sorry I'm not a programmer) but it runs: $resourceID = new MgResourceIdentifier("Library://acadblocktest/import/"); $byteReader = $resourceService->EnumerateResources($resourceID, -1, ""); $XmlSym = $byteReader->ToString(); $SymDomDoc = DOMDocument::loadXML($XmlSym); $Spath = new DOMXPath($SymDomDoc); $Squery = '//ResourceDocument/ResourceId'; $Snodes = $Spath->query($Squery); foreach ($Snodes as $Snode) { $Sname = $Snode->nodeValue; echo "$Sname"; $resourceID = new MgResourceIdentifier($Sname); $byteReader = $resourceService->GetResourceContent($resourceID); $Xml = $byteReader->ToString(); $LDomDoc = DOMDocument::loadXML($Xml); echo "DomDoc erzeugt"; print $LDomDoc->saveXML(); echo ""; $I = -1;//zählt die gefundenen Elemente $xpath = new DOMXPath($LDomDoc); $query = '//ParameterDefinition/Parameter/Identifier'; $nodes = $xpath->query($query); foreach ($nodes as $node ) { $Ident = $node->nodeValue; echo "$Ident"; $I = $I + 1; if($Ident == "ROTATION") { $Pos = $I; echo "Position: $I"; } } //jetzt Ausgabe des zugehörigen DefaultValue $Parameter = $LDomDoc->getElementsByTagName("DefaultValue")->item($I); $Winkel = $Parameter->nodeValue; echo "alter Winkel: $Winkel"; //und hier wird dem NodeValue der neue Wert zugewiesen $Parameter->nodeValue = "Winkel"; $updatedXml = $LDomDoc->saveXML(); $byteSource = new MgByteSource($updatedXml, strlen($updatedXml)); $byteSource->SetMimeType(MgMimeType::Xml); $resourceId = new MgResourceIdentifier($Sname); $resourceService->SetResource($resourceId, $byteSource->GetReader(), null); } Thanks against. Regards - Peter Jackie Ng wrote: > > I don't know much about Symbol Definitions, but all resources in mapguide > (including Symbol Definitions) are XML data. > > So you could use the Resource Service APIs to get the resource content, > edit the xml content (with your XML access library/api of choice) and save > back the changes. This can be done with any resource. > > - Jackie > > > psciga wrote: >> >> Hello, >> >> can you tell me please, how to modify the symbol definition with php? >> >> Following background: >> >> In AutoCAD I have several hundred blocks. The import into MGOS 2 via MG >> Studio 2009 works fine. The once problem is, that the parameter for >> ROTATION >> have a DefaultValue = 0. This default value I want to replace with a >> field >> name "winkel" from the MySQL database. It is easy to do this by hand for >> some symbols, but with for 657 symbol definitions I become crazy ;-) . >> >> How can I replace this default value using php? >> >> Thanks in advance. >> >> Regards - Peter >> > > -- View this message in context: http://n2.nabble.com/Modifying-SymbolDefinition-programmatically-tp2879871p2884723.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] Mapguide Site Login Problem
djutopie wrote: > > if you didn't change installation setting the right URL is : > > http://localhost:8008/mapguide/mapadmin/login.php > http://localhost:8008/mapguide/mapadmin/login.php > -- View this message in context: http://n2.nabble.com/Mapguide-Site-Login-Problem-tp2866923p2884170.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] Mapguide Site Login Problem
if you didn't change installation setting the right URL is : http://localhost/mapguide/mapadmin/login.php http://localhost/mapguide/mapadmin/login.php -- View this message in context: http://n2.nabble.com/Mapguide-Site-Login-Problem-tp2866923p2884166.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] Gdal and php
Hi, and thank you for your answer. I didn't understand how it was working I understand better now. My problem is that I need to manipulate programmaticaly 32-bits Raster files (Geotiff) and catching the values of the pixels to show a legend label for each value for example. I was watching on GDAL because I was thinking it'll maybe help me managing to do that. Do you know if it's possible to do that? if yes how? I'm stuck on this until days please if you have an answer tell me. Julien. -- View this message in context: http://n2.nabble.com/Gdal-and-php-tp2869685p2884081.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] WebServerExtensions Installation
Thank you Jackie, I will give it a try Stefan Dalakov Jackie Ng wrote: The installer is doing the following: 1) Installing to C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions - If Apache, configures httpd.conf based on your installer preferences. - If IIS, creates the virtual directories and sets up the script mappings (php, aspx, jsp, fcgi) based on your installer preferences. - If manual config, nothing else is done (I believe) What you could do is install the web server extensions into a test machine. Then grab all the files under WebServerExtensions, upload it to your remote host and manually install and configure from there. - Jackie S.Dalakov wrote: Hi all, I want to (try to) install MGOS2.02 (WebServerExtensions) on a commercial hosting, so my question is : Is it possible to configure WebServerExtensions manually - no provider will let me run an executable ? What in fact is the installer doing (except to copy files) ? Thank you in advance Stefan Dalakov ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] .NET viewer sample: query tool
If you are using MapGuide Studio, the feature source editor allows you to specify a coordinate system for your point geometry tables. I don't know if Maestro has exposed this same capability. - Jackie nasp wrote: > > The problem is for layer with FDO Provider: OSGeo.ODBC and it's ok for SDF > layers. > > OSGeo.ODBC data connection has no spatial context information (SDF layer > connection has it!). > Do you know how can I provide spatial context information for ODBC > geometry? > > Regards, > Naspi > > > Jackie Ng wrote: >> >> If you look at the server error logs, do they reveal any more information >> at the time of failure? >> >> - Jackie >> >> >> nasp wrote: >>> >>> Thank you for your answer. >>> >>> Mapguide version is 2.0.2 with FDO 3.4 >>> >>> The map has EPSG=3003 >>> >>> Any ideas? >>> >>> >>> >>> Jackie Ng wrote: Are you using the latest release of MapGuide? Also, do your maps/layers/feature sources have defined coordinate systems? - Jackie nasp wrote: > > Hi, > I downloaded .NET sample application. > Everything works fine but not the query tool. > In query\classes\query.aspx, Execute() procedure, I got an error > (MgUnclassifiedException) at this line > > centerPoint = (MgPoint) > centerPoint.Transform(csTransform); > > Can someone help me, please? > > Regards, > Naspi > > > > > >>> >>> >> >> > > -- View this message in context: http://n2.nabble.com/.NET-viewer-sample%3A-query-tool-tp2868356p2883850.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] WebServerExtensions Installation
The installer is doing the following: 1) Installing to C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions - If Apache, configures httpd.conf based on your installer preferences. - If IIS, creates the virtual directories and sets up the script mappings (php, aspx, jsp, fcgi) based on your installer preferences. - If manual config, nothing else is done (I believe) What you could do is install the web server extensions into a test machine. Then grab all the files under WebServerExtensions, upload it to your remote host and manually install and configure from there. - Jackie S.Dalakov wrote: > > Hi all, > I want to (try to) install MGOS2.02 (WebServerExtensions) on a commercial > hosting, so my question is : > Is it possible to configure WebServerExtensions manually - no provider > will let me run an executable ? What in fact is the installer doing > (except to copy files) ? > > Thank you in advance > Stefan Dalakov > > -- View this message in context: http://n2.nabble.com/WebServerExtensions-Installation-tp2883554p2883636.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] Modifying SymbolDefinition programmatically
I don't know much about Symbol Definitions, but all resources in mapguide (including Symbol Definitions) are XML data. So you could use the Resource Service APIs to get the resource content, edit the xml content (with your XML access library/api of choice) and save back the changes. This can be done with any resource. - Jackie psciga wrote: > > Hello, > > can you tell me please, how to modify the symbol definition with php? > > Following background: > > In AutoCAD I have several hundred blocks. The import into MGOS 2 via MG > Studio 2009 works fine. The once problem is, that the parameter for > ROTATION > have a DefaultValue = 0. This default value I want to replace with a field > name "winkel" from the MySQL database. It is easy to do this by hand for > some symbols, but with for 657 symbol definitions I become crazy ;-) . > > How can I replace this default value using php? > > Thanks in advance. > > Regards - Peter > -- View this message in context: http://n2.nabble.com/Modifying-SymbolDefinition-programmatically-tp2879871p2883580.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] WebServerExtensions Installation
Hi all, I want to (try to) install MGOS2.02 (WebServerExtensions) on a commercial hosting, so my question is : Is it possible to configure WebServerExtensions manually - no provider will let me run an executable ? What in fact is the installer doing (except to copy files) ? Thank you in advance Stefan Dalakov -- View this message in context: http://n2.nabble.com/WebServerExtensions-Installation-tp2883554p2883554.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] Mapguide 2.1 Fusion 2 - Measure tool
Fusion has a MapGuide 2.1 specific branch, the beta may have stuff that has not made it into this branch? Speaking of the Measure Tool, have they addressed this problem yet? http://trac.osgeo.org/mapguide/ticket/325 (and closely related: http://trac.osgeo.org/mapguide/ticket/333) These tickets are quite trivial, fixing it would improve usability greatly. - Jackie Berdel, Brian wrote: > > The measure tool in fusion is very erratic since the update to 2. It > works pretty well in the beta download but not in the version in the 2.1 > installer or the svn version. I have tried replacing the widget from the > beta and tried different versions of open layers but have not had success. > > Basically, in the 2.1 installer version it works pretty well, but it takes > 4 clicks to end the segment. Also the escape key no longer works to clear > it.I was testing in IE7 > > Brian > > > ___ > 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/Mapguide-2.1-Fusion-2---Measure-tool-tp2883421p2883546.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] Mapguide 2.1 Fusion 2 - Measure tool
The measure tool in fusion is very erratic since the update to 2. It works pretty well in the beta download but not in the version in the 2.1 installer or the svn version. I have tried replacing the widget from the beta and tried different versions of open layers but have not had success. Basically, in the 2.1 installer version it works pretty well, but it takes 4 clicks to end the segment. Also the escape key no longer works to clear it. I was testing in IE7 Brian ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] How to create DWF in MGE2010 webapi
Thx nasp wrote: > > I think you could start with "Plot to DWF" functionality of MG Sample > Application ('plot' subdirectory). > > Bye > Naspi > > > > > zolinko wrote: >> >> Hi All, >> Is there any method to create DWF file >> from a defined groups of layers in Mapguide Enterprise 2010 >> through the web api? >> TIA >> Zooli... >> > > -- View this message in context: http://n2.nabble.com/How-to-create-DWF-in-MGE2010-webapi-tp2880475p2881943.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] How to create DWF in MGE2010 webapi
I think you could start with "Plot to DWF" functionality of MG Sample Application ('plot' subdirectory). Bye Naspi zolinko wrote: > > Hi All, > Is there any method to create DWF file > from a defined groups of layers in Mapguide Enterprise 2010 > through the web api? > TIA > Zooli... > -- View this message in context: http://n2.nabble.com/How-to-create-DWF-in-MGE2010-webapi-tp2880475p2881402.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] How to create DWF in MGE2010 webapi
Hi All, Is there any method to create DWF file from a defined groups of layers in Mapguide Enterprise 2010 through the web api? TIA Zooli... -- View this message in context: http://n2.nabble.com/How-to-create-DWF-in-MGE2010-webapi-tp2880475p2880475.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] Modifying SymbolDefinition programmatically
Hello, can you tell me please, how to modify the symbol definition with php? Following background: In AutoCAD I have several hundred blocks. The import into MGOS 2 via MG Studio 2009 works fine. The once problem is, that the parameter for ROTATION have a DefaultValue = 0. This default value I want to replace with a field name "winkel" from the MySQL database. It is easy to do this by hand for some symbols, but with for 657 symbol definitions I become crazy ;-) . How can I replace this default value using php? Thanks in advance. Regards - Peter -- View this message in context: http://n2.nabble.com/Modifying-SymbolDefinition-programmatically-tp2879871p2879871.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] Selection problem with King.Oracle provider
The datatype according fdo2fdo Schema Manager is Int32 and the values for the OID (->NUMBER(20) in Oracle) column for two selected Objects are 325204800157 and 325204800158. It seems that these values are too big for Int32 and the conversion results in the same value for the selection-ID... So the question is why King.Oracle applies the mapping from NUMBER(20) to Int32? Is this a bug or do I miss something? Andreas > -Original Message- > From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users- > boun...@lists.osgeo.org] On Behalf Of Simon Pelicon > Sent: Wednesday, May 13, 2009 8:47 AM > To: MapGuide Users Mail List > Subject: Re: [mapguide-users] Selection problem with King.Oracle > provider > > Hi! > It looks like that there is some problem with primary key field you > defined. > What data type is OID column? > Check if data are ok in OID column. > > Simon > > Andreas Morf wrote: > > Within a project I switched from SDF provider to king.oracle (0.8.9) > and > > now, selection in fusion doesn't work anymore for same data (no > error, but > > no highlighting nor attributes) > > After investigating a little bit I found the following Selection-XML > in > > Query.php: > > > > King.Oracle: > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > > xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> > id="b3eefd0c---8000-00187186e6ed"> > id="KingOra:GEORI_AV~AV_BB_GEBAEUDE~GEOMETRY"> AA== > > AA== AA== AA== > > AA== AA== > > > > This, of course doesn't make lot of sense... > > > > A primary key was set with fdo2fdo for a column named 'OID' > > > > Any explanation for this problem? > > > > Thanks, Andreas > > > > ___ > > 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] Mapguide Site Login Problem
Hi, thanks for ur replies i have done all these steps told by u but of no use :,( i found that error in c:\progam Files\MapguideOpensource2.0\webserverExtensions\www\mapadmin\login.php and the error was Fatal error: Call to undefined function MgInitializeWebTier() in C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\mapadmin\login.php on line 70 i think the problem may be with that php_Mapguideapi.dll can anyone plz tell me the solution to access mapguide server plz Regards, Padmini. djutopie wrote: > > click on start -> execute and type "services.msc", you need > MapguideServer and ApacheMapguide started both. > -- View this message in context: http://n2.nabble.com/Mapguide-Site-Login-Problem-tp2866923p2879395.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