<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1448270199901_24642" dir="ltr"><span id="yui_3_16_0_1_1448270199901_24647">Hi, sorry for intruding, this help describes the specification of --v95/v7-- versions.</span></div><div id="yui_3_16_0_1_1448270199901_24642" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1448270199901_24642">The --v8-- spec is different, OpenDGN only supports read v95/v7 files, and read/write v8 files.</div><div id="yui_3_16_0_1_1448270199901_24642"><br></div><div id="yui_3_16_0_1_1448270199901_24642"><span>Alvaro</span></div><br>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1448270199901_24645"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1448270199901_24644"> <div dir="ltr" id="yui_3_16_0_1_1448270199901_24643"> <hr size="1" id="yui_3_16_0_1_1448270199901_24743"> <font size="2" face="Arial" id="yui_3_16_0_1_1448270199901_24646"> <b><span style="font-weight:bold;">De:</span></b> Andre Vautour <andre.vautour@caris.com><br> <b><span style="font-weight: bold;">Para:</span></b> Even Rouault <even.rouault@spatialys.com> <br><b><span style="font-weight: bold;">CC:</span></b> gdal-dev@lists.osgeo.org<br> <b id="yui_3_16_0_1_1448270199901_25231"><span style="font-weight: bold;" id="yui_3_16_0_1_1448270199901_25230">Enviado:</span></b> Lunes 23 de noviembre de 2015 17:23<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [gdal-dev] unable to open DGN<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1448270199901_24699"><br><br clear="none">On 2015-11-23 12:00, Even Rouault wrote:<br clear="none">> Le lundi 23 novembre 2015 16:48:48, Andre Vautour a écrit :<br clear="none">>> Right, thanks, I wasn't thinking of that when I wrote my reply.<br clear="none">>><br clear="none">>> Guess it makes sense for a closed format such as DWG. Might not make as<br clear="none">>> much sense to use it for DGN which is more open<br clear="none">> DGN v8: open ? If you have pointers to a spec, I think that would be much<br clear="none">> appreciated by a lot of people...<br clear="none">I apologize, clearly I am not thinking straight today. What I meant to <br clear="none">say is that Ivan made me realize why the DGN driver was probably not <br clear="none">implemented by using DGNDirect or Teigha: there was some sort of spec <br clear="none">available: http://dgnlib.maptools.org/dgn.html.<br clear="none"><br clear="none">So, I agree that if using an Open Design library to support such a <br clear="none">format can be avoided, it would make sense to do so, given their <br clear="none">licensing. Like I said, I wasn't thinking of that when I first replied.<br clear="none"><br clear="none">Kind regards,<br clear="none">André<div class="qtdSeparateBR"><br><br></div><div class="yqt1596359010" id="yqtfd27472"><br clear="none"><br clear="none">>> and does not need to be<br clear="none">>> reverse engineered.<br clear="none">>> André<br clear="none">>><br clear="none">>> On 2015-11-23 11:41, Ivan Lucena wrote:<br clear="none">>>> Just a comment on that: In order to build the DWG driver, you or your<br clear="none">>>> company, need to be part of some kind of alliance to be able to download<br clear="none">>>> a full version of the Teigha SDK. AFAIK<br clear="none">>>><br clear="none">>>> ________________________________________<br clear="none">>>> From: gdal-dev <<a shape="rect" ymailto="mailto:gdal-dev-bounces@lists.osgeo.org" href="mailto:gdal-dev-bounces@lists.osgeo.org">gdal-dev-bounces@lists.osgeo.org</a>> on behalf of Andre<br clear="none">>>> Vautour <<a shape="rect" ymailto="mailto:andre.vautour@caris.com" href="mailto:andre.vautour@caris.com" id="yui_3_16_0_1_1448270199901_24702">andre.vautour@caris.com</a>> Sent: Monday, November 23, 2015 9:58<br clear="none">>>> AM<br clear="none">>>> To: Brad Hards<br clear="none">>>> Cc: <a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none">>>> Subject: Re: [gdal-dev] unable to open DGN<br clear="none">>>><br clear="none">>>> On 2015-11-20 17:40, Brad Hards wrote:<br clear="none">>>>> On Fri, 20 Nov 2015 02:20:55 PM Martin Landa wrote:<br clear="none">>>>>> I am trying to open sample DGN file, but it fails. I guess that the<br clear="none">>>>>> reason is unsupported version (man pages says: Microstation DGN files<br clear="none">>>>>> from Microstation versions predating version 8.0 are supported for<br clear="none">>>>>> reading.)<br clear="none">>>>> As I understand it, version 8 is completely different.<br clear="none">>>>><br clear="none">>>>>> Is there any possibility how to read this file using GDAL library?<br clear="none">>>>> AFAICT, not unless you figure out version 8 format and implement it, or<br clear="none">>>>> pay someone to do that work for you.<br clear="none">>>> I just want to add that Teigha, which can currently be used to open DWG<br clear="none">>>> in GDAL, does support DGN version 8. So, if someone wants to add that<br clear="none">>>> support, I'd suggest looking at the DWG driver.<br clear="none">>>><br clear="none">>>> The DWG driver has:<br clear="none">>>> class OGRDWGServices : public ExSystemServices, public ExHostAppServices<br clear="none">>>><br clear="none">>>> You'd need to have something like:<br clear="none">>>> class OGRDGNServices : public OdRxSystemServices, public<br clear="none">>>> OdDgHostAppServices<br clear="none">>>><br clear="none">>>> I would not be surprised if considerable chunks of the DWG driver could<br clear="none">>>> be generalized to work for both DWG and DGN,<br clear="none">>>> André<br clear="none">>>><br clear="none">>>>>     Is it possibly to get the originator to<br clear="none">>>>><br clear="none">>>>> provide it in some other format (e.g. DXF, noting that will lose the<br clear="none">>>>> georeferencing)?<br clear="none">>>>><br clear="none">>>>> Brad<br clear="none">>>>> _______________________________________________<br clear="none">>>>> gdal-dev mailing list<br clear="none">>>>> <a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none">>>>> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br clear="none">>>> _______________________________________________<br clear="none">>>> gdal-dev mailing list<br clear="none">>>> <a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none">>>> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br clear="none">>> _______________________________________________<br clear="none">>> gdal-dev mailing list<br clear="none">>> <a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none">>> <a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br clear="none">_______________________________________________<br clear="none">gdal-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:gdal-dev@lists.osgeo.org" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br clear="none"><a shape="rect" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div><br><br></div> </div> </div> </div></body></html>