[mapguide-users] OGR with postgis support
kenny at keniginc.com
kenny at keniginc.com
Mon Aug 14 07:59:14 EDT 2006
Hi Kenneth and thank you for responding to this thread.
How do you edit the providers.xml?
It is my understanding that from the readme associated with the ogr
provider that I downloaded that you need to do 2 things:
1, add an entry, this entry:
<FeatureProvider>
<Name>OSGeo.OGR.0.1</Name>
<DisplayName>FDO Provider for OGR</DisplayName>
<Description>Access to OGR data sources</Description>
<IsManaged>False</IsManaged>
<Version>0.1.0.0</Version>
<FeatureDataObjectsVersion>3.1.0.0</FeatureDataObjectsVersion>
<LibraryPath>OGRProvider.dll</LibraryPath>
</FeatureProvider>
to providers.xml and as you correctly stated, add the OGRprover.dll into FDO.
I have done these and restarted the mapGuide service.
If all goes well, when you go to Studio and attempt to add a database
connection, you should the OGR provider. Right now, I only see the
ODBC connection that I set up awhile back.
Did I miss something?
Quoting "Kenneth, GEOGRAF A/S" <ks at geograf.dk>:
> You must edit providers.xml and copy the dll into the FDO directory.
> This must be done in both the Service FDO folder and the Studio FDO folder.
>
> I'm guessing that Studio uses the GUI part, and the Service does the
> actual data access.
>
> Perhaps Studio should be modified to load this from the server?
> But then there would be windows/linux problems.
>
> I don't know how this works in Web Studio, if thats what you are trying.
>
> Mvh. Kenneth, GEOGRAF A/S
>
>
>
> kenny at keniginc.com skrev:
>> Ok,
>>
>> I know I have been a bit slower catching on to this than most,
>> largely because other extreme commitments but please bear with me.
>>
>> I just downloaded, unzipped and compiled OGR Provider with PostGIS
>> support so I can gain direct access to some of our files using
>> connections.
>>
>> After adding an entry to providers.xml, I restarted service, wen to
>> studio and database connection but it isn't there.
>>
>> What am I doing wrong?
>>
>> Thanks very much in advance
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>> For additional commands, e-mail: users-help at mapguide.osgeo.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list