Differences between 14.2.1 and 14.2.2 for shapefile export

nickgoodliff
Global Mapper UserTrusted User
Hi Mike
Had a really strange issue - exporting to shapefile for a fairly large/complex area takes about 8 hours using 14.2.2 64bit dll, but only 2 minutes using 14.2.1 64bit dll. Do you know of any things that might cause this in 14.2.2? Is there any reason that I might need 14.2.2 or can I just use 14.2.1? This is the code (C#):
I have used GM_SetExportCropAreas as well to set a shape to crop the output to - could this be the issue/difference in processing time?
Cheers
Nick
Had a really strange issue - exporting to shapefile for a fairly large/complex area takes about 8 hours using 14.2.2 64bit dll, but only 2 minutes using 14.2.1 64bit dll. Do you know of any things that might cause this in 14.2.2? Is there any reason that I might need 14.2.2 or can I just use 14.2.1? This is the code (C#):
gMErrorT32_Areas = GlobalMapperDLL.GM_ExportVectorEx(storagePath + "_Areas.shp", GlobalMapperDLL.GM_VectorExportFormat_t32.GM_Export_Shapefile, IntPtr.Zero, ref ExportRect, GlobalMapperDLL.GM_VectorExportFlags_t32.GM_VectorExportFlags_ExportAreas | GlobalMapperDLL.GM_VectorExportFlags_t32.GM_VectorExportFlags_ExportAttrs, IntPtr.Zero, "");
I have used GM_SetExportCropAreas as well to set a shape to crop the output to - could this be the issue/difference in processing time?
Cheers
Nick
Comments
-
Nick,
The cropping could definitely slow things down tremendously, especially if it's a complex area, as cropping to complex areas can be very slow. You can also get the last v14 SDK build from http://www.globalmapper.com/GlobalMapperSDK_v14_latest_beta.zip (should be v14.2.6) or likely your SDK agreement allows you to update to the v15 SDK (Global Mapper SDK). The interface should be the same so it should just be a recompile and updating DLLs with installer.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
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