[GRASS-user] Use of vmap0 data

Hello,

I'm trying to make use of the vmap0 data, following the article from
Markus Neteler in Grass News 3 (2005). I recompiled gdal to include
the OGDI driver and went through the process of changing the directory
and file names as explained in the article. However, am unable to
open the files:

GRASS 6.2.1 (vmap0nad83):~ > ogrinfo -ro -summary gltp:${MYDISK}
'polbnda@bnd(*)area'
FAILURE:
Unable to open datasource
`gltp:/vrf//home/rmason/Download/vmap0//v0sas/vmaplv0/sasus' with the
following drivers.
  -> GRASS
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> DGN
  -> VRT
  -> REC
  -> Memory
  -> BNA
  -> CSV
  -> GML
  -> GPX
  -> KML
  -> GeoJSON
  -> GMT
  -> SQLite
  -> ODBC
  -> PGeo
  -> OGDI
  -> PostgreSQL
  -> AVCBin

If someone can suggest how to debug this I'd be most grateful.

Thanks,
Roger

On Sun, 2008-03-23 at 13:25 -0230, Roger Mason wrote:

Hello,

Hi Roger!

I had quite an adventure also. Here my findings:

I'm trying to make use of the vmap0 data, following the article from
Markus Neteler in Grass News 3 (2005). I recompiled gdal to include
the OGDI driver

check with "ogrinfo --formats | grep OGDI" to be sure

and went through the process of changing the directory
and file names as explained in the article.

* In addition to that (for me it worked only when) I moved the v0eur
(that is the whole folder) somewhere where all parent directories DO NOT
contain capital letters (!)

* Then query for example:
ogrinfo gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia 'polbnda@bnd(*)_area'
-al

* Extract with:
ogr2ogr polbnda.shp
gltp:/vrf/home/nik/v0eur/vmaplv0/eurnasia'polbnda@bnd(*)_area'

Hope this helps.

Cheers,

Nikos

Roger,

since this is a OGR problem, better to ask on the
GDAL list... www.gdal.org

Markus

Roger Mason wrote:

Hello,

I'm trying to make use of the vmap0 data, following the article from
Markus Neteler in Grass News 3 (2005). I recompiled gdal to include
the OGDI driver and went through the process of changing the directory
and file names as explained in the article. However, am unable to
open the files:

GRASS 6.2.1 (vmap0nad83):~ > ogrinfo -ro -summary gltp:${MYDISK}
'polbnda@bnd(*)area'
FAILURE:
Unable to open datasource
`gltp:/vrf//home/rmason/Download/vmap0//v0sas/vmaplv0/sasus' with the
following drivers.
  -> GRASS
  -> ESRI Shapefile
  -> MapInfo File
  -> UK .NTF
  -> SDTS
  -> TIGER
  -> S57
  -> DGN
  -> VRT
  -> REC
  -> Memory
  -> BNA
  -> CSV
  -> GML
  -> GPX
  -> KML
  -> GeoJSON
  -> GMT
  -> SQLite
  -> ODBC
  -> PGeo
  -> OGDI
  -> PostgreSQL
  -> AVCBin

If someone can suggest how to debug this I'd be most grateful.

Thanks,
Roger

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  

Answering to the post with subject: [GRASS-user] Use of vmap0 data

On Mon, 2008-03-24 at 14:02 +0100, Markus Neteler wrote:

Roger,

since this is a OGR problem, better to ask on the
GDAL list... www.gdal.org

Markus

[...]

Markus,

another process for newbies is to understand how the mailing list(s)
work, how the community interacts, what is allowed and what not.

Even though there is a common sense of what is good, polite and what is
bad or inappropriate, it can be quite complicated since people from
around the globe participate and form the GRASS developer/ user
community.

That is: different mentalities, languages (=way of thinking and
socialising), stereotypes etc.

What is good for me (my enthousiasm let's say, which is my secret
power-driver and boosts up my will to learn, to share and to interact
with the community) might be not good for somebody else.

I think I just start getting into it or maybe need some time more... !

I' ve been reading my questions (since November) to the list these days
and I "discover" things that make me wonder: "did I really asked
that?" (meaning it was so easy) or even a few times "hmm... I shouldn't
write/ do that"!

Since the community is vital for everybody, for developers, for advanced
users and for new-commers (no matter if simple users or potential
developers), it is important for new-comers, to learn how and find their
own way to integrate into all this

There are maybe official/ typical "rules" for the mailing list but the
real deal is more than just "rules".

I am not giving any moral/ social lectures. I am convinced that you (in
plural - meaning all developers, advanced users) already have thought
and think of all this and help with your own way new people.

I just grabbed this opportunity to share my experience and most
important, I herewith apologise if I broke some people's nerves :wink:

I believe it is the best way to ask from somebody to ask his question in
another list, as Markus always does (or maybe not answer at all if there
is no time).

An idea is to "force" somehow new subscriber's to read the "rules" or
recommend to go through the list before asking (before the actual
verification of subscription? - Maybe this is already done, I don't
remember!)

Kind regards and Thank you all,

Nikos

Roger:

> FAILURE:
> Unable to open datasource
> `gltp:/vrf//home/rmason/Download/vmap0//v0sas/vmaplv0/sasus' with the
> following drivers.

IIRC the vmap0 reader wants the dsn to be in all lower case letters.
(.../Download/...)

Or maybe that just matters for the vmap0 structure?
And what about the double //s ?

Hamish

      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping

On Tue, Mar 25, 2008 at 12:35 PM, Hamish <hamish_b@yahoo.com> wrote:

Roger:

> > FAILURE:
> > Unable to open datasource
> > `gltp:/vrf//home/rmason/Download/vmap0//v0sas/vmaplv0/sasus' with the
> > following drivers.

IIRC the vmap0 reader wants the dsn to be in all lower case letters.
(.../Download/...)

Yes - see Markus Neteler in Grass News 3 (2005).

Markus

Nikos wrote:

another process for newbies is to understand how the mailing list(s)
work, how the community interacts, what is allowed and what not.

...

An idea is to "force" somehow new subscriber's to read the "rules" or
recommend to go through the list before asking (before the actual
verification of subscription? - Maybe this is already done, I don't
remember!)

Top of the mailing list page:
http://grass.osgeo.org/community/support.php

"Because the mailing lists are so critical to the project's success, and
support comes entirely from time-strapped volunteers and colleagues, we
request some mailing list etiquette be followed."
  http://grass.gdf-hannover.de/wiki/Mailing_list_etiquette

suggestions for improvements to that page are welcome.

Hamish

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs