I recently installed GRASS 6.4.3 setup for Windows in my machine running Windows 7. However after installation, in GRASS i did not find GRASS vector support for GDAL/OGR. Then i uninstalled GRASS and installed GRASS 6.4.3RC2 through OSGEO4W. Still in OSGEO4W, libraries for GRASS vector support for GDAL/OGR are missing. My requirement is to read GRASS vector data through external Python (Python 2.7). Python bindings for GDAL/OGR are available in OSGEO4W but not GRASS vector bindings. Can anybody help over this problem please?
what do you mean by no vector support? Can you see vector menu ?
When importing vector using Common Import formats from:
File → Import Vector data
What error are you getting?
···
On Fri, Dec 28, 2012 at 9:36 PM, Brian Sanjeewa Rupasinghe <jinkabs@gmail.com> wrote:
Hi,
I recently installed GRASS 6.4.3 setup for Windows in my machine running Windows 7. However after installation, in GRASS i did not find GRASS vector support for GDAL/OGR. Then i uninstalled GRASS and installed GRASS 6.4.3RC2 through OSGEO4W. Still in OSGEO4W, libraries for GRASS vector support for GDAL/OGR are missing. My requirement is to read GRASS vector data through external Python (Python 2.7). Python bindings for GDAL/OGR are available in OSGEO4W but not GRASS vector bindings. Can anybody help over this problem please?
2012/12/28 Brian Sanjeewa Rupasinghe <jinkabs@gmail.com>:
I recently installed GRASS 6.4.3 setup for Windows in my machine running
Windows 7. However after installation, in GRASS i did not find GRASS vector
support for GDAL/OGR. Then i uninstalled GRASS and installed GRASS 6.4.3RC2
through OSGEO4W. Still in OSGEO4W, libraries for GRASS vector support for
GDAL/OGR are missing. My requirement is to read GRASS vector data through
external Python (Python 2.7). Python bindings for GDAL/OGR are available in
OSGEO4W but not GRASS vector bindings. Can anybody help over this problem
please?
it's question for GDAL/OGR OSGeo4W package maintainer [1].
`gdal-grass` package in OSGeo4W framework hasn't been updated for a
long time [2].
On Fri, Dec 28, 2012 at 5:06 PM, Brian Sanjeewa Rupasinghe
<jinkabs@gmail.com> wrote:
Hi,
I recently installed GRASS 6.4.3 setup for Windows in my machine running
Windows 7. However after installation, in GRASS i did not find GRASS vector
support for GDAL/OGR.
You need the GDAL-GRASS plugin (!) to be installed as well.
On Fri, Dec 28, 2012 at 9:49 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Fri, Dec 28, 2012 at 5:06 PM, Brian Sanjeewa Rupasinghe
<jinkabs@gmail.com> wrote:
Hi,
I recently installed GRASS 6.4.3 setup for Windows in my machine running
Windows 7. However after installation, in GRASS i did not find GRASS vector
support for GDAL/OGR.
You need the GDAL-GRASS plugin (!) to be installed as well.
I need to automate some GRASS functions in my research work. If there is a possibility to build gdal_grass plugin for Windows it is highly appreciated. Even the Python scripts that call GRASS functions from outside for MS_Windows do not connect with GRASS even though the instructions provided in the GRASS wiki is followed. I have posted this problem in grass-windows forum and finally advised me to bring the problem down to grass-dev list.
On Sat, Dec 29, 2012 at 2:28 AM, Jürgen E. <jef@norbit.de> wrote:
Hi Markus,
On Fri, 28. Dec 2012 at 21:33:47 +0100, Markus Neteler wrote:
Um, claiming that’s it’s impossible, would be a lie.
But I don’t maintain GRASS in OSGeo4W anymore - and QGIS, which I originally
built GRASS and the GDAL GRASS plugin for, doesn’t need GRASS support in GDAL
anymore. Therefore the old package is unmaintained and is marked obsolete.
Martin Landa took over GRASS maintenance in OSGeo4W - maybe he has more
interest in building the plugin…
Jürgen
–
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
–
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
2012/12/29 Brian Sanjeewa Rupasinghe <jinkabs@gmail.com>:
Martin Landa took over GRASS maintenance in OSGeo4W - maybe he has more
interest in building the plugin...
I put it to my TODO list. Unfortunately there are many other things
which are more urgent. Sorry. Is there anyone in grass-dev ML who is
interested to update gdal-grass osgeo4w package? Then I will happily
uploaded to the osgeo4w framework.
As Martin requested will you be able to update gdal-grass osgeo4W package? If not, i will be
able to do it provided you support me because i do not have any experience in creating packages.
Martin Landa took over GRASS maintenance in OSGeo4W - maybe he has more
interest in building the plugin…
I put it to my TODO list. Unfortunately there are many other things
which are more urgent. Sorry. Is there anyone in grass-dev ML who is
interested to update gdal-grass osgeo4w package? Then I will happily
uploaded to the osgeo4w framework.
On Sat, 29. Dec 2012 at 10:58:19 +0530, Brian Sanjeewa Rupasinghe wrote:
I need to automate some GRASS functions in my research work. If there is a
possibility to build gdal_grass plugin for Windows it is highly
appreciated. Even the Python scripts that call GRASS functions from
outside for MS_Windows do not connect with GRASS even though the
instructions provided in the GRASS wiki is followed. I have posted this
problem in grass-windows forum and finally advised me to bring the problem
down to grass-dev list.
And you are positive that the GDAL plugin would help? The above description
sounds like a more general problem and I don't see any connection to the
missing plugin at all.
Does GRASS itself need the GDAL GRASS plugin at all?
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
And you are positive that the GDAL plugin would help? The above description
sounds like a more general problem and I don't see any connection to the
missing plugin at all.
Does GRASS itself need the GDAL GRASS plugin at all?
no, GRASS doesn't not need GDAL compiled with GRASS support. No GRASS
module depends on it. Otherwise we would maintain gdal-grass plugin
for OSGeo4W. Anyway it would be good idea to maintain it, personally I
could find time for that later, but not now.
2012/12/29 Brian Sanjeewa Rupasinghe <jinkabs@gmail.com>:
As Martin requested will you be able to update gdal-grass osgeo4W package?
If not, i will be
able to do it provided you support me because i do not have any experience
in creating packages.
I didn't request anything. I just said that I had no time at this
moment to update this package. If you send me updated package I will
happily upload it to the osgeo4w framework (having permission for that
as a maintainer of grass and grassXX-dev packages).
Sorry for sticking on this question because i badly need gdal-grass plugin in Windows.
I downloaded gdal-grass-1.5.4.tar.bz2 and unpacked it in c:\osgeo4w\usr\src
with MSYS console. After unpacking it, i find two dll files; gdal_grass and ogr_grass in c:\osgeo4w\usr\src\bin\gdalplugins path. Any idea of compiling now this in OSGEO4W?
As Martin requested will you be able to update gdal-grass osgeo4W package?
If not, i will be
able to do it provided you support me because i do not have any experience
in creating packages.
I didn’t request anything. I just said that I had no time at this
moment to update this package. If you send me updated package I will
happily upload it to the osgeo4w framework (having permission for that
as a maintainer of grass and grassXX-dev packages).
On Sun, Dec 30, 2012 at 9:09 AM, Brian Sanjeewa Rupasinghe
<jinkabs@gmail.com> wrote:
Hi,
Sorry for sticking on this question because i badly need gdal-grass plugin
in Windows.
Your scope is to read GRASS data through GDAL/OGR? No way to read
them through GRASS itself (and its new Python API in GRASS 7)?
I downloaded gdal-grass-1.5.4.tar.bz2 and unpacked it in c:\osgeo4w\usr\src
with MSYS console. After unpacking it, i find two dll files; gdal_grass and
ogr_grass in c:\osgeo4w\usr\src\bin\gdalplugins path. Any idea of compiling
now this in OSGEO4W?
They *are* the compiled binary files. Just outdated and hence likely
not compliant with the other current OSGeo4W DLLs.
The source code is here: http://download.osgeo.org/gdal/
-> gdal-grass-1.4.3.tar.gz
but I believe that it should be better extracted again from the master
GDAL package.