Converting CorelDraw files in to shape files
On Wed, Jul 31, 2013 at 1:07 AM, Ravichandra MONDRETI
<Ravichandra.MONDRETI at cefe.cnrs.fr> wrote:
Thanks for the advice Barry but I think its quite a lot of work and there might be some problems in converting SVG files to shape file format as SVG is a drawing format and may not really represent the real world situation. Ravi.
Well this is exactly what Barry was talking about. The CorelDraw files have already started the problem, when you ask about extracting "the shapefiles" from them. There aren't any "shapefiles" in there, but presumably there is geometry of some kind, which may or may not match the underlying model used by actual shapefiles. How did you get your geometry into those files and what options does the program provide you for using them elsewhere? It's usually a good lead to search for "[my thing] GDAL" which can pull up discussions about these issues. I found this with "CorelDraw GDAL CDR": http://gis.stackexchange.com/questions/5596/import-cdr-file-into-gis-cad-format (DXF as an intermediate is going to cause you more of the same problems, but it may be the only way to share what you have. ) Cheers, Mike.
-----Message d'origine----- De : b.rowlingson at gmail.com [mailto:b.rowlingson at gmail.com] De la part de Barry Rowlingson Envoy? : mardi 30 juillet 2013 15:43 ? : Ravichandra MONDRETI Cc : r-sig-geo at r-project.org Objet : Re: [R-sig-Geo] Converting CorelDraw files in to shape files On Tue, Jul 30, 2013 at 2:19 PM, Ravichandra MONDRETI <Ravichandra.MONDRETI at cefe.cnrs.fr> wrote:
Hello everyone, Could anyone please give me an idea how extract the shape files from CorelDraw files (CDR).
CorelDraw is a proprietary, closed source general vector graphics package. You may have some maps in the files, but there's no guarantee the polygons are closed, or anything. They could be lots of line segments in the wrong order. Or made up of triangles. Different files could store the data differently. The coordinate system might not be lat-long or anything else (its probably inches on the document, not useful when your map is of France). Best you could hope for would be to post some where we can get them and hope someone can reverse-engineer them, or convert them to something more malleable. Inkscape (open source vector graphics editor) says it can Import Corel Draw files, so you might be able to input them, check the geometry, save as SVG, convert to shapes somehow, Barr
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Michael Sumner Hobart, Australia e-mail: mdsumner at gmail.com