[Gvsig_english] gvSIG1.1.2/1.9 -problems reading annotationsexported to dxf
Enrique Lorenzo Herrero
lorheren at itacyl.es
Mon Jan 18 19:13:57 CET 2010
Johanes:
I encountered that bug when I tried to read GML files which contain lines that represent associated text, then export to annotation shapefile, and then convert to DXF file as text entities, all with gvSIG.
I wasn't able to find the reason why AutoCAD (-Map) can't read the DXF file. I needed to write customised geometric text properties, so, I coded a Python script to write annotation Shapefiles, parsing the GML file as input.
This is not the same question as yours, but I can suggest that perhaps it would be easy to write a python script to read an annotation Shapefile and then convert it to DXF (single DXF, only text entities with geometric attributes, i.e. insertion point, text height, rotation). I think DXF files are still an alternative to annotation shapefiles, when you need fixed sized texts on your map in a single way.
Enrique Lorenzo Herrero
Técnico
----------------------------------------------------------------------------
INSTITUTO TECNOLÓGICO AGRARIO
Junta de Castilla y León
Consejería de Agricultura y Ganadería
Valladolid
Spain
----------------------------------------------------------------------------
www.itacyl.es
----------------------------------------------------------------------------
________________________________________
De: gvsig_internacional-bounces at listserv.gva.es [mailto:gvsig_internacional-bounces at listserv.gva.es] En nombre de Johannes Valenta
Enviado el: lunes, 18 de enero de 2010 16:48
Para: Users and Developers mailing list
Asunto: [Gvsig_english] gvSIG1.1.2/1.9 -problems reading annotationsexported to dxf
Hi list,
today I encountered problems reading a dxf file with Autocad.
What did I do?
I generated an annotation file from a shapefile which I then exported to dxf.
gvSIG (both 1.1.2 and 1.9) properly displayed the exported dxf as points with text.
As I tried to load this dxf into Autocad 2002 as well as into Autocad 2009 the file could not be opened due to an invalid database reference in line xxx.
(the german error text is "Ungültige Datenbankreferenz 0 auf Zeile 990. Ungültige oder unvollständige DXF-Eingabe -- Zeichnung abgebrochen.")
Does anybody have a clue
a) what this error means and
b) how I can solve this problem?
Any hint or suggestion is appreciated
Best,
Johannes
More information about the Gvsig_internacional
mailing list