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

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Apr 22 09:15:35 EDT 2009


Ok, thanks for clarifying.

What happens if you press "Preview" on the FeatureSource?
What entries are in the error log?

Regards, Kenneth Skovhede, GEOGRAF A/S



nasp skrev:
> Hi,
> I don't think that it is correct.
> unittest is the database
> public is the schema
>
> 'unittest' database may have many tables each of one with one or more
> columns of type geometry.
>
> I added extra tag with Maestro, editing XML of data connection.
>
>
> Naspi
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> 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 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 http://n2.nabble.com/file/n2675832/InvalidStreamHeaderException.jpg 
>>>
>>>
>>>
>>>
>>> Bruno Scott wrote:
>>>   
>>>       
>>>> Yes my test platform is on windows
>>>>
>>>> I don't see your Datastore tag!
>>>>   
>>>> This is my connection
>>>> <Provider>OSGeo.PostGIS</Provider>
>>>>   <Parameter>
>>>>     <Name>Username</Name>
>>>>     <Value>postgres</Value>
>>>>   </Parameter>
>>>>   <Parameter>
>>>>     <Name>Password</Name>
>>>>     <Value>root</Value>
>>>>   </Parameter>
>>>>   <Parameter>
>>>>     <Name>Service</Name>
>>>>     <Value>unittest at beaufix:5432</Value>
>>>>   </Parameter>
>>>>   <Parameter>
>>>>     <Name>DataStore</Name>
>>>>     <Value>public</Value>
>>>>   </Parameter>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090422/d4417a0f/attachment.html


More information about the mapguide-users mailing list