Jump to content

Converting .shp (shape) files


GeoBobC

Recommended Posts

I have a .shp file that I'm trying to convert to something useful on my Garmin GPS. I imported it into GPSMapEdit, and the dimensions and shape are correct, but the latitude and longitude are off. I played around with the third screen ("3. Select source coordinate system") but nothing gets it entirely correct.

 

I also trying importing it into ExpertGPS, with similar results.

 

Someone told me that I also need the .dbf file, the .shx file, and the .prj file. I have all these, but I don't know how either GPSMapEdit or ExpertGPS would use them. I don't see any prompts; they both ask only for the .shp file.

 

Can anyone suggest steps I can take? Thanks.

Link to comment

The software should read the ancillary files after you point it to the *.shp. Those 4-6 files together make the shapefile.

 

Open the *.prj file in notepad and check that the data's coordinate system/datums/units are what you expected.

 

Also, which state is the data representing? Some states officially use the international foot as their mapping unit (SC, MI, AZ, and a couple more I think). There's a slight difference between the two (2 feet in 1 million feet) but over large data sets it show itself if conversions weren't done correctly.

 

Matt

Link to comment

The .prj file reads as follows. The state is Washington. My errors are in miles, not feet. THANKS.

 

PROJCS["WGS_1984_PDC_Mercator",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-150.0],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]

Link to comment

Bob,

Put all the files (XXX.dbf,.prj,sbn,.sbx,.shp,shx) into one folder, then point your import or conversion operation to that folder. Some operations ACT like they only see one file (.shp) but really they are using multiple. Some operations need more than others......I know....I know ...?????

 

Long story short, whenever working with shapefiles, just consider all the "same name" files with different extensions to be a "single" file. If I were to select a shapefile to send to you by attachment, depending on which software it was coming from, I might select a single file and when it was attached to an e-mail it might show up as 3(min, maybe up to 6) files. From other software , I might have to select all the different extensions and send as a group....and the software on your end may "see" the group but only display it as one file (the .shp)

 

I hope this helps instead of confusing the situation.

Link to comment

Bob,

Do this...

Create a folder, wherever, and name it XXXX

Put all your shape files with the "same name" (but different extensions) in that folder.

Now, open Mapedit and go to file,import.....and "path" to that new folder...

Mapedit will show only one file....choose "it" and you ought to be in business.

 

If you look at that folder with MS Explorer you can see all the different files with different extensions, but Mapedit recognizes that all of them create a "shapefile".

Edited by Grasscatcher
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...