Changing Attribute from string to integer

PhilRatcliffe
Global Mapper UserTrusted User
Hi Mike,
I made a mistake when generating contours and appended M to the name field. I removed the M and proceeded to do a lot of hours work on the file. Now when I export the shape file the ELEVATION attribute is classified as a string & it needs to be an integer. Is there any way I can do this?
Many Thanks
Phil
I made a mistake when generating contours and appended M to the name field. I removed the M and proceeded to do a lot of hours work on the file. Now when I export the shape file the ELEVATION attribute is classified as a string & it needs to be an integer. Is there any way I can do this?
Many Thanks
Phil
Comments
-
Phil,
If you have Global Mapper v15.1 (get from Global Mapper Downloads) the Shapefile export dialog now contains a new tab for setting up the type and length of each field, so you can force the ELEVATION field to be integer if you'd like.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thanks Mike, had already upgraded so it was very easy. Should open my eyes or at least read the release notes.
-
Hi Mike
I make the same mistake when generating contours.. appended M to the elevation field. So, is there any way to remove the "M" automatically? Maybe there would be some way through the attribute table, anyway I'm working with thousands of points and I wouldn't want to extract it again...
Regards
Ari
-
- Provide a Name for the new field.
- Set the field Type to a numeric type, such as Long Integer or Double.
- Set the Precision and Scale if desired.
-
it should work i think. https://techzpod.com/
Categories
- 12.5K All Categories
- 5.5K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 611 GM Script Language
- 50 User Scripts
- 112 GPS Features
- 397 Projection Questions
- 803 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 893 Bug Report
- 557 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 542 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 229 How I use Global Mapper
- 104 Global Mapper Forum Website