[gdal-dev] ogr2ogr: KML to any format - export fields

Christopher Condit condit at sdsc.edu
Tue Jan 27 16:08:42 EST 2009


Hi Ednardo-

Is there a particular reason that you don't want to go directly from the original MapInfo to SHP? I would suggest that first, that way you don't lose field information. At this point the KML reader is not aware of KML Schemas, so you'll always get a big mashup of fields... This is being worked on.

 

-Chris

 

Christopher Condit

condit at sdsc.edu

(858) 822-5483

 

From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Ednardo Ferreira
Sent: Tuesday, January 27, 2009 11:42 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] ogr2ogr: KML to any format - export fields

 

Hello!

I'm testing ogr2ogr solution. It's really great.

But I have a problem. The situation is:

1) I have a Map Info Line layer. It has 7 descripition fields. 

2) Using ogr2ogr tool, I generated a KML file from this Map Info layer. It's ok. 

3) When I use this KML in google earth, the informations are all there.

4) But, If I try to convert this KML to any other format (as SHP or TAB), the 7 fields are all put together in one single field. 

5) how can I convert from KML to, for example, SHP or TAB, keeping all fields?



 

 

Até mais!
Jesus te ama e Ele vai voltar! 

Ednardo de Oliveira Ferreira
Analista de Sistemas e Mestre em Transportes
+55(61)8128-7950 
Blog: http://vilaperi.blogspot.com/

 

Desmascarando o panfleto Veja: http://luis.nassif.googlepages.com/home
Caso Daniel Dantas: ttp://www.cartacapital.com.br/app/materia.jsp?a=2&a2=6&i=1643

 

"Suspeitavam que eu vivia intensamente e num livre abandono à felicidade; isto não se perdoa." (Albert Camus)

 

"Quem confia em traidores a si próprio atraiçoa." (Mariano da Fonseca)

 

"Há o suficiente no mundo para todas as necessidades humanas, não há o suficiente para a cobiça humana." (Mahatma Gandhi)

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090127/47b5d471/attachment-0001.html


More information about the gdal-dev mailing list