Dave Blasby
I've run main.bat and it creates .shp files in the current directory
where I run main.bat (i.e. in my case C:\vmap0). It also created .dbf,
.prj, and .shx files. Does this sound right?
Can I remove the original VMAP0 files from my hard drive since they're
taking up a lot of room?
I'm trying to make sense out of your VMAP0 wiki page and I'm on step 4.
It looks like you have a combination of Unix shell script commands with
a psql command at the end (i.e. vacuum). I'm confused
I have PostgreSQL loaded on my Windows 2000 laptop. I used the Windows
installer tool and included PostGIS in the installation, so I guess it's
there. Anyway I can know for sure?
When I try to run a Windows version of your commands (i.e. using FOR %i
IN (*.shp) DO . . .), I get the following error
message:
psql: FATAL: password authentication failed for user
"my_windows_logon_name"
During the installation of PostgreSQL, the user name is 'postgres'. How
do I get shp2pgsql to recognize the correct username and password?
Sorry, I'm new at this . . .
Thanks!
JAB
-----Original Message-----
From: David Blasby [mailto:dblasby@anonymised.com]
Sent: Wednesday, March 29, 2006 12:57 PM
Cc: Brown, Jeff (C2MS); geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Just getting started and totally lost
Chris Holmes wrote:
I didn't do the loading vmap page, so I have no real idea. I'm ccing
the list, as people may have a better idea there, and Dave Blasby who
wrote the page. In general it's best to email any question to the
list, no one person can ever be relied upon to get all the answers to
minor questions.I think for this you can put them anywhere, you just have to then load
them properly in to your postgis database. After they're in postgis
you can set up the layers normally through geoserver.
Modify the ogr_process.bat:
ogr2ogr one.shp "gltp:/vrf/e:/vmap0/v0noa/vmaplv0/noamer" %1 -nln %2
%1
ogr2ogr two.shp "gltp:/vrf/e:/vmap0/v0soa/vmaplv0/soamafr" %1 -nln %2
%1 ogr2ogr tre.shp "gltp:/vrf/e:/vmap0/v0eur/vmaplv0/eurnasia" %1 -nln
%2 %1
ogr2ogr for.shp "gltp:/vrf/e:/vmap0/v0sas/vmaplv0/sasaus" %1 -nln %2
%1
so that it points to your installed files. If you have perl on your
system, there's a perl script (attached to that page) that does
everything too.
I hope to actually get to processing VMAP0 files next week, so I'll put
more details in that page then.
dave