[Freegis-list] VMAP0/Eurnasia -> SHAPE problems (OGR/OGDI driver)

Markus Neteler neteler at itc.it
Tue Jun 10 11:13:58 CEST 2003


John,

On Tue, Jun 10, 2003 at 02:38:39PM +1000, John Reid wrote:
> Markus,
> 
> By your comment "after some tricks it works now" I assume you have 
> managed to get the failed 72 maps working?

Right. The MapServer ist up-and-running, but does not
contain (yet) all 76 maps. For the tricks see the old
comments below.

>  Where did you source your  VMAP0 data from?

I got them from
http://geoengine.nima.mil

Markus

> John
> 
> Markus Neteler wrote:
> 
> >John,
> >(cc FreeGIS)
> >
> >On Fri, Jun 06, 2003 at 12:03:15PM +1000, John Reid wrote:
> >  
> >
> >>Markus,
> >>
> >>Out of curiosity, did the VMAP0 datasources for the 72 maps that failed 
> >>to report any features use the tiled VPF data structure?  And the maps 
> >>that did work had their features untiled?  Sorry for my atrocious 
> >>terminology - been a while since I looked at this.
> >>    
> >>
> >
> >Good question - how to find out? I only downloaded the file from NIMA
> >and tried to use it. Well, after some tricks it works now, enjoy the new
> >mapserver:
> >
> >http://mpa.itc.it/markus/mapserver/ 
> >(the site may be a bit overloaded)
> > 
> >  
> >
> >>The other problem I experienced with VPF data was that  some VPF 
> >>datasets do not conform to the published specification.  I know I had to 
> >>rename a few directories to get the Global 1M dataset for Australia 
> >>working.  If you need more details, please contact me and I will find my 
> >>notes on the problem.
> >>    
> >>
> >
> >Yes, you have to rename all files with trailing period (delete this period).
> >Only then the OGR/OGDI driver works...
> >
> >Then I have the impression that the OGR/OGDI driver does not work over NFS.
> >
> >Cheers
> >
> > Markus
> >
> >
> >  
> >
> >>Markus Neteler wrote:
> >>
> >>    
> >>
> >>>Dear list members,
> >>>
> >>>[I already posted on GDAL-dev, sorry for crossposting - now I try here]
> >>>
> >>>did anyone (successfully) manage to convert VMAP0/Eurnasia
> >>>to SHAPE format (or some other widely used GIS format supported
> >>>by OGR)?
> >>>
> >>>I have compiled the OGDI-3.1.1 driver on Redhat Linux (a few
> >>>Makefile changes were required), then compiled OGR with
> >>>OGDI support (CVS version of GDAL/OGR).
> >>>
> >>>The 'ogrinfo' works well, but only reports features for 4 maps 
> >>>of 76 maps:
> >>>
> >>>For
> >>>- 72 maps is reported that they contain 0 features
> >>>-  4 maps contain this number of features:
> >>>    Feature Count: 1424 - libref at libref(*)_line
> >>>    Feature Count: 28   - tileref at tileref(*)_area
> >>>    Feature Count: 107  - libreft at libref(*)_text
> >>>    Feature Count: 28   - tilereft at tileref(*)_text
> >>>
> >>>      
> >>>
> >>>From libref at libref(*)_line I was able to generate a SHAPE file.
> >>    
> >>
> >>>Commands like:
> >>>ogr2ogr watrcrsl.shp \
> >>>  gltp:/vrf/levi0/ssi/BIO/vectordata/vmap0_europe/v0eur/vmaplv0/eurnasia \
> >>>  'watrcrsl at hydro(*)_line'
> >>>
> >>>produced feature-empty, but correct SHAPE files (as no features found).
> >>>I tried this approach with all 76 maps.
> >>>
> >>>The VMAP0/Eurnasia data set requires 750 MB of disk space. So I am
> >>>obviously missing something.
> >>>
> >>>Hints are welcome,
> >>>thanks in advance
> >>>
> >>> Markus Neteler
> >>>      
> >>>
> >
> >  
> >
> 
> 
> -- 
> ----------------------------------------------------------------------
> john reid                                    e-mail: jgreid at uow.edu.au
> technical officer                               building 41, room G03A 
> school of geosciences                          phone: +61 02 4221 3963
> university of wollongong                         fax: +61 02 4221 4250
> nsw  2522  australia
>         
> uproot your questions from their ground and the dangling roots will be
> seen.  more questions!
>                                                        -mentat zensufi
> 
> apply standard disclaimers as desired...
> ----------------------------------------------------------------------
> 
> 

-- 
Markus Neteler

ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy
                 http://mpa.itc.it




More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)