Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: Request GNIS Process addition or Instructions  (Read 6551 times)

masdangkolo

  • Jr. Member
  • **
  • Posts: 16
  • Karma: 0
    • View Profile
Request GNIS Process addition or Instructions
« on: October 24, 2008, 04:21:50 PM »
Oz,
It appears that you are the author of GNIS Process.

I am trying to build a map of Guam (territory of the US) and maybe some of the other pacific islands.  The current GNIS Process only lists the 50 states, but I know data for the US territories exists at geonames.usgs.gov.  Could these be added to GNIS Process or could you share the process that GNIS Process does?  I'm thinking I could do it by hand.

BTW When running Hawaii as a test,  I get a "Run-time error '62': Input past end of the" in a dialog while the status says "Extracting GNIS Zip File".  Testing with Minnesota runs fine.

Thanks,
Roy

-Oz-

  • Map Maker!
  • Administrator
  • Expert Advisor
  • *****
  • Posts: 1580
  • Karma: 28
    • View Profile
    • GPSFileDepot
Re: Request GNIS Process addition or Instructions
« Reply #1 on: October 28, 2008, 04:38:09 AM »
I would have to look with more detail at if guam is available via the way I get the files (there are two ways to get the files).

Odd about Hawaii's error; I'll check it out since I used it to get my hawaii map pts.
« Last Edit: July 12, 2010, 12:02:29 PM by Indrid Cold »
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!

masdangkolo

  • Jr. Member
  • **
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Request GNIS Process addition or Instructions
« Reply #2 on: October 28, 2008, 06:12:58 PM »
Thank you for the GNIS file.  I looks like I now could figure out how to do other areas from the original zips with a little perl (how did you greate this file?).

Oz,
I assume this is the first step or two that GNIS Process does.  Per part 5 of the tutorial GNIS Process will make a shp file.  What steps do I need to do to turn this csv into a shp?  I'm guessing it needs to get put into the postgis database and then pulled out as a shp file using pgsql2shp, but I'm at a loss with how to do it.

Roy
« Last Edit: July 12, 2010, 12:02:51 PM by Indrid Cold »

-Oz-

  • Map Maker!
  • Administrator
  • Expert Advisor
  • *****
  • Posts: 1580
  • Karma: 28
    • View Profile
    • GPSFileDepot
Re: Request GNIS Process addition or Instructions
« Reply #3 on: October 31, 2008, 07:16:20 AM »
Roy, sorry about me not replying fast enough.

Two options:
1. When I get home from work this afternoon (8hrs) I'll convert it or fix the program.
2. Using the method mentioned you can use this online tool to create .gpx files then open that and convert it to a .shp file with gpsmapedit or global mapper.  The gpx file includes the MP_TYPE code.

Dan
« Last Edit: July 12, 2010, 12:03:28 PM by Indrid Cold »
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!

-Oz-

  • Map Maker!
  • Administrator
  • Expert Advisor
  • *****
  • Posts: 1580
  • Karma: 28
    • View Profile
    • GPSFileDepot
Re: Request GNIS Process addition or Instructions
« Reply #4 on: November 04, 2008, 06:27:36 PM »
http://www.gpsfiledepot.com/tools/gnis_process.php <-- updated for guam (didn't test it though :-/)
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!

masdangkolo

  • Jr. Member
  • **
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Request GNIS Process addition or Instructions
« Reply #5 on: November 04, 2008, 06:43:26 PM »
I'm not making much progress at all.  I was hoping to figure some of this out myself, but now I'm back asking for help again.  I got the GNIS file, converted it to gpx, using the "USGS GNIS to GPX Converter", examined the resulting gpx file, and discovered the elevations were in meters.  Converted the meters to feet, and then added to my .mp  contours only to discover that the points were all shifted again (datum problems).  Translated the gpx from Guam_1963 to NAD83.  They are now cottectly positioned.  At this point I am stuck again, I cannot figure out how to use gpsmapedit to generate shp files from the gpx as instructed above.  I thought the gpx should be loaded into the postgis database and then be extracted as a shp file, but I am unable to figure out how to do this.  Any help would be greatly appreciated.
Roy

masdangkolo

  • Jr. Member
  • **
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Request GNIS Process addition or Instructions
« Reply #6 on: November 04, 2008, 08:07:12 PM »
Dan,
Thank you so much for the program update.  Processing the Guam data results in an error "Run-time error '70': Permission denied".  Arizona works fine. I wonder if it is due the special characters in some of the names such as "Hagta".

One other problem I still have is that I need to change positions of the gpx points. Or can I project the shp file?

Roy

-Oz-

  • Map Maker!
  • Administrator
  • Expert Advisor
  • *****
  • Posts: 1580
  • Karma: 28
    • View Profile
    • GPSFileDepot
Re: Request GNIS Process addition or Instructions
« Reply #7 on: November 04, 2008, 10:37:03 PM »
I didn't get that error but it did fail due to the characters.  I have a special version that pauses so I can pull them out since Visual Basic doesn't appear to handle them at all.

Anyway, I attached the GNIS points in shapefile format.

The projection the system thinks it is is:
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Aka WGS 1984 which is very very similar to NAD 83
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!