[Qgis-user] Announcing ProfileFromLine plugin
Ricardo Filipe Soares Garcia da
ricardo.garcia.silva at gmail.com
Tue Aug 17 04:56:47 PDT 2010
Olá Giovanni
I am also on Ubuntu 10.04 (actually kubuntu, but it should be the
same). I am guessing you probably have the shapely lib installed from
the repositories. I thought I had the same, but I just checked and the
version of shapely that is in the repos is 1.0.14-1. I must have
installed shapely using easy_install and later forgot about it. I am
sorry for this confusion.
So, to solve the issue, please install shapely using easy_install. It
will give you the current version, which is 1.2 and that will (most
likely) solve your problem.
If you don't have easy_install yet, just open up Synaptic and look for
the python-setuptools package
After that, you can run:
sudo easy_install shapely
On Tue, Aug 17, 2010 at 12:34 PM, Giovanni Manghi
<giovanni.manghi at gmail.com> wrote:
> Olá Ricardo,
>
> thanks for the nice tool.
>
>
> I'm under ubuntu 10.04, using ubuntugis repositories and python-shapely
> installed. When I launch the plugin I always get
>
> The shapely python package uses the GEOS library. \Your current version
> of GEOS doesn't support the feature needed by Shapely. \Please install a
> more recent version of GEOS (version 3.2 or later).
>
> but as a fact I have GEOS 3.2.2 installed...
>
>
> thanks in advance
>
> -- Giovanni --
>
>
> On Fri, 2010-08-13 at 21:53 +0100, Ricardo Filipe Soares Garcia da
> wrote:
>> Hello list
>>
>> I have uploaded a new python plugin called ProfileFromLine.
>> This plugin will generate points along lines according to a user
>> specified interval and will optionally sample loaded raster(s) at each
>> new point's location.
>>
>> Each new point will keep all the attributes of its originating line,
>> plus any raster values that it had been asked to sample. In addition,
>> every point will have a distinct attribute and also an attribute that
>> stores the distance along its line since the beginning (the line's
>> starting point being according to the original digitizing direction).
>>
>> the new points layer is created using the 'memory' provider, and the
>> user must manually save it to disk. this seemed like a nice option,
>> because you can choose your desired format upon saving.
>>
>> The plugin depends on the shapely python package, so you must have it
>> installed and accessible on your system. This shouldn't be much of a
>> problem on linux and windows (it is available on the osgeo4w packages
>> as well). since I don't have a Mac I wouldn't know how easy it is to
>> get shapely installed, but I trust it to be just as easy ;)
>>
>> I hope that it is useful. Please drop me a message through this
>> mailing list if you have any suggestions.
>>
>
>
>
--
___________________________ ___ __
Ricardo Garcia Silva
More information about the Qgis-user
mailing list