Re: [mapguide-users] How to embed the map in my own web page?
Yes, it is possible. My favorite method is to embed the Map in an Iframe: html body h1This is my webpage with an embedded map!/h1 iframe src=/mapguide/mapviewerajax/?weblayout=Library://mylayout.WebLayoutusername=Anonymouspassword= width=100% height=100%/iframe /body /html By adding commands, do you mean from code? What sort of commands do you want to add, and why is Studio not an option? Regards, Kenneth, GEOGRAF A/S dorra2007 skrev: Hello all; I have one precise question: Is it possible to display the mapguide map in my own web page? If yes; what should I do? And how could I add commands without using mapguide studio? Thank you in advance. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Studio 2008 Trial incompatible with MG2.0RC1
http://mapguide.osgeo.org/download/relatedlinks Regards, Kenneth, GEOGRAF A/S Krunoslav skrev: The Studio Version is incompatible with site version. Where can we download patched dll which would make Studio2008 compatible with MGOS2.0 ? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] 2.0Rc1 Selection
Great improvement in this release! However when making a selection, no attributes or values are displayed in the Selection Pane. It recognizes what is selected, but there are no values displayed. (tried with multiple maps and multiple layers.) Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Urgent !!!! - Cannot Create any more connections to FDO provider
Hi there, I have the same problem. I have implemented a real time application which update feature attributes every 30 seconds. After 20 iterations, the systen hangs and then I get the same error Cannot Create any more connections to FDO provider. Any help would much appreciated. I have very similar code to Mark's one. regards, Mark Pendergraft wrote: Okay, I have a feature source, which contains quarters of sections.. I have written a program to create multipolygons of the quarter polygons and add the data from the individual polygons. It works fine, except when I set it to iterate through the entire set. Inside a loop I set the feature reader to the selection Get the features, run a function to convert them to a multipolygon Then dispose of the featureReader, then change my filter, then repeat the loop I get through about 40 iterations before I crash and get the message Cannot Create any more Connections to OSGeo.SDF FDO provider My question is What is creating the FDO connection? I thought it was when I create the FeatureReader... but since I'm closing and disposing each time, I'm no longer sure. What can I do in order to make my site loop through several thousand iterations (many of which will be empty) read the resulting features and write them to new features? My loop looks like this: Do While rngI 3 filter = IncrementSecTwnRng(secI, twnI, rngI) queryOpt.SetFilter(filter) fr = featureService.SelectFeatures(New MgResourceIdentifier(lay.GetFeatureSourceId), lay.GetFeatureClassName, queryOpt) propertyCollection = CreateMultiPolygon(fr, lay.GetFeatureGeometryName) If Not propertyCollection Is Nothing Then batchPropertyCollection.Add(propertyCollection) End If fr.Close() fr.Dispose() Loop Thanks for the help! -Mark Pendergraft Ph: (425) 486-1252 Fx: (425) 486-6108 www.meadgilman.com http://www.meadgilman.com/ ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/Cannot-Create-any-more-connections-to-FDO-provider-tp11694089s16610p14975874.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] MGOS 2.0 RC1 - First Thoughts on Migration
Just want to add, there is no postgis provider. I've tried to copy postgis FDO provider version 3.3.0 manually but it doesn't work. There are no option to put connection parameters. Postgis FDO provider 3.2.0 Alpha works with limitation, MGOS v.2.0 RC1 able to show the data but i couldn't make a selection on it. - Original Message From: Crispin @ 1Spatial [EMAIL PROTECTED] To: mapguide-users@lists.osgeo.org Sent: Monday, January 28, 2008 4:45:24 PM Subject: [mapguide-users] MGOS 2.0 RC1 - First Thoughts on Migration Hi, A few comments on RC1 (mainly on install and migration as getting further may take some support!)... 1) On one PC (but not another) the mapguide IIS Virtual was configures with .net 1 not 2.0 throwing an error in studio with the .net extensions 2) I needed to run RecoverRepositories batch file on repositories before the documented UpgradeRepositories and SetupRepositoriesIndices would run without error 3) There was/is/are no King or MSSQLServer providers in the distribution 4) A manual copy of King from the FDO 3.3 distribution failed on one PC with a Studio 2008 Could Not Establish Connection (and worked on one PC) The provider displays a different interface including Data Files (or is my memory playing tricks?) 5) Creating a layer based on KingOracle 3.3 fails on the PC where the DataConnection connects Title: Unable to complete request to site. Invalid Argument(s): [1] = -1 The value is invalid because it is too small. Resource ID does not refer to a valid feature source. -- View this message in context: http://www.nabble.com/MGOS-2.0-RC1---First-Thoughts-on-Migration-tp15136674s16610p15136674.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 Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Working around/Disabling FastCGI in MGOS 1.2
... also an additional question that has been in my mind for ages if there is an FCGI expert replying ... MS have now released the FastCGI extension thing for IIS 6 and built support right into IIS7 on Win2008 - was FCGI actually a better solution that just didn't work 100% on IIS or is ISAPI superior regardless? Did FCGI die in MGOS 2.0 or is it a configuration option like the renderer? Thanks people, Crispin -- View this message in context: http://www.nabble.com/Working-around-Disabling-FastCGI-in-MGOS-1.2-tp14794134s16610p14835223.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] Fusion support in MapStudio OS
Does MapStudio work with Mapguide 2007 and the latest version of Fusion? Do you have a demo website that I can have a look at? thanks Kenneth, GEOGRAF A/S wrote: I have placed an updated version of MapStudio Open Source at: http://code.google.com/p/mapstudioos/ The new version supports creating and editing Fusion applications. Feedback is appreciated, and you may post feedback on the issue tracker found on the page. -- Regards, Kenneth, GEOGRAF A/S ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/Fusion-support-in-MapStudio-OS-tp15124907s16610p15141047.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] MGOS 2.0 RC1 - First Thoughts on Migration
Hi, A few comments on RC1 (mainly on install and migration as getting further may take some support!)... 1) On one PC (but not another) the mapguide IIS Virtual was configures with .net 1 not 2.0 throwing an error in studio with the .net extensions 2) I needed to run RecoverRepositories batch file on repositories before the documented UpgradeRepositories and SetupRepositoriesIndices would run without error 3) There was/is/are no King or MSSQLServer providers in the distribution 4) A manual copy of King from the FDO 3.3 distribution failed on one PC with a Studio 2008 Could Not Establish Connection (and worked on one PC) The provider displays a different interface including Data Files (or is my memory playing tricks?) 5) Creating a layer based on KingOracle 3.3 fails on the PC where the DataConnection connects Title: Unable to complete request to site. Invalid Argument(s): [1] = -1 The value is invalid because it is too small. Resource ID does not refer to a valid feature source. -- View this message in context: http://www.nabble.com/MGOS-2.0-RC1---First-Thoughts-on-Migration-tp15136674s16610p15136674.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] Fusion .NET API
Has anyone started on this yet? I would happy to help port the existing scripts. But I would like some help getting started if possible...Is there any documentation or anything to assist me? Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer Sent: Wednesday, January 16, 2008 10:15 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Hi Bill, Fusion is designed to work with other scripting languages on the server side but porting the existing scripts to the other languages has not been done. This would be an ideal candidate for contributions to the open source community. Cheers Paul On 10-Jan-08, at 8:06 AM, Kimbrell, Bill wrote: Are there plans for Fusion to work with .NET? And if so, any idea of dates ? Thanks, Bill Kimbrell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair Sent: Wednesday, January 09, 2008 5:17 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Fusion will only work with PHP at this point. For the layer toggling issue, I'm not seeing this bug. Are you using a tiled map? If so, layer toggling won't work because the tiles are served up with layers on or off as specified by the mapguide server. If you're not using a tiled map, is there a public instance of your app that we can look at? Mike Adair Berdel, Brian wrote: Not getting much of a response here...So I'll try another question. Does Fusion work with the .NET configuration of IIS or PHP only? I have tried it the samples on multiple machines and cannot get it to work. Has anyone got it to work with .NET? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 1:11 PM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Some layers actually never load on the samples, and I noticed in firefix that the status bar says transferring data from local host it just hangs there... Any ideas? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 10:10 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Is everyone else's working correctly? Just wondering if it is something I did, or didn't do...If I view a map in a regular viewer the layers work as they are supposed to...However, if I view a fusion sample or one of my maps in fusion, they do not respond to the checkboxes... If I try to turn them on or off, nothing happens... *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Tuesday, January 08, 2008 4:58 PM *To:* MapGuide Users Mail List *Subject:* [mapguide-users] Fusion - Layers do not turn off / on Just started testing fusion and 2.0...Is anyone else having issues where their layers will not turn on or off once the map is loaded? The fusion samples load up correctly, but when I attempt to turn a layer on or off, the screen just flashes and nothing happens. The other normal mapping functionalities are available. Thanks, -Brian *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Tuesday, January 08, 2008 4:42 PM *To:* MapGuide Users Mail List *Subject:* [mapguide-users] Symbols 2.0 Sorry if this is a known issue, but I did a quick search and couldn't find anything... All of my symbols are appearing on top of each other in the lower left hand corner of my map in 2.0 beta2. Anyone else? Thanks, Brian *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Marc Pfister *Sent:* Tuesday, January 08, 2008 3:31 PM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Mapguide with no map... I am using the Sheboygan data, and I checked the extents and they are correct. I'm confused as to why the Sheboygan dataset is throwing Unsupported coordinate system code when I'm trying to output to 4326. That shouldn't happen. *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Kenneth, GEOGRAF A/S *Sent:* Tuesday, January 08, 2008 12:06 PM *To:* MapGuide Users Mail List *Subject:* Re: [mapguide-users] Mapguide with no map... You should try with some data that you know the bounds of (Sheboygan perhaps?). I have seen many cases, where the auto-calculated map extents are wrong. Regards,
RE: [mapguide-users] Fusion .NET API
Ok, thanks Paul. I'll see what I can do when I get some time. If anyone else wants to coordinate and convert a few pages, that would be a big help too! Thanks, Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer Sent: Monday, January 28, 2008 3:56 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion .NET API Brian, there is no documentation on the existing PHP scripts except what is inline with the code. I would expect the process to be something like: 1) create MapGuide/asp directory 2) create a *.asp file for each *.php file in the php directory 3) rewrite each *.asp file in ASP. The PHP code should be pretty readable and the MapGuide API is identical (or should be) so it is just a matter of changing the syntax around I hope. I'm sure there are different To get Fusion to use the asp version of the files, you will need to edit the config.json file and set the 'technology' from php to asp. There will likely be small bugs in the framework that need to be fixed at this point because we haven't actually used it with a different technology yet. Cheers Paul On 28-Jan-08, at 1:22 PM, Berdel, Brian wrote: Has anyone started on this yet? I would happy to help port the existing scripts. But I would like some help getting started if possible...Is there any documentation or anything to assist me? Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer Sent: Wednesday, January 16, 2008 10:15 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Hi Bill, Fusion is designed to work with other scripting languages on the server side but porting the existing scripts to the other languages has not been done. This would be an ideal candidate for contributions to the open source community. Cheers Paul On 10-Jan-08, at 8:06 AM, Kimbrell, Bill wrote: Are there plans for Fusion to work with .NET? And if so, any idea of dates ? Thanks, Bill Kimbrell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair Sent: Wednesday, January 09, 2008 5:17 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Fusion will only work with PHP at this point. For the layer toggling issue, I'm not seeing this bug. Are you using a tiled map? If so, layer toggling won't work because the tiles are served up with layers on or off as specified by the mapguide server. If you're not using a tiled map, is there a public instance of your app that we can look at? Mike Adair Berdel, Brian wrote: Not getting much of a response here...So I'll try another question. Does Fusion work with the .NET configuration of IIS or PHP only? I have tried it the samples on multiple machines and cannot get it to work. Has anyone got it to work with .NET? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 1:11 PM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Some layers actually never load on the samples, and I noticed in firefix that the status bar says transferring data from local host it just hangs there... Any ideas? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 10:10 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Is everyone else's working correctly? Just wondering if it is something I did, or didn't do...If I view a map in a regular viewer the layers work as they are supposed to...However, if I view a fusion sample or one of my maps in fusion, they do not respond to the checkboxes... If I try to turn them on or off, nothing happens... *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Tuesday, January 08, 2008 4:58 PM *To:* MapGuide Users Mail List *Subject:* [mapguide-users] Fusion - Layers do not turn off / on Just started testing fusion and 2.0...Is anyone else having issues where their layers will not turn on or off once the map is loaded? The fusion samples load up correctly, but when I attempt to turn a layer on or off, the screen just flashes and nothing happens. The other normal mapping functionalities are available. Thanks, -Brian *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
RE: [mapguide-users] 2.0Rc1 Selection
Only tried with Fusion Template... Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Berdel, Brian Sent: Monday, January 28, 2008 9:33 AM To: MapGuide Users Mail List Subject: [mapguide-users] 2.0Rc1 Selection Great improvement in this release! However when making a selection, no attributes or values are displayed in the Selection Pane. It recognizes what is selected, but there are no values displayed. (tried with multiple maps and multiple layers.) Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.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] Fusion .NET API
Brian, there is no documentation on the existing PHP scripts except what is inline with the code. I would expect the process to be something like: 1) create MapGuide/asp directory 2) create a *.asp file for each *.php file in the php directory 3) rewrite each *.asp file in ASP. The PHP code should be pretty readable and the MapGuide API is identical (or should be) so it is just a matter of changing the syntax around I hope. I'm sure there are different To get Fusion to use the asp version of the files, you will need to edit the config.json file and set the 'technology' from php to asp. There will likely be small bugs in the framework that need to be fixed at this point because we haven't actually used it with a different technology yet. Cheers Paul On 28-Jan-08, at 1:22 PM, Berdel, Brian wrote: Has anyone started on this yet? I would happy to help port the existing scripts. But I would like some help getting started if possible...Is there any documentation or anything to assist me? Brian Berdel McMahon Associates, Inc. p: 215.283.9444 www.mcmtrans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spencer Sent: Wednesday, January 16, 2008 10:15 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Hi Bill, Fusion is designed to work with other scripting languages on the server side but porting the existing scripts to the other languages has not been done. This would be an ideal candidate for contributions to the open source community. Cheers Paul On 10-Jan-08, at 8:06 AM, Kimbrell, Bill wrote: Are there plans for Fusion to work with .NET? And if so, any idea of dates ? Thanks, Bill Kimbrell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Adair Sent: Wednesday, January 09, 2008 5:17 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Fusion Fusion will only work with PHP at this point. For the layer toggling issue, I'm not seeing this bug. Are you using a tiled map? If so, layer toggling won't work because the tiles are served up with layers on or off as specified by the mapguide server. If you're not using a tiled map, is there a public instance of your app that we can look at? Mike Adair Berdel, Brian wrote: Not getting much of a response here...So I'll try another question. Does Fusion work with the .NET configuration of IIS or PHP only? I have tried it the samples on multiple machines and cannot get it to work. Has anyone got it to work with .NET? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 1:11 PM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Some layers actually never load on the samples, and I noticed in firefix that the status bar says transferring data from local host it just hangs there... Any ideas? *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Wednesday, January 09, 2008 10:10 AM *To:* MapGuide Users Mail List *Subject:* RE: [mapguide-users] Fusion - Layers do not turn off / on Is everyone else's working correctly? Just wondering if it is something I did, or didn't do...If I view a map in a regular viewer the layers work as they are supposed to...However, if I view a fusion sample or one of my maps in fusion, they do not respond to the checkboxes... If I try to turn them on or off, nothing happens... *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Tuesday, January 08, 2008 4:58 PM *To:* MapGuide Users Mail List *Subject:* [mapguide-users] Fusion - Layers do not turn off / on Just started testing fusion and 2.0...Is anyone else having issues where their layers will not turn on or off once the map is loaded? The fusion samples load up correctly, but when I attempt to turn a layer on or off, the screen just flashes and nothing happens. The other normal mapping functionalities are available. Thanks, -Brian *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Berdel, Brian *Sent:* Tuesday, January 08, 2008 4:42 PM *To:* MapGuide Users Mail List *Subject:* [mapguide-users] Symbols 2.0 Sorry if this is a known issue, but I did a quick search and couldn't find anything... All of my symbols are appearing on top of each other in the lower left hand corner of my map in 2.0 beta2. Anyone else? Thanks, Brian *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Marc
RE: [mapguide-users] Working around/Disabling FastCGI in MGOS 1.2
Hi Crispin, MGOS 2.0 will only support CGI, ISAPI extension, and Apache module. FastCGI support is removed due to a number issues with the technology. By directly using API specific for IIS or Apache webservers, stability and performance improvement is expected since we eliminate any overhead created from having another interface sitting between MGOS and the webserver. Ronnie -Original Message- From: Crispin @ 1Spatial [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 8:40 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Working around/Disabling FastCGI in MGOS 1.2 ... also an additional question that has been in my mind for ages if there is an FCGI expert replying ... MS have now released the FastCGI extension thing for IIS 6 and built support right into IIS7 on Win2008 - was FCGI actually a better solution that just didn't work 100% on IIS or is ISAPI superior regardless? Did FCGI die in MGOS 2.0 or is it a configuration option like the renderer? Thanks people, Crispin -- View this message in context: http://www.nabble.com/Working-around-Disabling-FastCGI-in-MGOS-1.2-tp14794134s16610p14835223.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 on Mac
Theoretically, it should work because those Macs run on Intel CPUs. So to mapguide, it is for all intents and purposes a normal pc. But you're better off just installing and finding out yourself ;-) - Jackie stitch wrote: Hi, i have a question. Will mapguide work on Mac running windows OS ?? will i get error or is there any setting i need to set ? Regards, Stitch -- View this message in context: http://www.nabble.com/Mapguide-on-Mac-tp15150624s16610p15152192.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] Add Point to Existing Layer
Have you actually created the feature source pointed to by $featureSourceId ? (ie. Have you called $featureService-CreateFeatureSource() ?) - Jackie gaku wrote: Hi all I'm trying to let the user insert a point feature in PHP along with some attributes. The feature source is an SDF file and the code was translated/modified from the PHP example (draw_line). The user can get the X, Y coordinates from another button (works fine). Everything compiles fine and execute well but no feature is added to the feature source. I tried with a converted SDF feature source (didnt change a thing). Did I miss something ? Did I do something wrong :) Any help would be appreciated here's the code : try { MgInitializeWebTier($webconfigFilePath); // Get the session information passed from the viewer. $sessionId = ($_SERVER['REQUEST_METHOD'] == POST)?$_POST['SESSION']: $_GET['SESSION']; // Get the user information using the session id, // and set up a connection to the site server. $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection-Open($userInfo); $resourceService = $siteConnection-CreateService(MgServiceType::ResourceService); $featureService = $siteConnection-CreateService(MgServiceType::FeatureService); $featureSourceId = new MgResourceIdentifier('Library://Sample/Data/020101Markup.FeatureSource'); $map = new MgMap(); $map-Open($resourceService, $mgMapName); //$geometryFactory = new MgGeometryFactory(); $wktReaderWriter = new MgWktReaderWriter(); $agfReaderWriter = new MgAgfReaderWriter(); $geo = $wktReaderWrite-Read(POINT XY ( $x, $y )); $geoByteReader = new MgByteReader(); $geoByteReader = $agfReaderWriter-Write($geo); $idid = 500; $propertyValues = new MgPropertyCollection(); $propertyValues-Add(new MgInt32Property(ID, $idid )); $propertyValues-Add(new MgStringProperty(name, 'test')); $propertyValues-Add(new MgGeometryProperty('Geometry', $geoByteReader)); $commands = new MgFeatureCommandCollection(); $commands-Add(new MgInsertFeatures('020101Markup', $propertyValues)); $featureService-UpdateFeatures($featureSourceId, $commands, false); } catch (MgException $e) { $errorMsg = $e-GetMessage(); $errorDetail = $e-GetDetails(); } ---end of code - --Thanks, -- View this message in context: http://www.nabble.com/Add-Point-to-Existing-Layer-tp15136337s16610p15152993.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] Feature Joins absolutely broken in MGOS 2.0.0 RC1
This is a known issue I will be looking at next week. Thanks, Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jackie Ng Sent: Monday, January 28, 2008 8:25 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Feature Joins absolutely broken in MGOS 2.0.0 RC1 Hi List, Has anyone been able to get feature joins to work at all in MGOS 2.0.0 RC1? None of the datasets I have migrated across have working feature joins, where previously they worked in 1.2.0 - Jackie -- View this message in context: http://www.nabble.com/Feature-Joins-absolutely-broken-in-MGOS-2.0.0-RC1-tp15152062s16610p15152062.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