You can use X/Y data in any coordinate system, not just Lon/Lat in an ODBC Connection.
Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Skovhede, GEOGRAF A/S Sent: Monday, November 24, 2008 1:48 PM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Creating Streets and info If you select the correct projection for both the data sources, and the map, MapGuide should fix it correctly for you. If you have X/Y data (lat/lon) in MySql, you can use the ODBC provider to map the data into points. Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: Thank you Kenneth, now it works :-) Another question: I've got objects coordinates and data on a MySql DB. Is it possible to use it to draw a layer with these objects? Object coordinates are local relative coordinates. Vehicles positions on my DB are lat/lon GPS coordinates. Have you got any suggestions about dealing with these different coordinates? Thank you very much again Cheers Carmelo ----- Original Message ----- From: Kenneth Skovhede, GEOGRAF A/S<mailto:[EMAIL PROTECTED]> To: MapGuide Users Mail List<mailto:[email protected]> Sent: Monday, November 24, 2008 3:29 PM Subject: Re: [mapguide-users] Creating Streets and info I see the problem now. You must include ALL the files, not just the SHP file. After that you must select the shp file to be the "main" item (the star button in Maestro). I can send you a package where I have done this if you like. The problem is that Maestro only displays "*.shp" in the file type, and you must select "All files" before you can add those other files. Feel free to add a feature request for the problem: http://trac.osgeo.org/mapguide/newticket Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: I tried using the exported SHP file with MapGuide Maestro. Using the ajaxviewer example SDF files I see many attributes, but using my exported SHP files I see only the FeatId field. If from Autocad Map I export data to SDF format I've got the same problem... If from Autocad Map I connect to the SHP data file I can see its attributes values on the data table. How come MapGuide Maestro doesn't display them? The SHP file is attached with this message, please help me ----- Original Message ----- From: Kenneth Skovhede, GEOGRAF A/S<mailto:[EMAIL PROTECTED]> To: MapGuide Users Mail List<mailto:[email protected]> Sent: Monday, November 24, 2008 1:56 PM Subject: Re: [mapguide-users] Creating Streets and info I am no expert on SHP data, but with most data, the attributes are included. If you use SHP data in MapGuide the attributes should be IN the SHP (or is it dbx, etc) file. >From then on you can see the columns everywhere, and use the attributes as >label or other stuff. If you select the columns to view on the layer, they will show up, just like the parcel data. If you use Arc, the attributes are also attached to the topology, so the export should be able to extract that as well. Regards, Kenneth Skovhede, GEOGRAF A/S Carmelo Saffioti skrev: Thank you for your help. I've found how to create object data. The problem is that I've got many objects (about 10.000), then I need an automatic method to attach data to objects. Some people told me to follow these steps: 1) create a topology 2) export a SHP file with topology data 3) use topology ID to make a JOIN between topology data and data I need to attach 4) import in Autocad Map the SHP file 5) label objects, using the Style tool 6) create a link template 7) generate links to "Enclosed Text" On Autocad Map guide I saw that it is possible to automatically link objects to data on a DB table. But it requires labels. Using labels created as I said here doesn't work... Other people told me to attach objects data using a GIS software, but did not say which software and how :-( I hope anybody here can help me, because it's taking a really long time for this purpose... I need to develop something similar to the ajaxviewer example, on which you can view info about Parcels. Hoping in your help Cheers Carmelo ----- Original Message ----- From: "Berdel, Brian" <[EMAIL PROTECTED]><mailto:[EMAIL PROTECTED]> To: "MapGuide Users Mail List" <[email protected]><mailto:[email protected]> Sent: Tuesday, November 18, 2008 2:45 PM Subject: RE: [mapguide-users] Creating Streets and info In autocad map you have to create the object data and attach it to the features. Check the help for creating object data. It is pretty straight forward once you know what you are doing. -----Original Message----- From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On Behalf Of Carmelo Saffioti Sent: Tuesday, November 18, 2008 8:49 AM To: MapGuide Users Mail List Subject: Re: [mapguide-users] Creating Streets and info Thanks Zac. You said that the street layer tooltip is based on attributes chosen from the feature source. Looking with Maestro at the viewer example I see what you mean. Then now I need to create a feature source with attributes. The feature source I'm using is a SHP file exported from my DWG planimetry with Autocad Map. Importing it into MapGuide I can see that it has only 1 attribute: FeatId. I saw that the viewer example uses a layer called "Parcels", which has many attributes. I need something similar, because on my planimetry I have many adiacents blocks, and for each of them I need to show a tooltip with detail informations (for example: Row number, Block number, Area code). Have I create this blocks, with their detail informations, on Autocad Map? I tried importing the Parcel SDF file features source into Autocad Map, and I see that each block is a poliline. But I don't see any attribute, I don't know how to... ----- Original Message ----- From: "Zac Spitzer" <[EMAIL PROTECTED]><mailto:[EMAIL PROTECTED]> To: "MapGuide Users Mail List" <[email protected]><mailto:[email protected]> Sent: Tuesday, November 18, 2008 12:29 PM Subject: Re: [mapguide-users] Creating Streets and info have a look at how the example you looked at is configured the street layer will expose a tooltip based on the attributes chosen from the feature source in the tooltip expression z On Tue, Nov 18, 2008 at 10:29 PM, Carmelo Saffioti <[EMAIL PROTECTED]><mailto:[EMAIL PROTECTED]> wrote: Thank you for your answer. I'm using Maestro. Ok, I see that the tooltip is definable on the layer with Maestro. So, to have a tooltip for each street should I have a layer for each street? ----- Original Message ----- From: "Zac Spitzer" <[EMAIL PROTECTED]><mailto:[EMAIL PROTECTED]> To: "MapGuide Users Mail List" <[email protected]><mailto:[email protected]> Sent: Tuesday, November 18, 2008 12:15 PM Subject: Re: [mapguide-users] Creating Streets and info what tools are you using? studio, maestro? they are called tooltips and they are defined per layer On Tue, Nov 18, 2008 at 10:12 PM, Carmelo Saffioti <[EMAIL PROTECTED]><mailto:[EMAIL PROTECTED]> wrote: Hi everybody, Seeing the MapGuide viewer example I saw that when the mouse cursor is over a street it displays a message with informations about the street. I'd like to make something similar. I need to create streets and infos too. How can I do? I hope you can help me starting Cheers Carmelo _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com http://ennoble.dreamhosters.com/mapguide-central/ +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users -- Zac Spitzer - http://zacster.blogspot.com http://ennoble.dreamhosters.com/mapguide-central/ +61 405 847 168 _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users ________________________________ _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users ________________________________ _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users ________________________________ _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users ________________________________ _______________________________________________ mapguide-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
