[GRASS-stats] Speedup of readVECT6() with plugin
Roger Bivand
Roger.Bivand at nhh.no
Sun Jun 1 14:47:22 EDT 2008
On Sat, 31 May 2008, Markus Neteler wrote:
> On Sat, May 31, 2008 at 6:35 PM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
>> On Sat, 31 May 2008, Markus Neteler wrote:
>>> On Sat, May 31, 2008 at 5:51 PM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
>>>> On Sat, 31 May 2008, Markus Neteler wrote:
>>>>> I have to read in Lidar data from GRASS, so speed matters. I have
>>>>> modified the readVECT6() function to not export to SHAPE but
>>>>> read in directly via GRASS-GDAL/OGR plugin:
>>>>
>>>> Dear Markus,
>>>>
>>>> In theory maybe, but if I cannot make the plugin work (I use SELinux on
>>>> F7 for trials, and I have not found out how to make it accept the *.so from
>>>> GRASS), then I don't think that it is going to be very helpful.
>>>
>>> Sure. but I can help you if you like (got it running on various kinds of
>>> machines). It's also documented:
>>>
>>> http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin
>>
>> Including machines with SELinux running? It is very picky with ldconfig.
>
> I have never tried SELinux.
> But I simply use:
The SELinux was a red herring, I simply hadn't understood the change in
plugin technology. The current CVS version works for me on F7 under
SELinux with the plugin built as described in the wiki.
Please try the CVS version at:
cvs -d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial
login
cvs -z3
-d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial co
-P spgrass6
or a variant that works. The vector version looks OK, the raster version
is basic (uses data resolution not window resolution, and only handles one
raster at a time without categories).
Roger
>
> cat /etc/ld.so.conf.d/grass.conf
> /home/neteler/grass64/dist.x86_64-unknown-linux-gnu/lib
>
> (so I don't even run "make install" but use GRASS from
> my home)
>
>
> ...
>> Aha, I've been compiling with GRASS support, which was the old way. I'll try
>> again.
>
> thanks and good luck,
> Markus
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the grass-stats
mailing list