Split into separate layers by attribute
SabinaJohnson
Global Mapper User
Hello,
I am trying to get back to where I was, after you split a layer by attribute can you then go back, having all the polygons back on the original layer, or do I have to reload the layer?
I am trying to get back to where I was, after you split a layer by attribute can you then go back, having all the polygons back on the original layer, or do I have to reload the layer?
Comments
-
You could do it in memory by right-clicking on the top-level group in the Control Center and selecting to select all features in the Digitizer Tool. Then right-click in the Digitizer Tool and select to edit the features, then change the layer back to a single new layer with the original name. You could then close the split layers.
It would be easier just to reload the original though.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thank you, it worked..............did not want to reload the layer for I had click on each polygon and added an attribute to it. Am trying to use Global Mapper as my lease database. We are utilizing Petra for our mapping, and the polygons in Petra do not have attributes that you can query on, ie when leases expire................am trying to import the acreage shape file from Petra, give each polygon an unique attribute (Lease #) and then import from Excalibur a *.csv with all the attributes, joining with the Lease #. So I can then query off different attributes same the results to a new layer and export a shapefile to then import back into Petra, ie all Federal acreage. Do you know if anyone else is utilizing Global Mapper this way, am trying to figure out a work flow, for updating the polygons when we get new leases and maintaining a master layer with the Lease # on the polygons in Global Mapper, so I do not have to recreate the wheel for updates.
-
I'm not sure of anyone doing exactly the same thing, but I'm sure some folks are doing something similar (including users on this forum). What you might look at to automate some of these tasks is to use Global Mapper scripts (see Global Mapper Scripting Reference). You can use the JOIN_TABLE script command to join your CSV from Excalibur to your loaded polygon data layer automatically so you don't have to set it up every time. You could even automate the entire process of loading your Shapefile (IMPORT command), joining in the CSV (JOIN_TABLE command), then exporting a new Shapefile (EXPORT_VECTOR command). The DEFINE_VAR command allows you to prompt the user for information, like the filename to process, so you can have one script that handles any file.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 627 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website