RE: [mapguide-users] postrgres connection(updated question)
Hi, i have the same problem, how do i put the postgis runtime? thanks Jack Lee-3 wrote: Hi, Is the postgis runtime in your path? From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of andreas mutota [EMAIL PROTECTED] Sent: Saturday, September 13, 2008 2:11 PM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] postrgres connection(updated question) Hi all, Hi there, I am trying to connect mapguide to postgres database. I have moved PostGISMessage.dll,PostGISOverrides.dll and PostGISProvider.dll to C:\Program Files\MapGuideOpenSource2.0\Server\Bin\FDO. Also have added FeatureProvider NameOSGeo.PostGIS.3.2/Name DisplayNameOSGeo FDO Provider for PostGIS/DisplayName DescriptionFDO Provider for PostGIS/Description IsManagedFalse/IsManaged Version3.2.0.0/Version FeatureDataObjectsVersion3.2.0.0/FeatureDataObjectsVersion LibraryPathC:\Program Files\MapGuideOpenSource\Server\Bin\FDO\PostGISProvider.dll/LibraryPath /FeatureProvider to privider.xml still I can not get access to fill in property values for connection to the db. AND I hit on Test connection I off course get an error 'An exception occurred in FDO component. Unable to load the FDO Provider: The specified module could not be found.' Anyone has an idea of what I can do , please help. Best regards and many thanks in advance. Andreas mutota. ___ 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/postrgres-connection%28updated-question%29-tp19473224p19541065.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] MS SQL and SDF Join Problem
Hi, So just to clarify: You are joining: SDF - Primary MS SQL - Secondary Inner join 1 to 1 When join key has a space as in ID 001 you only get 1st record of join, but if you change it to ID001 then it works. Have you created a MapGuide trac ticket for this (bug tracker)? http://trac.osgeo.org/mapguide/ I would like to follow up with this as I am working on some performance tuning for the join engine. Thanks, Bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of anakando Sent: Monday, September 15, 2008 8:24 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] MS SQL and SDF Join Problem This is the last week before my presentation about the capablity of MGOS to my client. This is the only issue that i stucked on,at least for now. Unfortunately i stucked on the very basic but important task! So if anyone's of you really have some time to spend to figure out my problem, i really appreciate it. TQ -- View this message in context: http://www.nabble.com/MS-SQL-and-SDF-Join-Problem-tp19448719p19504266.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] PostGIS binaries
Hi, i downloaded PostGIS binaries from http://www.geomapgis.com/web/geomap-group/fdo/index.html put them into C:\Program Files\Autodesk\MapGuideEnterprise2009\Server\Bin\Fdo and modify providers.xml adding FeatureProvider NameOSGeo.PostGIS.3.2/Name DisplayNameOSGeo FDO Provider for PostGIS/DisplayName DescriptionFDO Provider for PostGIS/Description IsManagedFalse/IsManaged Version3.2.0.0/Version FeatureDataObjectsVersion3.2.0.0/FeatureDataObjectsVersion LibraryPath.\PostGISProvider.dll/LibraryPath /FeatureProvider i use dependency walker i got the following warning for PostGISProvider.dll Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. i can't see PostGIS FDO provider while i'm trying to make a data connection at mapguide studio 2009. Any sugest? Best regards and thanks for your time, Fernando. -- View this message in context: http://www.nabble.com/PostGIS-binaries-tp19541494p19541494.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] PostGIS binaries
2 things I notice: 1) MG 2009 uses FDO 3.3, yet your providers.xml entry uses 3.2 binaries. 2) I believe that PostGIS provider also needs to have PostGIS and PostgreSQL binaries in the same path as the provider. See: http://trac.osgeo.org/fdo/wiki/FdoPostGISNotes - Jackie Moog wrote: Hi, i downloaded PostGIS binaries from http://www.geomapgis.com/web/geomap-group/fdo/index.html put them into C:\Program Files\Autodesk\MapGuideEnterprise2009\Server\Bin\Fdo and modify providers.xml adding FeatureProvider NameOSGeo.PostGIS.3.2/Name DisplayNameOSGeo FDO Provider for PostGIS/DisplayName DescriptionFDO Provider for PostGIS/Description IsManagedFalse/IsManaged Version3.2.0.0/Version FeatureDataObjectsVersion3.2.0.0/FeatureDataObjectsVersion LibraryPath.\PostGISProvider.dll/LibraryPath /FeatureProvider i use dependency walker i got the following warning for PostGISProvider.dll Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. i can't see PostGIS FDO provider while i'm trying to make a data connection at mapguide studio 2009. Any sugest? Best regards and thanks for your time, Fernando. -- View this message in context: http://www.nabble.com/PostGIS-binaries-tp19541494p19541494.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 -- View this message in context: http://n2.nabble.com/PostGIS-binaries-tp1096595p1096850.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] MgDateTimeException
It could be a bad filter string, what is the value of selectstring when you pass it to the MgFeatureQueryOptions object? - Jackie Suja Sudhan wrote: Hello All, I am trying to get all the attributes of a layer and below is my code to do it. It works well for most of the layers but throws MgDateTimeException for couple of layers at the line of code where the feature reader is populated (pl see code below). What should be causing this, anything to do with the data? MgMap map = new MgMap(); map.Open(resService, mapName); //get the layer for which the attributes have to be got MgLayerBase layer = map.GetLayers().GetItem(layerName); //get the layer class name string layerClassName = layer.GetFeatureClassName(); MgSelection selection = new MgSelection(); //generate a selection string string selectstring = selection.GenerateFilter(layer, layerClassName).ToString(); //set the query option required for the reader to populate MgFeatureQueryOptions featQueryOption = new MgFeatureQueryOptions(); featQueryOption.SetFilter(selectstring); //get the layer resource id MgResourceIdentifier resId = new MgResourceIdentifier(layer.GetFeatureSourceId()); ; //populate feature reader MgFeatureReader reader = featService.SelectFeatures(resId, layerClassName, featQueryOption); The code throws MgDateTimeException (message: A date and/or time exception occurred.) at the above line. Thanks, Suja -- View this message in context: http://www.nabble.com/MgDateTimeException-tp19465653p19465653.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 -- View this message in context: http://n2.nabble.com/MgDateTimeException-tp1086509p1096857.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] Adding a watermark (Ajax viewer)
Hi folks According to my Googling this subject has come up a few times in the past though I've not seen any definitive answers. My preferred option is to place a transparent image over the map but I'm wondering what'll happen to the mouse events. If anyone has successfully used this overlay method I'd be interested in your experiences. Thanks Stuart P.S. How come watermarking isn't a standard feature in MapGuide anyway? -- View this message in context: http://n2.nabble.com/Adding-a-watermark-%28Ajax-viewer%29-tp1096871p1096871.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] Adding a watermark (Ajax viewer)
Apologies. I've just seen this recent thread: http://n2.nabble.com/Watermarking-a-Map-td1085166.html http://n2.nabble.com/Watermarking-a-Map-td1085166.html I'm still interested to know if anyone's achieved this... -- View this message in context: http://n2.nabble.com/Adding-a-watermark-%28Ajax-viewer%29-tp1096871p1096896.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 question
Hi guys. I am facing this problem too. Did you solved this problem yet? atorres wrote: hi all! i have exactly the same problem! how can we fix that? thanks in advance antónio torres David Nuell wrote: My query script is the exact same as the /phpviewersample/query/querymain.php When I create a new command, I copy exactly what the sheboygan layout has as a query command into my own layout. The query comes up fine, but it never shows any results regarless of what query I run (numbers or letters). Any help is greatly appreciated. David Nuell wrote: Hi Listers - I am having some troubles with a query function and I hope that someone out there can help. - have a map built via MapGuide Studio - have created a new command called 'Query' - enter the exact same information into the settings of the query command as in the sheboygan data (i.e., invoke URL, URL to invoke, etc.) - save my web layout and open it in an AJAX viewer (and/or DWF viewer) - select the query command and it opens in the side window (right pane) - I can select a layer that is in my layers list along with everything else to query the data including the output property. As soon as I hit execute, nothing shows up. I have the Sheboygan data installed and I tried to execute a query there too... but same result. Nothing shows up in the results panel. What am I missing? I suppose it has something to do with the install since the sheboygan query does not work either. Any ideas? Thanks (again). -- View this message in context: http://www.nabble.com/query-question-tp16993307p19544112.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] Extra Query result
Hi guys. I was trying to use build-in search function into my project sample.It is working but not so perfectly. It will show the result of the query along with the 1st row of my data.For example,when i want to search an ID of ID 007, then it will return ID 001 and ID 007. I also facing this problem with query features module that contain in ajaxviewersample folder. -- View this message in context: http://www.nabble.com/Extra-Query-result-tp19544605p19544605.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