[Geoserver-users] VPF Datastore

Hello,

I am trying to get a VPF file set to display on geoserver.

I downloaded the North America data set from NIMA (VMAP0).

I can view it using VPFVIEW, but I can not get it to load as a data store in Geoserver.

I am using version 1.3.0-RC1.

I get the following error on the console:

  • Provided parameters can not be processed
    I get the following debug on the geoserver window, but no errors or stack traces:
    2006-07-21 09:38:43,272 INFO [stdout] form
    2006-07-21 09:38:43,272 INFO [stdout] connection params {
    2006-07-21 09:38:43,272 INFO [stdout] url
    2006-07-21 09:38:43,272 INFO [stdout] =
    2006-07-21 09:38:43,272 INFO [stdout] file:data/vpf/v0noa/vmaplv0/noamer/lht
    2006-07-21 09:38:43,272 INFO [stdout] }

I tried to convert the VPF to shape file using NIMAMUSE 2.1, but I get the following errors when I try and access the data
2006-07-21 09:31:51,342 INFO [STDOUT] 73677360 [WARNING] org.geotools.data.shapefile.ShapefileDataStore - projection (
.prj) for shapefile not available

I would really like to be able to use this data. Can anyone help?

Thanks!

– Carolyn

Carolyn Cole wrote:

Hello,

I am trying to get a VPF file set to display on geoserver.

I downloaded the North America data set from NIMA (VMAP0).

I can view it using VPFVIEW, but I can not get it to load as a data store in Geoserver.

I am using version 1.3.0-RC1.

I get the following error on the console:

    * Provided parameters can not be processed

I get the following debug on the geoserver window, but no errors or stack traces:
        2006-07-21 09:38:43,272 INFO [stdout] form
        2006-07-21 09:38:43,272 INFO [stdout] connection params {
        2006-07-21 09:38:43,272 INFO [stdout] url
        2006-07-21 09:38:43,272 INFO [stdout] =
        2006-07-21 09:38:43,272 INFO [stdout] file:data/vpf/v0noa/vmaplv0/noamer/lht
<file:data\vpf\v0noa\vmaplv0\noamer\lht> 2006-07-21 09:38:43,272 INFO [stdout] }

I tried to convert the VPF to shape file using NIMAMUSE 2.1, but I get the following errors when I try and access the data
        2006-07-21 09:31:51,342 INFO [STDOUT] 73677360 [WARNING] org.geotools.data.shapefile.ShapefileDataStore - projection (
        .prj) for shapefile not available

I would really like to be able to use this data. Can anyone help?

Best thing to do is probably to use ogr2ogr to convert to shapefile or postgis. The vpf datastore isn't really production quality. You could make a .prj file yourself, it sounds like nimamuse just leaves it off? I believe it's epsg:4326, so you actually could just grab a .prj from somewhere else. If you go to the states shapefile that comes with geoserver (data_dir/data/states/states.prf) it will have a .prj file for 4326, so you can just rename it to the same as the one you converted.

Or use ogr2ogr, and specify for it to use 4326. Or follow the directions we have up to convert to postgis: http://docs.codehaus.org/display/GEOSDOC/Loading+VMAP0+data

best regards,

Chris

Thanks!

-- Carolyn !DSPAM:1003,44c28c4b287381510810322!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

!DSPAM:1003,44c28c4b287381510810322!

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:1003,44c28c4b287381510810322!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org