Hi there, I've found many of the posting regarding connecting PostGIS and MGOS extremely useful. I have managed to create a datasource, point it to the PostGIS database, and no errors are reported when testing the connection. GREAT!
However... Now, I am trying to create a map that will allow me to display my postGIS data. I have created a new layer in MGOS Web Studio and pointed the layer to my postGIS datasource (as suggested in step 5-6). At this point, "Step 7 Select the table to use", I am not able to select any tables. I am attempting to select a feature source from the drop down list, but it is empty. Should my PostGIS tables show up at this point? Any feedback regarding displaying PostGIS data after establishing a connection would be greatly appreciated! TMerz > 1. Create a datasource How does one create a datasource using WebStudio or can some please post a working example of a datasource. On 13/09/2007, Kenneth, GEOGRAF A/S <k...@geograf.dk> wrote: > > If you are able to connect to the datasource, there should be no problem > displaying it. > > These are the steps to follow: > 1. Create a datasource > 2. Point it to the PostGIS database > 3. Click "Test connection" > 4. When it works, save the datasource. > 5. Create a new layer > 6. Point the layer to the datasource. > 7. Select the table to use. > 8. Style the point, line and area to your pleasing. > 9. Save the layer. > 10. Create a mapdefinition. > 11. Select the correct projection for the data. > 12. Add the layer to the map, make sure you have "Layer is initially > visble in the map" checked. > 13. Save the map. > 14. Create a new WebLayout. > 15. Select the map. > 16. Save the WebLayout. > > After item 7, you should be able to preview your data, using the "Preview" > feature. > Item 8 is where you could set up filters and the like. > > You can repeat item 12, if you have many layers. > > If the above does not help, try to explain where it goes wrong. > > Regards, Kenneth, GEOGRAF A/S -- View this message in context: http://n2.nabble.com/Postgis-mapguide-tp1812261p2247155.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