[gdal-dev] Ogr2ogr, shp-dgn conversion

Frank Warmerdam warmerdam at pobox.com
Wed Apr 23 09:06:03 EDT 2008


Olof Landahl wrote:
> Hi,
> I'm using ogr2ogr (included in gdal) to convert a shapefile to 
> Microstation DGN format. The conversion does the job, except that 
> polygons and line strings with too many (38) vertices are converted into 
> complex shapes. What is the reason for this?
> 
> When I open the DGN-file in Microstation the complex shapes are visible 
> but not possible to select or edit without a lot of work with special 
> tools. Can I do something in the conversion with ogr2ogr to prevent it 
> from creating complex shapes or to make the complex shapes selectable?

Olof,

I don't recall the exact details any more, but I presumably did this
because there was a limit on the length of regular lines in Microstation.

I'm not aware of anything you can do about this.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list