Create Buffer Error
digitalaviator
Global Mapper UserTrusted User
Hi Mike,
Attempted to use new create buffer for polygon area for all California Counties...
Number of buffer zones for each feature: 1
Buffer Distance: 100m
Combine overlapping buffer areas: unchecked
Getting the following error a few times on the state:
Attached the .shp file...
It appears from the error it's trying to combine overlapping buffer areas but I'm wondering what may be causing this error?
Kindest Regards,
Dean.
Attempted to use new create buffer for polygon area for all California Counties...
Number of buffer zones for each feature: 1
Buffer Distance: 100m
Combine overlapping buffer areas: unchecked
Getting the following error a few times on the state:
Error creating buffer for feature.
Error joining areas for buffer
PolygonUtils.cpp - 83
Version: v11.02
Build Time: Feb 22 2010 15:37:36
Attached the .shp file...
It appears from the error it's trying to combine overlapping buffer areas but I'm wondering what may be causing this error?
Kindest Regards,
Dean.
Comments
-
Dean,
I'll take a look and see if I can track down the problem.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Dean,
I was able to get this fixed so now you shouldn't get that error. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit v11 version there is a new build at http://www.globalmapper.com/global_mapper11_64bit.zip .
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi Mike,
I just tried this and still no joy:
Error creating buffer for feature.
Error joining areas for buffer
PolygonUtils.cpp - 93
Version: v11.02
Build Time: May 2 2010 21:58:42
Settings are:
Select all areas first...
Number of Buffer Zones = 1
Buffer Distance = 100m (also tried 10m)
Combine Overlapping Buffer Areas = Off
Dean. -
Dean,
I was able to reproduce the problem and fix it. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi Mike,
Looks good so far :-) Thanks... Will see if I manage to break it on a bigger dataset
Cheers,
Dean. -
Hmm, okay it worked for one file but for a different shp file:
Global Mapper
Error creating buffer for feature Alameda
Error joining areas for buffer
Polygon join failed! Invalid polygon.
PolygonUtils.cpp - 107
Version: v11.02
Build Time: May 3 2010 21:51:23
Use Ctrl+V to Paste Error
OK
-
Hi Mike,
I'm still getting errors in trying to generate buffers...
I'm not sure what's going on but yesterday when I created buffers for California (off a tiger county boundary dataset), it choked on 3 of the counties and gave the same error messages as before about "Error joining areas for buffer".
I went back and manually selected those counties by themselves and created a buffer without any problems.
However today with Florida and Uath I've been taking the same approach to work around the bug, but even the individual counties are giving me grief and I can't even create a buffer around the areas selected individually without getting the above "Error joining areas for buffer" bug.
Is there anything more I can to to help track down this bug? -
Dean,
Can you provide the Florida and Utah file that are causing problems? The true issue here is that the 3rd-party area combining library used in side Global Mapper has problems in a lot of cases, but so far I've been able to fix/work-around them, although the lack of robustness in the library is really straining things.
Note that even though you are combining buffers, there are still a large number of area combines done when creating buffers as buffers create range rings around each vertex as well as rectangular corridors around each segment, then combine those areas to create the buffers.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi Mike,
I've attached the zip file and will PM you the password...Note that even though you are combining buffers, there are still a large number of area combines done when creating buffers as buffers create range rings around each vertex as well as rectangular corridors around each segment, then combine those areas to create the buffers.
Note: I have combining buffers checked as off as I'm trying to keep all area files separate, unless I'm not understanding the above -
Dean,
Actually there is area combining (polygon joining) being done regardless of whether you check the option to combine buffers. This is because is buffer is created by joining a collection of range rings and rectangular segment buffers for a feature just to form the single buffer around that feature. If you check the option to combine buffers then the final buffers for each feature are then combined, but in your case the problem is happening when doing the combines to form the original buffers.
I will take a look and see if I can reproduce this issue and find another workaround for our polygon combine library issue.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Ahh okay I understand what is happening with the process now... Thanks for all your work on this, hopefully this is the last of the bugs with it :-)
Love you work, it's right up there with Adobe's work on Photoshop CS5...
Cheers
Dean. -
Dean,
Ok I've got a further fix. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi Mike,
I'm running tests now and the first test on a different but related dataset worked correctly with no errors. Looks like you may have resolved all the bugs with this one...
Cheers,
Dean. -
Hi Mike,
This last run has been going well, with Utah I only got 2 errors (Kane & Sevier) when doing the whole state, but then selecting each of the 2 counties that didn't buffer individually and asking it to create a buffer, both worked.
I'm still awaiting the Florida test I'm running, so far only one county Osceola has errored, and so far nothing has errored on California...
If I can render the counties that error individually then that's workable for me...
EDIT: Just got done with Florida and only had 1 County (Osceola) that glitched. Am testing that individually...
Categories
- 12.9K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 645 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 180 Announcement and News
- 926 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 575 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 242 How I use Global Mapper
- 108 Global Mapper Forum Website