Fw: [Gvsig_usuarios] pasar shp a kml.
Parque Turia
parque_turia en gva.es
Mar Jul 15 12:05:01 CEST 2008
Muchas gracias Jorge, Adrian, Agustín..... Ya he conseguido visualizar mis
capas en el google earth, mi problema era el que resuelve Agustín, con
eliminar <Region> y </Region> se arregla todo.
Muchas gracias.
Isaac Muedra Ortiz
Oficina Técnica Parque Natural del Turia.
> ----- Original Message ----- From: "Agustin Diez Castillo"
> <Agustin.Diez en uv.es
> >
> To: "Parque Turia" <parque_turia en gva.es>; "Lista de Usuarios de gvSIG"
> <gvsig_usuarios en runas.cap.gva.es>
> Sent: Monday, July 14, 2008 2:04 PM
> Subject: Re: [Gvsig_usuarios] pasar shp a kml.
>
>
> Sólo tienes que abrir el fichero kml con el bloc de notas (asumo que usas
> windows) y
> borrar esas las lineas en las que pone <Region> y </Region>.
>
>> Hola Agustín, perdona mi ignorancia pero no se como solucionar mi
>> problema con la
> información que das, si es algo de programación estoy pez. ¿Debo
> modificar algo en las
> carpetas de gvSIG?
>>
>> UN saludo y muchas gracias.
>> ----- Original Message ----- From: Agustin Diez Castillo
>> To: Lista de Usuarios de gvSIG
>> Sent: Friday, July 11, 2008 5:08 PM
>> Subject: Re: [Gvsig_usuarios] pasar shp a kml.
>>
>>
>> A mi me pasa lo mismo, es algún problema con las etiquetas del kml, de
>> hecho si le
> quito las de región funciona. Adjunto dos versiones del mismo fichero la
> primera con
> <Region>....</Region> que no funciona y la segunda sin que funciona
>>
>>
>>
>>
>> #No funciona:
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <kml xmlns="http://earth.google.com/kml/2.1">
>> <Document>
>> <name>layer1</name>
>> <Style id="FEATURES">
>> <LineStyle>
>> <color>FFC500FF</color>
>> <width>2</width>
>> </LineStyle>
>> <PolyStyle>
>> <outline>1</outline>
>> <fill>0</fill>
>> </PolyStyle>
>> </Style>
>> <Region>
>> <LatLonAltBox>
>> <north>4284155.559235447</north>
>> <south>4283727.720799233</south>
>> <east>729011.9265020504</east>
>> <west>728424.5253703633</west>
>> <minAltitude>4283727.720799233</minAltitude>
>> <maxAltitude>4284155.559235447</maxAltitude>
>> </LatLonAltBox>
>> </Region>
>> <Placemark>
>> <name>FEATURE</name>
>> <description><![CDATA[]]></description>
>> <styleUrl>#FEATURES</styleUrl>
>> <Polygon>
>> <outerBoundaryIs>
>> <LinearRing>
>> <coordinates>
>> -0.37137342419861796,38.67332384952777,0.0
>> -0.37100983594880804,38.6733472668126,0.0
>> -0.3707440343308367,38.67345187033622,0.0
>> -0.3703769780429375,38.67356999269086,0.0
>> -0.37012957615645126,38.67372240129113,0.0
>> -0.36972109093975264,38.67387118436748,0.0
>> -0.3695714729350236,38.674104779823054,0.0
>> -0.36910026559174364,38.67431533907178,0.0
>> -0.36866701334155416,38.67458994090659,0.0
>> -0.36825678522527233,38.67478607200683,0.0
>> -0.3680490674445118,38.67495516712947,0.0
>> -0.36790811852731503,38.67495199301886,0.0
>> -0.3676740124215954,38.6747413531563,0.0
>> -0.3675762275633681,38.674660163283754,0.0
>> -0.36760041264157434,38.674550125490974,0.0
>> -0.3681660483653851,38.6739625586504,0.0
>> -0.36891115628923454,38.67342642171971,0.0
>> -0.3694704135097798,38.673012477241784,0.0
>> -0.3702614593823972,38.67287230308188,0.0
>> -0.3710979717966072,38.67259096854138,0.0
>> -0.37191261048888347,38.67235652862616,0.0
>> -0.37242291192473376,38.67217843161606,0.0
>> -0.3728532489920293,38.67198273745973,0.0
>> -0.37316681586591444,38.671673834716586,0.0
>> -0.3738278627323716,38.67123056134077,0.0
>> -0.37398316919105057,38.67139202605324,0.0
>> -0.3741355912532242,38.6716324133935,0.0
>> -0.37430930307034127,38.67184168375975,0.0
>> -0.3744254961411116,38.671970674166175,0.0
>> -0.374300648251561,38.67207845221792,0.0
>> -0.3739767594186353,38.67211856820758,0.0
>> -0.37297225582118415,38.672585718165024,0.0
>> -0.37257814370187214,38.67289280967163,0.0
>> -0.3723468416467821,38.67315616762295,0.0
>> -0.3721379830364414,38.6733568396312,0.0
>> -0.3719964592666749,38.67336945508863,0.0
>> -0.37171398919335125,38.67337890095661,0.0
>> -0.37137342419861796,38.67332384952777,0.0
>> -0.37137342419861796,38.67332384952777,0.0
>> </coordinates>
>> </LinearRing>
>> </outerBoundaryIs>
>> </Polygon>
>> <Metadata>
>> <Nombre>penaguila</Nombre>
>> <ID_feature>1.0</ID_feature>
>> <Campo1>plano</Campo1>
>> </Metadata>
>> </Placemark>
>> </Document>
>> </kml>
>>
>>
>> #Funciona:
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <kml xmlns="http://earth.google.com/kml/2.1">
>> <Document>
>> <name>layer1</name>
>> <Style id="FEATURES">
>> <LineStyle>
>> <color>FFFFFFFF</color>
>> <width>2</width>
>> </LineStyle>
>> <PolyStyle>
>> <outline>1</outline>
>> <fill>0</fill>
>> </PolyStyle>
>> </Style>
>> <LatLonAltBox>
>> <north>4284155.559235447</north>
>> <south>4283727.720799233</south>
>> <east>729011.9265020504</east>
>> <west>728424.5253703633</west>
>> <minAltitude>4283727.720799233</minAltitude>
>> <maxAltitude>4284155.559235447</maxAltitude>
>> </LatLonAltBox>
>> <Placemark>
>> <name>FEATURE</name>
>> <description><![CDATA[]]></description>
>> <styleUrl>#FEATURES</styleUrl>
>> <Polygon>
>> <outerBoundaryIs>
>> <LinearRing>
>> <coordinates>
>> -0.37137342419861796,38.67332384952777,0.0
>> -0.37100983594880804,38.6733472668126,0.0
>> -0.3707440343308367,38.67345187033622,0.0
>> -0.3703769780429375,38.67356999269086,0.0
>> -0.37012957615645126,38.67372240129113,0.0
>> -0.36972109093975264,38.67387118436748,0.0
>> -0.3695714729350236,38.674104779823054,0.0
>> -0.36910026559174364,38.67431533907178,0.0
>> -0.36866701334155416,38.67458994090659,0.0
>> -0.36825678522527233,38.67478607200683,0.0
>> -0.3680490674445118,38.67495516712947,0.0
>> -0.36790811852731503,38.67495199301886,0.0
>> -0.3676740124215954,38.6747413531563,0.0
>> -0.3675762275633681,38.674660163283754,0.0
>> -0.36760041264157434,38.674550125490974,0.0
>> -0.3681660483653851,38.6739625586504,0.0
>> -0.36891115628923454,38.67342642171971,0.0
>> -0.3694704135097798,38.673012477241784,0.0
>> -0.3702614593823972,38.67287230308188,0.0
>> -0.3710979717966072,38.67259096854138,0.0
>> -0.37191261048888347,38.67235652862616,0.0
>> -0.37242291192473376,38.67217843161606,0.0
>> -0.3728532489920293,38.67198273745973,0.0
>> -0.37316681586591444,38.671673834716586,0.0
>> -0.3738278627323716,38.67123056134077,0.0
>> -0.37398316919105057,38.67139202605324,0.0
>> -0.3741355912532242,38.6716324133935,0.0
>> -0.37430930307034127,38.67184168375975,0.0
>> -0.3744254961411116,38.671970674166175,0.0
>> -0.374300648251561,38.67207845221792,0.0
>> -0.3739767594186353,38.67211856820758,0.0
>> -0.37297225582118415,38.672585718165024,0.0
>> -0.37257814370187214,38.67289280967163,0.0
>> -0.3723468416467821,38.67315616762295,0.0
>> -0.3721379830364414,38.6733568396312,0.0
>> -0.3719964592666749,38.67336945508863,0.0
>> -0.37171398919335125,38.67337890095661,0.0
>> -0.37137342419861796,38.67332384952777,0.0
>> -0.37137342419861796,38.67332384952777,0.0
>> </coordinates>
>> </LinearRing>
>> </outerBoundaryIs>
>> </Polygon>
>> <Metadata>
>> <Nombre>penaguila</Nombre>
>> <ID_feature>1.0</ID_feature>
>> <Campo1>plano</Campo1>
>> </Metadata>
>> </Placemark>
>> </Document>
>> </kml>
>>
>>
>>
>>
>> El Jul 11, 2008, a las 2:22 PM, Parque Turia escribió:
>>
>>
>> Hola estoy intentando guardar un shp en formato kml para verlo en el
>> google earth.
> El kml se crea, pincho en el se abre el google earth y va a la zona donde
> se tendría que
> superponer mi capa pero no aparece, en google earth selecciono el
> poligono y le doy color
> pero no aparece visible. ¿Como lo haceis vosotros? ¿hay algún detalle que
> se me pueda
> escapar? Trabajo en el ED50 en coordenadas x,y.
>>
>> UN saludo y muchas gracias.
>> _______________________________________________
>> gvSIG_usuarios mailing list
>> gvSIG_usuarios en runas.cap.gva.es
>>
>> Para ver histórico de mensajes, editar sus preferencias de usuario o
>> darse de baja
> en esta lista, acuda a la siguiente dirección:
>>
>> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> gvSIG_usuarios mailing list
>> gvSIG_usuarios en runas.cap.gva.es
>>
>> Para ver histórico de mensajes, editar sus preferencias de usuario o
>> darse de baja en
> esta lista, acuda a la siguiente dirección:
>>
>> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios
>>
>
>
> --
> ******************************************************
> Dr. Agustín Diez Castillo
> Departament de Prehistòria i Arqueologia
> Fundació General Universitat de València
> Phone: +34 963 86 42 42
> Avda. Blasco Ibañez, 28 Fax: +34 963 86 42 34
> València 46010
> ******************************************************
>
>
>
>
>
Más información sobre la lista de distribución gvSIG_usuarios