[FWTools] RE: FWTools Digest, Vol 46, Issue 8
Vince Ulfig
vulfig at hotmail.com
Thu Aug 14 16:30:15 EDT 2008
Ah yes. I had set enough environment variables for the utilities,
but hadn't set enough for the python bindings,
and I forgot about that.
Thank you so much. I'm sorry to have bothered you with this triviality.
-----Original Message-----
From: fwtools-bounces at lists.maptools.org
[mailto:fwtools-bounces at lists.maptools.org] On Behalf Of
fwtools-request at lists.maptools.org
Sent: Thursday, August 14, 2008 9:01 AM
To: fwtools at lists.maptools.org
Subject: FWTools Digest, Vol 46, Issue 8
Send FWTools mailing list submissions to
fwtools at lists.maptools.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.maptools.org/mailman/listinfo/fwtools
or, via email, send a message with subject or body 'help' to
fwtools-request at lists.maptools.org
You can reach the person managing the list at
fwtools-owner at lists.maptools.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FWTools digest..."
Today's Topics:
1. RE: Using Python bindings with latest version of FWTOOLS -
And Clip Vector Data (Vince Ulfig)
2. Re: RE: Using Python bindings with latest version of FWTOOLS
- And Clip Vector Data (Frank Warmerdam)
----------------------------------------------------------------------
Message: 1
Date: Thu, 14 Aug 2008 02:34:54 -0700
From: "Vince Ulfig" <vulfig at hotmail.com>
Subject: [FWTools] RE: Using Python bindings with latest version of
FWTOOLS - And Clip Vector Data
To: <fwtools at lists.maptools.org>
Message-ID: <BAY120-DAV1028E28C58C0F54786881FC8720 at phx.gbl>
Content-Type: text/plain; charset="us-ascii"
> Hi Frank,
>
> I recently started using the GDAL / OGR utilities from FWTools and love
> them.
Thank you.
> I installed the python bindings for GDAL from this page:
> http://pypi.python.org/pypi/GDAL
>
> I found that I had to install gdalwin32-1.5 in addition to FWTools and add
> C:\gdalwin32-1.5\bin to the path variable,
> in order to get the python bindings to work.
> I ran some code that attempts to import ogr
> and use some of the objects,
> and found that I could not import ogr
> until I added the path described above.
>
> I then found that the only files in
> C:\gdalwin32-1.5\bin
> that were not included in
> c:\program files\fwtools2.1.0\bin
> were gdal15.dll and geos_c_fw.dll.
> When I copied these files to
> c:\program files\fwtools2.1.0\bin
> and removed C:\gdalwin32-1.5\bin
> from the path variable, I could still import ogr.
>
> Is this a reasonable method for using the python bindings for gdal?
> Is it better to install both FWTOOLS and gdalwin32-1.5?
>
> When I had both in the path,
> I put gdalwin32-1.5/bin in the path in front of FWTOOLS.
> Does this make sense?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.maptools.org/pipermail/fwtools/attachments/20080814/4ab23b42/at
tachment-0001.html
------------------------------
Message: 2
Date: Thu, 14 Aug 2008 09:22:30 -0400
From: "Frank Warmerdam" <warmerdam at pobox.com>
Subject: Re: [FWTools] RE: Using Python bindings with latest version
of FWTOOLS - And Clip Vector Data
To: vulfig at hotmail.com
Cc: fwtools at lists.maptools.org
Message-ID:
<931f8ea90808140622t452e843ao9645e48df28e1be5 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Vince,
FWTools already includes python bindings which you could use. If you
want to use the pypi bindings then they depend on the standard GDAL
binaries which you have found. It is possible to mix these standard
DLLs into FWTools but there is some risk of conflicts. I would generally
suggest you keep them separate.
Best regards,
On Thu, Aug 14, 2008 at 5:34 AM, Vince Ulfig <vulfig at hotmail.com> wrote:
> Hi Frank,
>
> I recently started using the GDAL / OGR utilities from FWTools and love
> them.
> Thank you.
>
> I installed the python bindings for GDAL from this page:
> http://pypi.python.org/pypi/GDAL
>
> I found that I had to install gdalwin32-1.5 in addition to FWTools and add
> C:\gdalwin32-1.5\bin to the path variable,
> in order to get the python bindings to work.
> I ran some code that attempts to import ogr
> and use some of the objects,
> and found that I could not import ogr
> until I added the path described above.
>
> I then found that the only files in
> C:\gdalwin32-1.5\bin
> that were not included in
> c:\program files\fwtools2.1.0\bin
> were gdal15.dll and geos_c_fw.dll.
> When I copied these files to
> c:\program files\fwtools2.1.0\bin
> and removed C:\gdalwin32-1.5\bin
> from the path variable, I could still import ogr.
>
> Is this a reasonable method for using the python bindings for gdal?
> Is it better to install both FWTOOLS and gdalwin32-1.5?
>
> When I had both in the path,
> I put gdalwin32-1.5/bin in the path in front of FWTOOLS.
> Does this make sense?
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
>
--
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
------------------------------
_______________________________________________
FWTools mailing list
FWTools at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/fwtools
End of FWTools Digest, Vol 46, Issue 8
**************************************
More information about the FWTools
mailing list