Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: GPSMapEdit: importing shapefiles with multiple classes of objects  (Read 2446 times)

nm_map_user

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
    • View Profile
Here's a concrete example -
I have a shapefile containing three different classes of roads, which should be displayed on the map using three different symbolizations. The roads are distinguished based on a field value in the shapefile. I haven't been able to find any way to select just one class of roads in GPSMapEdit in order to set the type. Nor can I find a way to import only one class of roads on import. Am I missing something?

(I know that I can use other tools, like ArcGIS or qgis, to split up the shapefile or use a text editor on the .mp file, but I'm asking if there's a way to do it within GPSMapEdit)
« Last Edit: April 25, 2013, 07:25:16 PM by nm_map_user »

nm_map_user

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
    • View Profile
Re: GPSMapEdit: importing shapefiles with multiple classes of objects
« Reply #1 on: April 26, 2013, 06:28:33 AM »
I went back and read over the tutorial on making topo maps, figuring that the answer would be there somewhere, and indeed it was. When you import a shapefile, the first dialog screen that pops up asks for the type of the imported objects. I kept missing that there was a tab within the dialog to pick either "From list" (default) of "From field". The latter is just what I was looking for.


93ToyTruck

  • Jr. Member
  • **
  • Posts: 43
  • Karma: 0
    • View Profile
    • California Trail Map
Re: GPSMapEdit: importing shapefiles with multiple classes of objects
« Reply #2 on: May 16, 2013, 07:19:03 AM »
For more complex logic I import all shapefile objects then run a utility on the MP file and use the comment values to update the Type= value. It reads the MP file line by line and writes a new MP file line by line only updating the Type value based on whatever logic I need at the time. The comments are listed before the object so it makes it easy.