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.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 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