- I'm exporting some GIS data out of my GIS and into an .AI export. It contains a roads data layer. When I do this the road centerlines as well as sides get exported and they are for the most part on top of each other. I need to be able to reduce the huge file size by eliminating the duplicates. In my lasing software there is a tool to remove overlapping lines and an offset that I can say within .1mm or whatever. Very useful. If I can do this in CorelDraw 2020 it would be much better as the file size will decrease dramatically. These are lines, not shapes. Illustrator does not do this and no plugins exist to remove them as far as I've found. Any ideas? Thanks in advance
Dean Forss
GIS Scientist - Cartographer
In the content that you can get into CorelDRAW, are there any properties that might be used to distinguish the "side" lines from the centerline? Color, line width, etc? Closed shapes vs. open curves?
It might help if you could share a representative CorelDRAW file that others could examine. if it's a large file, the easiest way is to put the file somewhere online and share a link.
tried to post an image but it didn't seem to go through
animapper said:tried to post an image but it didn't seem to go through
If you are trying to figure out CorelDRAW tools, techniques, or macros to attack a problem, then showing an image is going to be of limited utility.
Sharing a representative CorelDRAW file would be the best way to do that.
The forum software will not allow a CorelDRAW file to be uploaded, but you could put it in a .ZIP archive and upload it, if the resulting file is not too large (I don't recall the limits). As I wrote before, putting the file somewhere online and sharing a link is a common way to share such files.
A GIS is much different from a graphics program. There are no line attributes, colors or shapes that exist. It outputs data points with geometry in lines, points and curves. I simply can't share proprietary data but my question isn't on "how" to do it. It's on removing duplicate lines with offset. The image is to give you an idea of how big this file is. Here's a url for an image. Let's just stay with the simplest form of duplicate line removal period. https://www.facebook.com/islandlaserdesign/
Please note that I used the word "representative". I didn't ask you to share proprietary data.
I also asked questions about "the content that you can get into CorelDRAW", not about the GIS data itself. CorelDRAW tools, techniques, and macros are only going to work on data that's in CorelDRAW, so that's the data that I would be interested in if I were trying to help someone solve a problem.
I wish you success in your endeavor.
Thanks Eskimo - It's impossible to do a representative of the data without releasing the file. It's a simple .ai file of lines, points, and curves. Corel sees all of it fine. If there is no macro or tool to remove duplicate lines then so be it but that is the core of my question. This doesn't require a file to share, just if it's possible. I guess I could draw a few lines, duplicate them on top of each other and then try and remove duplicates. I was just hoping for info from CD2020 users on the idea of it.
I'm not 100% sure but I think the attached file (zipped GMS macro) might work.Basically, it finds all identical copies of selected objects and offers you to delete them.Extract and copy the file to C:\Users\ username \AppData\Roaming\Corel\CorelDRAW Graphics Suite 2020\Draw\GMSStart Draw and you will find the macro in the Scripts docker.
Remove_duplicate_objects.zipCode written by wOxxOm.