![]() This is an advanced tutorial, showing several strategies you can use to manipulate just about any data in Excel or your favorite spreadsheet program (I use the free OpenOffice Calc) to get it into a standard format that ExpertGPS can import, map, and convert to KML, SHP, and/or DXF.ĮxpertGPS can import CSV and text data directly – just copy and paste into either the Waypoint List or the Track List. ![]() Once imported to EXPERT GPS, can I add/edit attributes? How can I create KML or SHP files from here. ![]() Sorry, I typed that fast this morning and forgot the -where clause originally.I have whole bunch of files in csv (or excel) similar to the one attached. This information may not help you directly, but I wanted to share what I discovered so that other people could take advantage of it. For example, ogr2ogr -f "ESRI Shapefile" -t_srs WGS84 -where "TYPE_COL='trail'" outputdir infile.shp Specifying -t_srs WGS84 will read the projection in the prj file and convert it to WGS84, which GPS devices use. Then you can use ogr2ogr to extract only those elements into a new shapefile set. So, if you have a shapefile that has lots of different types of geometry in it (for example, trails mixed in with roads and you want to separate out the trails), you can look in the DBF file and see if the trails have a particular value (e.g., a type code or name) in one of the columns. a city border)-that's what the dbf file is generally used for, but it's dataset-specific. Shapefiles have no built-in type association for a given point, polyline or polygon (that is, to distinguish that a particular polyline is a stream vs. The problem with shapefiles is in importing them into another format. I'm not sure about the sbn and sbx files. That's the one that will help you the most, probably. The prj file is a text file that contains the projection information (datum, spheroid, etc.) The dbf file is a dBase database table that associates attributes to the geometry. The shp file has the actual geometry in it. I’ve transferred a number of tracks made on my Garmin GSP 60CSx into MapSource, reviewed /fixed them there, saved them to GPX files and imported the GPX file into Topo.Īnother question: Any suggestions on where I could learn more about what’s in the various shapefiles (dbf, shx, sbn, sbx, shp, prj) and how to extract / use the info? NG Topo 4.2.7 will import tracks as either a series of waypoints or ‘freehand routes’. The NF data I’ve seen shows trails which don’t show up on any other maps, including NF published maps. Thanks, at this point my primary purpose is to get data onto printed Topo maps to use along with my GPS. I don't know anything about the NG Topo format, though, sorry. I'm considering writing a couple drivers for it (one for POI data and another for cGPSMapper. but it doesn't convert to any map-compatible format easily, so I haven't used it much. GPSBabel works great for GPS tracks, waypoints, etc. It can also output to KML (Google Earth file), too, which I believe GPSBabel can deal with. (For some reason I can't find any trail data for Redwoods National Park maybe I'll send an email.)Īnyway, the reason I mentioned FWTools is that it can easily convert the coordinates and datum to WGS84. ![]() I wish the National Park Service had data that good. I think I went through the metadata gateway it seemed to work better than the vector data gateway. I actually did a little looking and found the data on a website here. How did you convert the shape file? I want to find a solution for when I get more shape files in the future. If you can find out who does the mapping / cartography / GIS work for the National Forest you are interested in and talk with them they will probably send it to you if they are not too busy. However, It’s my understanding that the data is public information. I have a friend who works for the Forest Service. In GPS Babel’s online documentation I did not see any mention of converting ESRI Shape files. It appears it will read ESRI Shape files but I did not see mention of converting to GPX files or NG Topo files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |