[mapguide-users] Get Provider Informations

2009-03-04 Thread SandraH
Hello, I've got a layer. The feature Source is Microsoft SQL Server. Is it possible to get the Provider Informations of the layer by using the API? I want to have the Provider Name and the Database type. Thank you, Sandra -- View this message in context:

Re: [mapguide-users] Get Provider Informations

2009-03-04 Thread Jackie Ng
If you look at the xml content of the feature source (using GetResourceContent() of MgResourceService), it will tell you the name of the provider. If you want more information about that provider: The GetFeatureProviders() method of MgFeatureService will show the parameters required to make a

Re: [mapguide-users] asp.net example of loading a webmapservice layer

2009-03-04 Thread stoff
Hi Stefan, I only modify the Mapguide-Studio-generated-XML (look at my uploads above) of layerdefinition and featuresource. Which XML-File have you mentioned and how do you use it? I did it like this (without success): GridLayerDefinition

Re: [mapguide-users] Get Provider Informations

2009-03-04 Thread SandraH
Thank you, this was what I was looking for! :-D -- View this message in context: http://n2.nabble.com/Get-Provider-Informations-tp2421074p2421286.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list

[mapguide-users] Regarding - Set Feature Label at Run Time

2009-03-04 Thread ravinder.singh
Hi All, I have to set a property as Feature Label for a layer at run time. I got some hints and tried with VectorLayerDefinitionType and TextSymbolType.But not able to do so as I don't know the exact procedure. I am using maestro api for creating run time map. Please assist... I am

Re: [mapguide-users] asp.net example of loading a webmapservice layer

2009-03-04 Thread Stefan Dalakov
Steps to setup a wms are very well described here: https://trac.osgeo.org/fdo/wiki/FdoWmsNotes I have copied a portion of the configuration document for the featuresource You can use Maestro to attach a configuration document to your existing featuresource Stefan Dalakov stoff wrote: Hi

Re: [mapguide-users] Create programmatically a map

2009-03-04 Thread sekko970
Dear all, I just found the cause of my problem. My web-layout xml template is a copy of a new layout XML structure created from MGMaestro: ?xml version=1.0 encoding=utf-8? WebLayout xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

Re: [mapguide-users] Polygon are not recorded in feature

2009-03-04 Thread Micho Gar
Thanks to all, this the XML for this resource FeatureSource xsi:noNamespaceSchemaLocation=FeatureSource-1.0.0.xsd ProviderOSGeo.SHP/Provider - Parameter NameDefaultFileLocation/Name Value%MG_DATA_PATH_ALIAS[datos]%poligonos/zonas.shp/Value /Parameter - Parameter NameTemporaryFileLocation/Name

[mapguide-users] Flow Direction

2009-03-04 Thread Berdel, Brian
Does anyone know of a way to show flow direction on a line feature with Arrows (i.e. Sewer Pipe Layer)? Very easy to do in esri, at a loss for how to accomplish in Mapguide though. Thanks, Brian ___ mapguide-users mailing list

RE: [mapguide-users] Flow Direction

2009-03-04 Thread Andy Morsell
This kind of thing is supported via the cartographic stylization engine. See this page to get started: http://trac.osgeo.org/mapguide/wiki/MapGuideRfc14. Example 4 is closest to what you are looking for. There was also a class taught by Bob Bray at Autodesk University 2007 that focused on

[mapguide-users] Questions about GML files and Dijkstra files

2009-03-04 Thread Sergio Nistal Calvo
Hi, I have two questions: 1- Does MapGuide accept GML files or MapGuide only accept sdf and shp files? 2- I have seen some files in C:\MAPGUIDE2\OpenSource_FDO\Thirdparty related with Dijkstra´s algorithm such as dijkstra_cc.cpp, dijkstra_shortest_paths.hpp, dag_shortest_paths.cpp ...

RE: [mapguide-users] Help for a newbie :)

2009-03-04 Thread Michael G. Byrne
Does the sample download have a package now? It only used to have the data in directories (e.g. as after loading a package) that could be copied to the mapguide site. -Original Message- From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On

RE: [mapguide-users] Help for a newbie :)

2009-03-04 Thread Jason Birch
For some users, the Sheboygan sample download would appear as a .zip instead of a .mgp because of the way that Internet Explorer handles content type and file extensions. If you unzipped it, it would look like it contained data, but if you renamed the .zip file to .mgp, you could import it as a

RE: [mapguide-users] Flow Direction

2009-03-04 Thread Berdel, Brian
Thanks Andy, I'll give it a try. Brian From: mapguide-users-boun...@lists.osgeo.org [mailto:mapguide-users-boun...@lists.osgeo.org] On Behalf Of Andy Morsell Sent: Wednesday, March 04, 2009 12:50 PM To: 'MapGuide Users Mail List' Subject: RE: [mapguide-users]

Re: [mapguide-users] Layer(oracle package) Selection Problem

2009-03-04 Thread padmini godavarthi
Hi, Thanks for u r reply. layer selection is not happening in oracle package loaded from data base. While selecting one feature with file based data iam able to get layerlength as 1, layer id and class id But While selecting feature from Oracle package i got the layer length as 0 and

Re: [mapguide-users] asp.net example of loading a webmapservice layer

2009-03-04 Thread stoff
Hi Stefan, thanks a lot for your information. That's a real good documentation ... Best regards, Christoph Stefan Dalakov wrote: Steps to setup a wms are very well described here: https://trac.osgeo.org/fdo/wiki/FdoWmsNotes I have copied a portion of the configuration document for the