Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread nasp
Thank you very much for your answer. That is what I got from Mapagent: Library://POSTGIS/postgisDB.FeatureSource 2 Administrator 2009-04-17T08:25:15Z 2009-04-17T08:25:15Z true Everyone r,w So, Mapagent returned no XML. Probably the problem is the Postgis provider, but how can I solve it? When

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread Jackie Ng
What does the XML for the feature source look like? (Edit the resource as xml in Maestro, or use GetResourceContent in the mapagent) - Jackie nasp wrote: Thank you very much for your answer. That is what I got from Mapagent: Library://POSTGIS/postgisDB.FeatureSource 2 Administrator

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread Bruno Scott
I'm on the PostGIS provider code actually, fixing defects, and i found one that is maybe related. If you have a table with column of type timestamp with time zone The provider craches and can't describe the schema. Bruno -- View this message in context:

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread nasp
This is data connection XML: ?xml version=1.0 encoding=utf-8? FeatureSource xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xsi:noNamespaceSchemaLocation=FeatureSource-1.0.0.xsd ProviderOSGeo.PostGIS/Provider Parameter NameService/Name

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread nasp
Hi, I just have a table with an ID, a geometry column and nothing else. Is your test on windows platform? Thank you. Naspi Bruno Scott wrote: I'm on the PostGIS provider code actually, fixing defects, and i found one that is maybe related. If you have a table with column of type

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread Bruno Scott
Yes my test platform is on windows I don't see your Datastore tag! This is my connection ProviderOSGeo.PostGIS/Provider Parameter NameUsername/Name Valuepostgres/Value /Parameter Parameter NamePassword/Name Valueroot/Value /Parameter Parameter NameService/Name

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread nasp
I don't know why Maestri didn't add Datastore tag. I manually added Datastore tag. Data connection test is ok. When I create a layer on that data Connection I get MgInvalidStreamHeaderException Attached to this message you can find the print screen error. Naspi

Re: [ZS1] Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-22 Thread Kenneth Skovhede, GEOGRAF A/S
I assume that unittest is a table, and DataStore is the database, is this correct? If so, I will update Maestro to include the DataStore field. How did you add the extra tag, through Maestro or throug the MapAgent? Regards, Kenneth Skovhede, GEOGRAF A/S nasp skrev: I don't know why Maestri

[mapguide-users] FDO Provider for Postgis ERROR

2009-04-21 Thread nasp
Hi, I successfully installe PostGre 8.3.4 with Postgis 1.3.5 on windows Vista. I also have Mapguide 2.0.2. I created a new data connection with Mapguide Maestro that refers to a postgis database. The database has 1 table with 1 colum of type geometry. When I do Test Connection with Maestro, I

Re: [mapguide-users] FDO Provider for Postgis ERROR

2009-04-21 Thread Jackie Ng
Go to the mapagent interface: http://yourmapguideserver:port/mapguide/mapagent/index.html Click Feature under Services API Click GetSchemas Enter the resource id of the feature source and click Submit If you get xml content, then click DescribeSchema and enter the same resource id and enter