[Portugal] Exportar shapefile para dgn

Giovanni Manghi giovanni.manghi at gmail.com
Fri Nov 12 12:13:11 EST 2010


Estamos a discutir este assunto neste momento no canal irc #qgis.

A resposta parece estar na pagina do formato dgn no site da biblioteca
OGR

http://www.gdal.org/ogr/drv_dgn.html

"Creation Issues
2D DGN files may be written with OGR with significant limitations:

      * Output features have the usual fixed DGN attributes. Attempts to
        create any other fields will fail.
      * ...
      * ...
      * ..."

me parece que não se possam arbitrariamente apagar todas as colunas de
um vector (shape, postgis, etc.) imagino que seja obrigatório que as
colunas se chamem de uma forma especifica, nomes provavelmente definidos
nas especificações do formato dgn, imagino eu.

De qualquer forma parece-me tb que possa haver problemas na biblioteca
ogr: abri um dgn em QGIS, que guardei como shapefile e tentei de guardar
outra vez como dgn... e deu o mesmo erro. A mesma coisa acontece ao
correr o programa ogr2ogr manualmente...

Será melhor perguntar na mailing list gdal/ogr.


Entretanto directamente do qgis hackfest

https://trac.osgeo.org/qgis/changeset/14562/

[FEATURE] allow OGR save as without attributes (for eg. DGN/DXF)


cumprimentos

-- Giovanni --



On Fri, 2010-11-12 at 15:06 +0000, Carlos Vaz wrote:
> Olá boa tarde,
> 
> Sou um utilizador recente de QGIS (v1.5,  r13923M) e tenho tentado
> exportar shapefile para dgn sem sucesso, obtendo o seguinte erro:
> Export to vector file failed.
> Error: creation of field Level failed (OGR error: CreateField() not
> supported by this layer.)
> 
> Já alguém conseguiu realizar esta operação em ambiente QGIS?
> 
> obrigado
> Carlos Vaz
> 
> -- 
> *********************************************************************************************************************************************************************************
> 
> PREGALE, Lda.
> 
> Rua Professor Rómulo de Carvalho, 5A 
> 
> 2740-125 Porto Salvo 
> 
> Oeiras · Portugal
> 
> tel: (+351) 214 210 565
> 
> fax: (+351) 214 417 485
> 
> email: pregale at pregale.com 
> 
> http://www.pregale.com 
> 
> WGS84 38º 44’ 15’’,90N   09º 18’ 29’’,70W
> 
>  
> 
> A presente mensagem de correio electrónico, bem como os respectivos
> ficheiros anexos, podem conter informação restrita ou confidencial
> 
> destinada exclusivamente ao respectivo destinatário. Se recebeu esta
> mensagem por engano, por favor apague-a e comunique a 
> 
> ocorrência a pregale at pregale.com 
> This e-mail and any files attached to it may contain privileged or
> confidential information intended solely for the use of its addressee.
> 
> If you have received this e-mail in error, please delete it and kindly
> notify pregale at pregale.com 
> 
>  
> 
> 
> _______________________________________________
> Portugal mailing list
> Portugal at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/portugal




More information about the Portugal mailing list