RE: [mapguide-users] libOGRProvider.so

2008-05-19 Thread Traian Stanev

Is this a general problem with the makefile? If yes, we need to fix it in the 
vault.

Traian


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of schwanzy
Sent: Monday, May 19, 2008 10:10 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] libOGRProvider.so

Traian Stanev wrote:

Try running "ldd -r " on the .so file to see if the provider is missing any 
dependencies. It doesn't seem like the .so is loading successfully, hence MG is 
unable to get the connection properties.

Traian

You're right.
Undefined symbols are provided by ProjConverter.cpp which wasn't included in my 
libOGRProvider.so.

Now it works in Debian Etch i386.

Thanks a lot.

// Simone
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] libOGRProvider.so

2008-05-19 Thread schwanzy

Traian Stanev wrote:


 

Try running “ldd –r “ on the .so file to see if the provider is 
missing any dependencies. It doesn’t seem like the .so is loading 
successfully, hence MG is unable to get the connection properties.


 


Traian



You're right.
Undefined symbols are provided by ProjConverter.cpp which wasn't 
included in my libOGRProvider.so.


Now it works in Debian Etch i386.

Thanks a lot.

// Simone
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] libOGRProvider.so

2008-05-16 Thread Traian Stanev

Try running "ldd -r " on the .so file to see if the provider is missing any 
dependencies. It doesn't seem like the .so is loading successfully, hence MG is 
unable to get the connection properties.

Traian


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of schwanzy
Sent: Friday, May 16, 2008 4:31 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] libOGRProvider.so

Jackie C. Ng wrote:

If you called the GetFeatureProviders method from the mapagent test pages, is

there an entry for OSGeo.OGR in the xml content and if so, does it have the

expected connection properties?



- Jackie


In (http://localhost:8008/mapguide/mapagent/ --> Feature --> 
GetFeatureProvider) "ConnectionProperties" is empty:

OSGeo.OGR.0.1
FDO Provider for OGR
Access to OGR data sources
3.2.2.0
3.2.2.0



Should I edit providers.xml?
I'm not sure that mixing "fdoogr-3.3.0.tar.gz" with fdo 3.2.2 sources required 
by MGOS 1.2was a good idea, but does it exist "fdoogr-3.2.3.tar.gz"?

Thanks.

// Simone
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] libOGRProvider.so

2008-05-16 Thread schwanzy

Jackie C. Ng wrote:

If you called the GetFeatureProviders method from the mapagent test pages, is
there an entry for OSGeo.OGR in the xml content and if so, does it have the
expected connection properties?

- Jackie
  
In (http://localhost:8008/mapguide/mapagent/ --> Feature --> 
GetFeatureProvider) "ConnectionProperties" is empty:


   
   OSGeo.OGR.0.1
   FDO Provider for OGR
   Access to OGR data sources
   3.2.2.0
   3.2.2.0
   
   


Should I edit providers.xml?
I'm not sure that mixing "fdoogr-3.3.0.tar.gz" with fdo 3.2.2 sources 
required by MGOS 1.2was a good idea, but does it exist 
"fdoogr-3.2.3.tar.gz"?


Thanks.

// Simone
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] libOGRProvider.so

2008-05-12 Thread Jackie C. Ng

If you called the GetFeatureProviders method from the mapagent test pages, is
there an entry for OSGeo.OGR in the xml content and if so, does it have the
expected connection properties?

- Jackie



schwanzy wrote:
> 
> Hi,
> now MapGuide OS 1.2 (with FDO 3.2.3) runs fine in Debian Etch i386.
> I built OGR FDO provider using  fdoogr-3.3.0.tar.gz (I cannot find  
> fdoogr-3.2.3.tar.gz on fdo.osgeo.org):
> 
> g++ -fPIC --shared OgrFdoUtil.cpp OgrProvider.cpp 
> -I/usr/local/fdo-3.2.3/include -I/usr/local/mapguideopensource/include 
> -L/usr/local/fdo-3.2.3/lib -lFDO  -L/usr/local/mapguideopensource/lib 
> -lgdal -o libOGRProvider.so
> cp libOGRProvider.so /usr/local/fdo-3.2.3/lib
> 
> and added provider definition to /usr/local/fdo-3.2.3/lib/providers.xml, 
> but when I try to create a new data connection there's no way to specify 
> connection settings as you can see from the attached image.
> 
> Any clue?
> 
> // Simone
> 
>  
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 


-
http://themapguyde.blogspot.com

http://www.linkedin.com/in/jackieng
-- 
View this message in context: 
http://www.nabble.com/libOGRProvider.so-tp17188741p17189307.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


[mapguide-users] libOGRProvider.so

2008-05-12 Thread schwanzy

Hi,
   now MapGuide OS 1.2 (with FDO 3.2.3) runs fine in Debian Etch i386.
I built OGR FDO provider using  fdoogr-3.3.0.tar.gz (I cannot find  
fdoogr-3.2.3.tar.gz on fdo.osgeo.org):


   g++ -fPIC --shared OgrFdoUtil.cpp OgrProvider.cpp 
-I/usr/local/fdo-3.2.3/include -I/usr/local/mapguideopensource/include 
-L/usr/local/fdo-3.2.3/lib -lFDO  -L/usr/local/mapguideopensource/lib 
-lgdal -o libOGRProvider.so

   cp libOGRProvider.so /usr/local/fdo-3.2.3/lib

and added provider definition to /usr/local/fdo-3.2.3/lib/providers.xml, 
but when I try to create a new data connection there's no way to specify 
connection settings as you can see from the attached image.


Any clue?

// Simone
<>___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users