[mapguide-users] Doubt with operation find address
Hi, Find Address uses rpc.geocoder.us in Sheboygan. Does it exist a general web address to find any data? this is, can I use the function find address to find a name (not a number and a name as is done in Sheboygan, to find a address), but only a name that represents a natural space (layer espacios)? _ Llega la nueva temporada. Consulta las nuevas tendencias en MSN Estilo http://estilo.es.msn.com/moda/___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: Re[mapguide-users] nderingService on MGOS 2.0.2
I use the GETMAPIMAGE function extensively, which I belive is the same function, and it works great. What line causes the error? Have you tried with PNG instead of png? Regards, Kenneth Skovhede, GEOGRAF A/S Alex Fordyce skrev: Has anyone been successful using the RenderingService using release 2.0.2? It does not seem to be working for me. My install is MGOS 2.0.2 ,.NET, and IIS. I am trying to save a map as a PNG to my local drive. I get the following error: An unclassified exception occurred. and no file is created. Yes, c:\temp exists. :) Sample C# code: MgByteReader byteReader = renderingService.RenderMap(map, selection, mapExtent, 650, 650, bgcolor, png ); MgByteSink byteSink = new MgByteSink(byteReader); string fileName = c:\\temp\\myMap.png; byteSink.ToFile(fileName); Any suggestions or success stories would be welcomed. thanks. alex ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)
I agree with Maksim, there seems to be some confusion as to what you want to do. There are two basic scenarios: 1. You want to display some points based on context. An example would be searching for hotels in a certain price interval, and the opening a map with the hotels shown. 2. You want to display a number of points, but the data changes more or less frequently. An example of this would be position of vehicles. A combination would be to show the position of vehicles that are using diesel engines. Could you elaborate on what your scenario is like? Regards, Kenneth Skovhede, GEOGRAF A/S Maksim Sestic skrev: Hmm, if you're attending to batch-process large number of points (along with attached data) then web service calling FDO directly will do it much more efficiently, since you can preset it on server side to poke exact datastore/schema (thus skipping enumeration). Especially if you're planning to parse some client-side file holding actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to put all the interest points automatic on the map ThanX anyway :-D Maksim Sestic wrote: If the MG-Datastore approach is making you headaches, why don't you directly access the datastore (i.e. via FDO if it's managed after all) and store the point there manually? Of course, if you're poking it from a client you'll have to establish a web service to do the job on the server side. And don't forget to call MG refresh method from JavaScript once you have that point within a datastore. Regards, Maksim Sestic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in order to create a Layer and add it in the map but nothing. Basically, I added these three functions. I really would appreciate if u could give me some help.. public MgLayer addLayerRsc2Map(MgResourceIdentifier layerResId, MgResourceService resourceSrvc, string layerName, string layerLegendLabel, MgMap map) { //MgLayer newLayer = new MgLayer(layerResId, resourceSrvc); MgLayer newLayer = new MgLayer(layerResId , resourceSrvc); //Add the new layer to the map's layer collection newLayer.SetName(layerName); newLayer.SetVisible(true); newLayer.SetLegendLabel(layerLegendLabel); newLayer.SetDisplayInLegend(true); MgLayerCollection layerCollection = map.GetLayers(); if( !layerCollection.Contains(layerName) ) { //Insert the new layer to position 0 so it is at //the top of the drawing order layerCollection.Insert(0,newLayer); } MgLayerGroupCollection skata = map.GetLayerGroups(); return newLayer; } public MgLayer addLayerDef2Map(string layerDefinition, string layerName, string layerLegendLabel, string sessionId, MgResourceService resourceSrvc, MgMap map ) { // Adds the layer definition (XML) to the map. // Returns the layer. //Validate the XML. XmlDocument domDocument = new XmlDocument(); domDocument.LoadXml(layerDefinition); domDocument.PreserveWhitespace = true; MemoryStream stream = new System.IO.MemoryStream(); domDocument.Save(stream); Byte[] byteArray = stream.ToArray(); string outerXml = System.Text.Encoding.UTF8.GetString(byteArray, 0, byteArray.Length); byteArray = System.Text.Encoding.UTF8.GetBytes(outerXml); //Save the new layer definition to the Session. MgByteSource byteSource = new MgByteSource(byteArray , byteArray.Length); byteSource.SetMimeType(MgMimeType.Xml); MgResourceIdentifier resourseId = new MgResourceIdentifier(Session: + map.SessionId + // + layerName + . + MgResourceType.LayerDefinition); // Set the map with the new resource resourceSrvc.SetResource(resourseId, byteSource.GetReader(), null); MgLayer newLayer = addLayerRsc2Map(resourseId, resourceSrvc, layerName, layerLegendLabel, map); return newLayer; } public void addLayer2Group(MgLayer layer, string layerGroupName, string layerGroupLegendLabel, MgMap map) // Adds a layer to a layer group. If
Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)
You are wright about the confusion... Anyway, the scenario is the following: I have a map with the Highway of two Italian Cities. Firstly, I would like to display some points of interest on that map. Those points I have them in an XML file. So, my problem till now, is that I add a new layer on my map ( I see in debug mode that my map's Layers has increased ) but this layer doesn't appear in the page. If I solve this thing I'll try to add the points to this layer. Also, keep in mind that these points of interest, there might be static or not. This means that there is no point to create all this from Autodesk manually... Thank you (both) for the help! Kenneth Skovhede, GEOGRAF A/S wrote: I agree with Maksim, there seems to be some confusion as to what you want to do. There are two basic scenarios: 1. You want to display some points based on context. An example would be searching for hotels in a certain price interval, and the opening a map with the hotels shown. 2. You want to display a number of points, but the data changes more or less frequently. An example of this would be position of vehicles. A combination would be to show the position of vehicles that are using diesel engines. Could you elaborate on what your scenario is like? Regards, Kenneth Skovhede, GEOGRAF A/S Maksim Sestic skrev: Hmm, if you're attending to batch-process large number of points (along with attached data) then web service calling FDO directly will do it much more efficiently, since you can preset it on server side to poke exact datastore/schema (thus skipping enumeration). Especially if you're planning to parse some client-side file holding actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to put all the interest points automatic on the map ThanX anyway :-D Maksim Sestic wrote: If the MG-Datastore approach is making you headaches, why don't you directly access the datastore (i.e. via FDO if it's managed after all) and store the point there manually? Of course, if you're poking it from a client you'll have to establish a web service to do the job on the server side. And don't forget to call MG refresh method from JavaScript once you have that point within a datastore. Regards, Maksim Sestic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in order to create a Layer and add it in the map but nothing. Basically, I added these three functions. I really would appreciate if u could give me some help.. public MgLayer addLayerRsc2Map(MgResourceIdentifier layerResId, MgResourceService resourceSrvc, string layerName, string layerLegendLabel, MgMap map) { //MgLayer newLayer = new MgLayer(layerResId, resourceSrvc); MgLayer newLayer = new MgLayer(layerResId , resourceSrvc); //Add the new layer to the map's layer collection newLayer.SetName(layerName); newLayer.SetVisible(true); newLayer.SetLegendLabel(layerLegendLabel); newLayer.SetDisplayInLegend(true); MgLayerCollection layerCollection = map.GetLayers(); if( !layerCollection.Contains(layerName) ) { //Insert the new layer to position 0 so it is at //the top of the drawing order layerCollection.Insert(0,newLayer); } MgLayerGroupCollection skata = map.GetLayerGroups(); return newLayer; } public MgLayer addLayerDef2Map(string layerDefinition, string layerName, string layerLegendLabel, string sessionId, MgResourceService resourceSrvc, MgMap map ) { // Adds the layer definition (XML) to the map. // Returns the layer. //Validate the XML. XmlDocument domDocument = new XmlDocument(); domDocument.LoadXml(layerDefinition); domDocument.PreserveWhitespace = true; MemoryStream stream = new System.IO.MemoryStream(); domDocument.Save(stream); Byte[] byteArray = stream.ToArray(); string outerXml = System.Text.Encoding.UTF8.GetString(byteArray, 0, byteArray.Length); byteArray =
Re: [mapguide-users] Generate map tiles from Oracle data
This is really excellent information. So as I understand it if I convert my Oracle tables to SDF, and use the SDFs as layers in a Base Layer group, then seed the tile cache using Zac's tool, it'll fly. My next question is whether MapGuide will use the same set of tiles for base layers that are referenced in several different map definitions. I assume it will... can somebody confirm this? Thanks Stuart -- View this message in context: http://n2.nabble.com/Generate-map-tiles-from-Oracle-data-tp1336571p1340364.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 point to a map... PLZ Help!!! (.NET -C#)
Lets start out by assuming that you have data in a database, because the actions are more or less the same. In Studio or Maestro, create a new Featuresource (Dataconnection). Choose ODBC as the provider. Set up the page to match your ODBC information. Make sure you point out the X and Y columns on the page, to form geometry. When done, save the featuresource. Then create a new layer, referencing the featuresource. You can now select the GEOMETRY column which is a placeholder for you X/Y data. Save the layer, and preview it to make sure it works. Now create a map, and insert the layer. Save the map, and preview it just in case. Finally create a WebLayout and reference the map. Now go back and make the layer invisible in the map, and save it. Then try your code to turn it on. If you want to modify the map shown to the user, there are three things that usually go wrong: 1. You cannot access the runtime map before the map has loaded. If this is a requirement, state this explicitly in the question. 2. You must call save on the runtime map after modifying it. 3. The runtime map is NOT the same as the MapDefinition. If your data is dynamic, the easiest way to deal with it, is to just update data from outside MapGuide. Regards, Kenneth Skovhede, GEOGRAF A/S Galois skrev: No, I just was informed that all the points we have are generated dynamically. For example from the position of a car on the highway... I really don't know what I am doing wrong. Galois wrote: I have a DB with coordinates, but how am I going to put these coordinates in a layer. Even from AutoDesk...? Kenneth Skovhede, GEOGRAF A/S wrote: I still can't tell which of the two scenarios you are aiming at. So you have a highway, and some points on the highway. I'm thinking that the points should be created before the user starts to do anything. Does it make sense to convert the data into a database with X and Y columns, before even thinking about what MapGuide does? You can make a little batch job that updates the database if you prefer, still without use of MapGuide. Once you have such a database, set it up in Studio or Maestro like a regular layer. Add the layer to the map, but make it invisible if you only want to show it in some cases. Now, during runtime, you can create a copy of the LayerDefinition, and insert a filter on the layer. This will allow you to control what points a specific user sees. Now save this copy of the LayerDefinition to the Session store. The update the layer in the runtime map to point to the Session based LayerDefinition, and set the layer visible. Now save the runtime map, and issue a refresh on the client. I can't tell from your code fragments what goes wrong, but there is no map.Save(...) call present, which is how you would save the changes to the map. There is no getMap().Refresh() call present, which must be issued on the client in Javascript. Regards, Kenneth Skovhede, GEOGRAF A/S Galois skrev: You are wright about the confusion... Anyway, the scenario is the following: I have a map with the Highway of two Italian Cities. Firstly, I would like to display some points of interest on that map. Those points I have them in an XML file. So, my problem till now, is that I add a new layer on my map ( I see in debug mode that my map's Layers has increased ) but this layer doesn't appear in the page. If I solve this thing I'll try to add the points to this layer. Also, keep in mind that these points of interest, there might be static or not. This means that there is no point to create all this from Autodesk manually... Thank you (both) for the help! Kenneth Skovhede, GEOGRAF A/S wrote: I agree with Maksim, there seems to be some confusion as to what you want to do. There are two basic scenarios: 1. You want to display some points based on context. An example would be searching for hotels in a certain price interval, and the opening a map with the hotels shown. 2. You want to display a number of points, but the data changes more or less frequently. An example of this would be position of vehicles. A combination would be to show the position of vehicles that are using diesel engines. Could you elaborate on what your scenario is like? Regards, Kenneth Skovhede, GEOGRAF A/S Maksim Sestic skrev: Hmm, if you're attending to batch-process large number of points (along with attached data) then web service calling FDO directly will do it much more efficiently, since you can preset it on server side to poke exact datastore/schema (thus skipping enumeration). Especially if you're planning to parse some client-side file holding actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To:
[mapguide-users] AJAX versus DWF problem
Hello, ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] AJAX versus DWF problem
Hello, I have a small problem, please help !!! I am using the java development environment and need to execute some java code when the map has finished loading. Using the AJAX viewer I use a JSP page that has on the onload property of the body this function : function onPageLoad() { if (parent.mapFrame.mapInit) { clearTimeout(t); window.open('ajaxviewerMapguideJS.jsp?SESSION=%=sessionId%WEBLAYOUT=%=webLayout%GUID=%=GUID%', 'scriptFrame', ''); } else { t = setTimeout(onPageLoad(), 500); } The problem is when I am using the DWF viewer the mapFrame.mapInit variable is always false, because, I understand, the viewer don't use this variable. Do anybody know how could I verify if the map has loaded using the DWF viewer ? Thanks :) ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: Re: [mapguide-users] Print Layout - 2 questions...
Hi Kenneth, hi Warren! ...just to be sure: Is it true that the Mapguide Studio Printlayouts are only to use within the dwf viewer (and its activeX-features)? To have a customized printlayout in the mapguide ajax standard viewer I have to modify the printablepage.templ? And this pertains topobase web in the same manner, doesn't it? Just a big suprise, because the Users Guide does not really gives hints on this ... Best regards and thank you in advance, stoff javascript:Nabble.smiley('anim_confused.gif',':confused:') Is it okay, to ask this here or do I have to ask it only in the autodesk discussion group? Warren Medernach wrote: Perfect! Thanks for the info Kenneth. Warren M From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Friday, October 03, 2008 11:54 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Re: Print Layout - 2 questions... Not sure if he got the answers, but here they are: 1. You must change it in ajaxmappane.templ (line 293): Look for: var us = true; and change to: var us = false; You have to change this every time update your MapGuide installation. 2. There is no built in way to do this, you must modify printablepage.templ. Its a HTML file that gets sent to the browser with the map items injected. You can set a logo anywhere on the page using some html: mylogo.gif If you want different printable pages for different solutions, you have to modify at least printablepageui.templ. Again, you have to change this every time update your MapGuide installation. The files I mention are all located in: C:\Program files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles Regards, Kenneth Skovhede, GEOGRAF A/S Warren Medernach skrev: Hi Andrew, Were you ever able to resolve this print layout issue? Warren M I've got 2 questions about PrintLayouts1) How do I make my units metres? I've got every instance of units set to metres in my PrintLayout, and yet my scale bar insists that the units are feet. 2) How the heck do you get a custom logo?? It seems so simple, but I can't get it to work for the life of meI've got a symbol library called Logo, and in it there is one symbol called Gemlogo-smaller. I've tried all sorts of variations on ResourceIDs, but can't get it. Andrew ___ 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 :confused: -- View this message in context: http://www.nabble.com/Re%3A-Print-Layout---2-questions...-tp19801245p20010308.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] Print Layout - 2 questions...
To the best of my knowledge, Print Layouts are only avalible when used with the DWF viewer. I am, as always, happy to be corrected, should I be wrong. Printing features in the AJAX viewer are basically a template HTML page with placeholders for the map and legend. You can modify printablepage.templ to issue site wide changes. You can usually ask any question you want here, but you cannot expect a reply. I assume you can expect a reply on the Autodesk pages, if you paid for Autodesk support. Regards, Kenneth Skovhede, GEOGRAF A/S stoff skrev: Hi Kenneth, hi Warren! ...just to be sure: Is it true that the Mapguide Studio Printlayouts are only to use within the dwf viewer (and its activeX-features)? To have a customized printlayout in the mapguide ajax standard viewer I have to modify the printablepage.templ? And this pertains topobase web in the same manner, doesn't it? Just a big suprise, because the Users Guide does not really gives hints on this ... Best regards and thank you in advance, stoff javascript:Nabble.smiley('anim_confused.gif',':confused:') Is it okay, to ask this here or do I have to ask it only in the autodesk discussion group? Warren Medernach wrote: Perfect! Thanks for the info Kenneth. Warren M From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Friday, October 03, 2008 11:54 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Re: Print Layout - 2 questions... Not sure if he got the answers, but here they are: 1. You must change it in ajaxmappane.templ (line 293): Look for: var us = true; and change to: var us = false; You have to change this every time update your MapGuide installation. 2. There is no built in way to do this, you must modify printablepage.templ. Its a HTML file that gets sent to the browser with the map items injected. You can set a logo anywhere on the page using some html: mylogo.gif If you want different printable pages for different solutions, you have to modify at least printablepageui.templ. Again, you have to change this every time update your MapGuide installation. The files I mention are all located in: C:\Program files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles Regards, Kenneth Skovhede, GEOGRAF A/S Warren Medernach skrev: Hi Andrew, Were you ever able to resolve this print layout issue? Warren M I've got 2 questions about PrintLayouts1) How do I make my units metres? I've got every instance of units set to metres in my PrintLayout, and yet my scale bar insists that the units are feet. 2) How the heck do you get a custom logo?? It seems so simple, but I can't get it to work for the life of meI've got a symbol library called Logo, and in it there is one symbol called Gemlogo-smaller. I've tried all sorts of variations on ResourceIDs, but can't get it. Andrew ___ 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 :confused: ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)
I still can't tell which of the two scenarios you are aiming at. So you have a highway, and some points on the highway. I'm thinking that the points should be created before the user starts to do anything. Does it make sense to convert the data into a database with X and Y columns, before even thinking about what MapGuide does? You can make a little batch job that updates the database if you prefer, still without use of MapGuide. Once you have such a database, set it up in Studio or Maestro like a regular layer. Add the layer to the map, but make it invisible if you only want to show it in some cases. Now, during runtime, you can create a copy of the LayerDefinition, and insert a filter on the layer. This will allow you to control what points a specific user sees. Now save this copy of the LayerDefinition to the Session store. The update the layer in the runtime map to point to the Session based LayerDefinition, and set the layer visible. Now save the runtime map, and issue a refresh on the client. I can't tell from your code fragments what goes wrong, but there is no map.Save(...) call present, which is how you would save the changes to the map. There is no getMap().Refresh() call present, which must be issued on the client in Javascript. Regards, Kenneth Skovhede, GEOGRAF A/S Galois skrev: You are wright about the confusion... Anyway, the scenario is the following: I have a map with the Highway of two Italian Cities. Firstly, I would like to display some points of interest on that map. Those points I have them in an XML file. So, my problem till now, is that I add a new layer on my map ( I see in debug mode that my map's Layers has increased ) but this layer doesn't appear in the page. If I solve this thing I'll try to add the points to this layer. Also, keep in mind that these points of interest, there might be static or not. This means that there is no point to create all this from Autodesk manually... Thank you (both) for the help! Kenneth Skovhede, GEOGRAF A/S wrote: I agree with Maksim, there seems to be some confusion as to what you want to do. There are two basic scenarios: 1. You want to display some points based on context. An example would be searching for hotels in a certain price interval, and the opening a map with the hotels shown. 2. You want to display a number of points, but the data changes more or less frequently. An example of this would be position of vehicles. A combination would be to show the position of vehicles that are using diesel engines. Could you elaborate on what your scenario is like? Regards, Kenneth Skovhede, GEOGRAF A/S Maksim Sestic skrev: Hmm, if you're attending to batch-process large number of points (along with attached data) then web service calling FDO directly will do it much more efficiently, since you can preset it on server side to poke exact datastore/schema (thus skipping enumeration). Especially if you're planning to parse some client-side file holding actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to put all the interest points automatic on the map ThanX anyway :-D Maksim Sestic wrote: If the MG-Datastore approach is making you headaches, why don't you directly access the datastore (i.e. via FDO if it's managed after all) and store the point there manually? Of course, if you're poking it from a client you'll have to establish a web service to do the job on the server side. And don't forget to call MG refresh method from JavaScript once you have that point within a datastore. Regards, Maksim Sestic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in order to create a Layer and add it in the map but nothing. Basically, I added these three functions. I really would appreciate if u could give me some help.. public MgLayer addLayerRsc2Map(MgResourceIdentifier layerResId, MgResourceService resourceSrvc, string layerName, string layerLegendLabel, MgMap map) { //MgLayer newLayer = new MgLayer(layerResId, resourceSrvc); MgLayer newLayer = new MgLayer(layerResId , resourceSrvc); //Add the new layer to the map's layer collection
Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#)
I have a DB with coordinates, but how am I going to put these coordinates in a layer. Even from AutoDesk...? Kenneth Skovhede, GEOGRAF A/S wrote: I still can't tell which of the two scenarios you are aiming at. So you have a highway, and some points on the highway. I'm thinking that the points should be created before the user starts to do anything. Does it make sense to convert the data into a database with X and Y columns, before even thinking about what MapGuide does? You can make a little batch job that updates the database if you prefer, still without use of MapGuide. Once you have such a database, set it up in Studio or Maestro like a regular layer. Add the layer to the map, but make it invisible if you only want to show it in some cases. Now, during runtime, you can create a copy of the LayerDefinition, and insert a filter on the layer. This will allow you to control what points a specific user sees. Now save this copy of the LayerDefinition to the Session store. The update the layer in the runtime map to point to the Session based LayerDefinition, and set the layer visible. Now save the runtime map, and issue a refresh on the client. I can't tell from your code fragments what goes wrong, but there is no map.Save(...) call present, which is how you would save the changes to the map. There is no getMap().Refresh() call present, which must be issued on the client in Javascript. Regards, Kenneth Skovhede, GEOGRAF A/S Galois skrev: You are wright about the confusion... Anyway, the scenario is the following: I have a map with the Highway of two Italian Cities. Firstly, I would like to display some points of interest on that map. Those points I have them in an XML file. So, my problem till now, is that I add a new layer on my map ( I see in debug mode that my map's Layers has increased ) but this layer doesn't appear in the page. If I solve this thing I'll try to add the points to this layer. Also, keep in mind that these points of interest, there might be static or not. This means that there is no point to create all this from Autodesk manually... Thank you (both) for the help! Kenneth Skovhede, GEOGRAF A/S wrote: I agree with Maksim, there seems to be some confusion as to what you want to do. There are two basic scenarios: 1. You want to display some points based on context. An example would be searching for hotels in a certain price interval, and the opening a map with the hotels shown. 2. You want to display a number of points, but the data changes more or less frequently. An example of this would be position of vehicles. A combination would be to show the position of vehicles that are using diesel engines. Could you elaborate on what your scenario is like? Regards, Kenneth Skovhede, GEOGRAF A/S Maksim Sestic skrev: Hmm, if you're attending to batch-process large number of points (along with attached data) then web service calling FDO directly will do it much more efficiently, since you can preset it on server side to poke exact datastore/schema (thus skipping enumeration). Especially if you're planning to parse some client-side file holding actual information. Other way round you'll be making too many client-server roundtrips.Of couse, it all depends on the overall setup... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:29 To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) This is not a solution, cause at the feature, I'll have lot of XML files and the code will have to work in order to put all the interest points automatic on the map ThanX anyway :-D Maksim Sestic wrote: If the MG-Datastore approach is making you headaches, why don't you directly access the datastore (i.e. via FDO if it's managed after all) and store the point there manually? Of course, if you're poking it from a client you'll have to establish a web service to do the job on the server side. And don't forget to call MG refresh method from JavaScript once you have that point within a datastore. Regards, Maksim Sestic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Galois Sent: Wednesday, October 15, 2008 16:15 To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Adding a point to a map... PLZ Help!!! (.NET -C#) Maybe I'm stupid I cannot do it work. I have reconstruct the whole thing, but the new Layer doesn't appear in the page. I followed the Dev's Guide in order to create a Layer and add it in the map but nothing. Basically, I added these three functions. I really would appreciate if u could give me some help.. public MgLayer addLayerRsc2Map(MgResourceIdentifier layerResId, MgResourceService resourceSrvc, string
Re: [mapguide-users] Generate map tiles from Oracle data
gingerbbm wrote: My next question is whether MapGuide will use the same set of tiles for base layers that are referenced in several different map definitions. I assume it will... can somebody confirm this? Well I've had a look in the Repositories/TileCache folder and it's obvious that this is not the case. This means that for each project with the same base layers we're going to have to have a distinct copy of the tiles. Is there any way around this duplication? -- View this message in context: http://n2.nabble.com/Generate-map-tiles-from-Oracle-data-tp1336571p1340619.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] DWGLoadProcedure
Hello again MapGuide coders ;) I want to programmatically load .dwg/.shp files to a managed MapGuide environment. I think this can be accomplished with the MapGuide Studio API... but are there any other ways to get this data into the MapGuide server? I'm trying to stay open source. Are there any methods in the Maestro API to accomplish this? Notice Regarding Confidentiality This email, including any and all attachments, (this Email) is intended only for the party to whom it is addressed and may contain information that is confidential or privileged. Sierra Systems Group Inc. and its affiliates accept no responsibility for any loss or damage suffered by any person resulting from any unauthorized use of or reliance upon this Email. If you are not the intended recipient, you are hereby notified that any dissemination, copying or other use of this Email is prohibited. Please notify us of the error in communication by return email and destroy all copies of this Email. Thank you. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Generate map tiles from Oracle data
Unfortunately, no. In my opinion, this is a design flaw in MapGuide; base layer groups should be their own entity that is included in other maps. Currently, you can not share them, and any changes in the dynamic map invalidates the layer cache. If you are using OpenLayers directly, rather than Fusion or the Ajax viewer, I think you can work around this by including two MapGuide maps, one tiled and one untiled. My hope is that a future version of Fusion (2.0?) will allow you to do this as well. Jason -Original Message- From: gingerbbm Subject: Re: [mapguide-users] Generate map tiles from Oracle data My next question is whether MapGuide will use the same set of tiles for base layers that are referenced in several different map definitions. I assume it will... can somebody confirm this? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial
Exactly, the returned XML based on the new version of SQLSpatialProvider covers all tables. But now the root node name is changed to 'fdo:DataStore', and Maestro check that the root node name must be 'xs:schema'. (as follows) /// public class FeatureSourceDescription { private FeatureSourceSchema[] m_schemas; public FeatureSourceDescription(System.IO.Stream stream) { XmlDocument doc = new XmlDocument(); doc.Load(stream); if (doc.FirstChild.Name != xml) throw new Exception(Bad document); if (doc.ChildNodes.Count != 2 || doc.ChildNodes[1].Name != xs:schema) throw new Exception(Bad document); XmlNamespaceManager mgr = new XmlNamespaceManager(doc.NameTable); mgr.AddNamespace(xs, http://www.w3.org/2001/XMLSchema;); mgr.AddNamespace(gml, http://www.opengis.net/gml;); mgr.AddNamespace(fdo, http://fdo.osgeo.org/schemas;); XmlNodeList lst = doc.SelectNodes(xs:schema/xs:[EMAIL PROTECTED]'false'], mgr); m_schemas = new FeatureSourceSchema[lst.Count]; for(int i = 0;ilst.Count;i++) m_schemas[i] = new FeatureSourceSchema(lst[i], doc, mgr); } .. /// Then I changed the Maestro to fit the new version 1. Check the root node name : 'fdo:DataStore' 2. Modify the line XmlNodeList lst = doc.SelectNodes(xs:schema/xs:[EMAIL PROTECTED]'false'], mgr); as XmlNodeList lst = doc.SelectNodes(fdo:DataStore/xs:schema/xs:[EMAIL PROTECTED]'false'], mgr); OK. It works well. all tables are listed, and the table containing a geometry field is shown as default. Brent Robinson-5 wrote: One clarification. The fix is specific to the handling of varchar(max) and nvarchar(max). It likely doesn't address the problem mentioned at http://www.nabble.com/Maestro%3A-can%27t-find-the-table-containing-the-geometry-field-with-SQLServerSpatial-tp19977173p19994687.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent Robinson Sent: Wednesday, October 15, 2008 12:37 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial This is a known defect that was fixed in July. The fix provides almost full support for the varchar(max) and nvarchar(max) columns. There's one limitation: when selecting from these columns, values longer than 16000 characters are truncated. The FDO 3.3.2 SQLServerSpatial provider should have the fix. It can be obtained from the Windows SDK download at http://fdo.osgeo.org/content/fdo-332-downloads. You'd just need to extract the following DLL's: SQLServerSpatialProvider.dll SQLServerSpatialOverrides.dll OSGeo.FDO.Providers.SQLServerSpatial.Overrides.dll to MapGuide's FDO bin directories: Program Files\Autodesk\MapGuideEnterprise2009\Server\Bin\FDO Program Files\Autodesk\MapGuideStudio2009\FDO (if present) I'd recommend saving copies of your current versions of these DLL's before extracting, just in case. I have MG enterprise on my machine so your directories might look a bit different. If you get a chance to try this out, please let me know if it fixes the problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carl Sent: Wednesday, October 15, 2008 10:28 AM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Maestro: can't find the table containing the geometry field with SQLServerSpatial yes Brent Robinson-5 wrote: Hi Carl, Do any of your tables have a varchar(max) column? Brent. -- View this message in context: http://www.nabble.com/Maestro%3A-can%27t-find-the-table-containing-the-geometry-field-with-SQLServerSpatial-tp19977173p19994687.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 mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/Maestro%3A-can%27t-find-the-table-containing-the-geometry-field-with-SQLServerSpatial-tp19977173p20015751.html Sent from the MapGuide Users mailing list archive at Nabble.com.
[mapguide-users] MapGuide Oracle FDO provider: Autodesk vs. King.Oracle
Dear all [This was originally posted to FDO Users.] We have bought and paid for an MGE2009 licence but have been working with MGOS in order to be up-to-date with the latest and greatest enhancements. But the King.Oracle FDO provider has memory leak issues ( http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real-conditions--td1140937.html#a1336262 which Haris is looking into ). I'm wondering if it's possible to use the Autodesk provider (for which we're licensed) with MGOS? And if so, how does one go about it? Thanks Stuart -- View this message in context: http://n2.nabble.com/MapGuide-Oracle-FDO-provider%3A-Autodesk-vs.-King.Oracle-tp1341597p1341597.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] Print Layout - 2 questions...
With respect to printing, can we print to PDF and can we specify the DPI so that images will print with a higher resolution? Kenneth Skovhede, GEOGRAF A/S wrote: To the best of my knowledge, Print Layouts are only avalible when used with the DWF viewer. I am, as always, happy to be corrected, should I be wrong. Printing features in the AJAX viewer are basically a template HTML page with placeholders for the map and legend. You can modify printablepage.templ to issue site wide changes. You can usually ask any question you want here, but you cannot expect a reply. I assume you can expect a reply on the Autodesk pages, if you paid for Autodesk support. Regards, Kenneth Skovhede, GEOGRAF A/S stoff skrev: Hi Kenneth, hi Warren! ...just to be sure: Is it true that the Mapguide Studio Printlayouts are only to use within the dwf viewer (and its activeX-features)? To have a customized printlayout in the mapguide ajax standard viewer I have to modify the printablepage.templ? And this pertains topobase web in the same manner, doesn't it? Just a big suprise, because the Users Guide does not really gives hints on this ... Best regards and thank you in advance, stoff javascript:Nabble.smiley('anim_confused.gif',':confused:') Is it okay, to ask this here or do I have to ask it only in the autodesk discussion group? Warren Medernach wrote: Perfect! Thanks for the info Kenneth. Warren M From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Friday, October 03, 2008 11:54 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Re: Print Layout - 2 questions... Not sure if he got the answers, but here they are: 1. You must change it in ajaxmappane.templ (line 293): Look for: var us = true; and change to: var us = false; You have to change this every time update your MapGuide installation. 2. There is no built in way to do this, you must modify printablepage.templ. Its a HTML file that gets sent to the browser with the map items injected. You can set a logo anywhere on the page using some html: mylogo.gif If you want different printable pages for different solutions, you have to modify at least printablepageui.templ. Again, you have to change this every time update your MapGuide installation. The files I mention are all located in: C:\Program files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles Regards, Kenneth Skovhede, GEOGRAF A/S Warren Medernach skrev: Hi Andrew, Were you ever able to resolve this print layout issue? Warren M I've got 2 questions about PrintLayouts1) How do I make my units metres? I've got every instance of units set to metres in my PrintLayout, and yet my scale bar insists that the units are feet. 2) How the heck do you get a custom logo?? It seems so simple, but I can't get it to work for the life of meI've got a symbol library called Logo, and in it there is one symbol called Gemlogo-smaller. I've tried all sorts of variations on ResourceIDs, but can't get it. Andrew ___ 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 :confused: ___ 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/Re%3A-Print-Layout---2-questions...-tp19801245p20015926.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] Print Layout - 2 questions...
No, there is no PDF support in MapGuide. I'd sure love to see GeoPDF (and geo-referenced DWF) supported. This has been mentioned to the appropriate ADSK product manager more than once, but it would be awesome if there was enough community support and a C++ coder willing to get into the guts of MapGuide to make this happen :) Jason -Original Message- From: BradM Subject: Re: [mapguide-users] Print Layout - 2 questions... With respect to printing, can we print to PDF and can we specify the DPI so that images will print with a higher resolution? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] MapGuide Oracle FDO provider: Autodesk vs.King.Oracle
I don't have MGE 2009, so can't verify this, and I can't comment on the legality, but it should be as simple as: - Ensuring that the appropriate Oracle client libraries are on the server - Copying the Autodesk Oracle provider DLLs (there should be at least three of them) into MapGuide's Server/Bin/Fdo/ directory. - Adding the appropriate FetureProvider snippet to your providers.xml file Jason -Original Message- From: gingerbbm Subject: [mapguide-users] MapGuide Oracle FDO provider: Autodesk vs.King.Oracle We have bought and paid for an MGE2009 licence but have been working with MGOS in order to be up-to-date with the latest and greatest enhancements. But the King.Oracle FDO provider has memory leak issues ( http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real -conditions--td1140937.html#a1336262 which Haris is looking into ). I'm wondering if it's possible to use the Autodesk provider (for which we're licensed) with MGOS? And if so, how does one go about it? ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Print Layout - 2 questions...
I would back both of those proposals Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Birch Sent: 16 October 2008 17:36 To: MapGuide Users Mail List Subject: RE: [mapguide-users] Print Layout - 2 questions... No, there is no PDF support in MapGuide. I'd sure love to see GeoPDF (and geo-referenced DWF) supported. This has been mentioned to the appropriate ADSK product manager more than once, but it would be awesome if there was enough community support and a C++ coder willing to get into the guts of MapGuide to make this happen :) Jason -Original Message- From: BradM Subject: Re: [mapguide-users] Print Layout - 2 questions... With respect to printing, can we print to PDF and can we specify the DPI so that images will print with a higher resolution? ___ 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] GETMAPLEGENDIMAGE options?
Is there any documentation about the GETMAPLEGENDIMAGE mapagent operation? Currently, the legend image that I'm getting is pretty bad (note the attached image)...I'd like to be able to make a larger font size, and to be able to get rid of the border (or at least make the legend be inside of it!). Anyone? -- Andrew DeMerchant Computer Technologist ph.1-877-2GEMTEC x.163 fax 506-453-9470 GEMTECLimited 191 Doak Road Fredericton, NB, Canada E3C 2E6 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] Oracle XE with ODBC?
Hi, has anyone been able to enumerate the list of tables in Oracle XE 10g when connecting in MapGuide Studio with ODBC. None of the tables appear in the Show Tables area when making an OSGEO FDO Provider for ODBC. None of the tables are spatial just numeric with Lat and Long... I have tried many users (DBA rights) - and nothing. I know I can connect with ODBC because when I LINK tables to the ODBC with MS Access I can see the tables in Oracle XE. So the ODBC connection is fine. Has anyone had any luck with ODBC and XE seeing the tables in Studio 2009? Thanks Gordon ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Supported WMS and WFS in MapGuide
WMS is critical to the success of my mapguide applications. Can anyone answer Kenneth? Kenneth Skovhede, GEOGRAF A/S wrote: If found the following document describing the versions of WMS and WFS supported in MapGuide: http://mapguide.osgeo.org/faq_ogcserices.html The page appears quite outdated: as soon as the FDO providers for WMS and WFS are available. The above mentioned page is not making a clear distinciton between being a client and being a server. There was no apparent mentioning of WMS/WFS versions on the FDO website either. My questions are: 1. What versions are supported when MapGuide is a WMS/WFS server? 2. What versions are supported when MapGuide is a WMS/WFS client? 3. Does MapGuide support WFS-T as a server? 4. Does MapGuide support WFS-T as a client? 5. How are the OGC certifications for server/client WMS/WFS coming along? -- Regards, Kenneth Skovhede, 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20016664.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] Please help! Has anybody used King.Oracleinreal conditions?
Hi, I am running MG OS 2.0.1 with King.Oracle provider. I have problems that I cant clearly reproduce problems with memory leaks. I noticed some strange slow running but to soon to tell exactly. Can you tell me what version of provider are you using and MapGuide and Oracle client ? Thanks, Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gingerbbm Sent: Monday, October 13, 2008 4:18 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Please help! Has anybody used King.Oracleinreal conditions? Hi Haris Haris Kurtagic wrote: Seriously, I will have some news by start of next week. Sorry to chase you. Were you able to make any progress? -- View this message in context: http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real -conditions--tp1140937p1328900.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] Please help! Has anybody used King.Oracleinrealconditions?
Hi, I was not able to reproduce problem with my builds of MapGuide 2.0.1 and King.Oracle, at least not yet. However, I was able to reproduce memory problem with standard installation files from MG 2.0.1 and King.Oracle binaries from our web site and Oracle instant client 10.2.0.3. Also I noticed that layer is rendered very very slowly. I tried with Fdo2Fdo to read same data from Oracle (and schema creation) and it looks to me as fast as it is supposed to be. Also I can't see any memory issues. If you can test your data and memory issues with Fdo2Fdo that could help. I will look more into this. Thanks, Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Haris Kurtagic Sent: Thursday, October 16, 2008 11:10 PM To: MapGuide Users Mail List Subject: RE: [mapguide-users] Please help! Has anybody used King.Oracleinrealconditions? Hi, I am running MG OS 2.0.1 with King.Oracle provider. I have problems that I cant clearly reproduce problems with memory leaks. I noticed some strange slow running but to soon to tell exactly. Can you tell me what version of provider are you using and MapGuide and Oracle client ? Thanks, Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gingerbbm Sent: Monday, October 13, 2008 4:18 PM To: mapguide-users@lists.osgeo.org Subject: RE: [mapguide-users] Please help! Has anybody used King.Oracleinreal conditions? Hi Haris Haris Kurtagic wrote: Seriously, I will have some news by start of next week. Sorry to chase you. Were you able to make any progress? -- View this message in context: http://n2.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real -conditions--tp1140937p1328900.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 mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Oracle XE with ODBC?
was your userame in uppercase? On Fri, Oct 17, 2008 at 5:45 AM, Gordon Luckett [EMAIL PROTECTED] wrote: Hi, has anyone been able to enumerate the list of tables in Oracle XE 10g when connecting in MapGuide Studio with ODBC. None of the tables appear in the Show Tables area when making an OSGEO FDO Provider for ODBC. None of the tables are spatial just numeric with Lat and Long... I have tried many users (DBA rights) - and nothing. I know I can connect with ODBC because when I LINK tables to the ODBC with MS Access I can see the tables in Oracle XE. So the ODBC connection is fine. Has anyone had any luck with ODBC and XE seeing the tables in Studio 2009? Thanks Gordon ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com (My Blog) +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: Re[mapguide-users] nderingService on MGOS 2.0.2
there's a few case sensitive gotcha's like that with mapguide... worth filing a bug? On Fri, Oct 17, 2008 at 11:41 AM, Alex Fordyce [EMAIL PROTECTED] wrote: Kenneth, I don't know whether to laugh or cry, but that was it! Changed png to PNG and it works great now. Thank you so much. Regards, alex Kenneth Skovhede, GEOGRAF A/S wrote: I use the GETMAPIMAGE function extensively, which I belive is the same function, and it works great. What line causes the error? Have you tried with PNG instead of png? Regards, Kenneth Skovhede, GEOGRAF A/S Alex Fordyce skrev: Has anyone been successful using the RenderingService using release 2.0.2? It does not seem to be working for me. My install is MGOS 2.0.2 ,.NET, and IIS. I am trying to save a map as a PNG to my local drive. I get the following error: An unclassified exception occurred. and no file is created. Yes, c:\temp exists. :) Sample C# code: MgByteReader byteReader = renderingService.RenderMap(map, selection, mapExtent, 650, 650, bgcolor, png ); MgByteSink byteSink = new MgByteSink(byteReader); string fileName = c:\\temp\\myMap.png; byteSink.ToFile(fileName); Any suggestions or success stories would be welcomed. thanks. alex ___ 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/RenderingService-on-MGOS-2.0.2-tp20005723p20023938.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 (My Blog) +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Supported WMS and WFS in MapGuide
I think you can test the server side capabilities using the web tier tests which allows passing a version http://locahost:8008/mapguide/mapagent/ there are a few quirks with WMS in there, GetMap returns only layers ( and a list of them ) rather than maps, there's no caching and or http cache semantics either this document gives a nice nice overview of WMS support tho http://feeds.autodesk.com/servlet/JiveServlet/download/233-594160-5688489-163673/ConfiguringAWMSFeatureSource.doc On Fri, Oct 17, 2008 at 7:12 AM, BradM [EMAIL PROTECTED] wrote: WMS is critical to the success of my mapguide applications. Can anyone answer Kenneth? Kenneth Skovhede, GEOGRAF A/S wrote: If found the following document describing the versions of WMS and WFS supported in MapGuide: http://mapguide.osgeo.org/faq_ogcserices.html The page appears quite outdated: as soon as the FDO providers for WMS and WFS are available. The above mentioned page is not making a clear distinciton between being a client and being a server. There was no apparent mentioning of WMS/WFS versions on the FDO website either. My questions are: 1. What versions are supported when MapGuide is a WMS/WFS server? 2. What versions are supported when MapGuide is a WMS/WFS client? 3. Does MapGuide support WFS-T as a server? 4. Does MapGuide support WFS-T as a client? 5. How are the OGC certifications for server/client WMS/WFS coming along? -- Regards, Kenneth Skovhede, 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/Supported-WMS-and-WFS-in-MapGuide-tp19968309p20016664.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 (My Blog) +61 405 847 168 ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
RE: [mapguide-users] Please help! Has anybody used King.Oracle inreal conditions?
Harris thanks a lot. i have almost 5 live porjects using king fdo so we are really depend upon this update thanks shreepad haris kurtagic wrote: Hi, I am looking into King.Oracle provider right now. I thought we will do it at start of this week but I forgot that my colleague Simon, who worked on latest versions of provider, will be one more week in S. Africa. We haven't worked with a MG 2.1, yet. I am running now MG 2.1 with King.Oracle and I will try to get some answers soon. Haris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dragan Podvezanec Sent: Wednesday, October 15, 2008 8:59 AM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] Please help! Has anybody used King.Oracle inreal conditions? FISHeR1 wrote: Has anybody used King.Oracle in real conditions? Or it was created and tested by the developers, who ascertained outputed and calmed down? In real conditions it is impossible to use this provider! File mgserver.exe is damaged after a half an hour of intensive working. Has anybody any ideas? What to do? Unfortunately, I can only confirm this problem: after hour or two of intensive work, mgserver.exe eats all ram and application doesn't respond. Since I'll have to use Oracle on public application, this is a major obstacle. 10gR2 here, with about 10 tables and few views. -- View this message in context: http://www.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-rea l-conditions--tp19793029p19987883.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 - Shreepad Ranadive Direcotor , Application Development ValueCAD 444 Natoma St Sanfrancisco,CA 94103 -- View this message in context: http://www.nabble.com/Please-help%21-Has-anybody-used-King.Oracle-in-real-conditions--tp19793029p20026567.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