LINUX.ORG.RU

KML продолжение...


0

0

Повторяю неужели в линуксе нет ни одной програмы для редактирования KML хотябы частично.

Вот пример железная дорога Stettin-Ziethenmuhle-Prenzlau, желтым цветом. Но на участке Ziethenmuhle-Prenzlau она разобрана и должна быть красной.

Тоесть надо разбить этот путь на два.

Вручную конечно можно, но если очень много точек?

Полагаю что можно преобразовать в SVG, но как быть с координатами?

Вот пример:

http://img236.imageshack.us/img236/5346/picgu0.png

Вот KML файл:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">;
<Document>
<name>Stettin-Ziethenmuhle-Prenzlau.kml</name>
<Style id="sn_ylw-pushpin">
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>;
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff00ffff</color>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin</styleUrl>
</Pair>
</StyleMap>
<Style id="sh_ylw-pushpin">
<IconStyle>
<scale>1.3</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>;
</Icon>
<hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
</IconStyle>
<LineStyle>
<color>ff00ffff</color>
</LineStyle>
</Style>
<Placemark>
<name>Stettin-Ziethenmuhle-Prenzlau</name>
<styleUrl>#msn_ylw-pushpin</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
14.50822037982866,53.39857384285931,0 14.49515162034601,53.39802044957175,0 14.48997906403749,53.39730580135405,0 14.48391383473319,53.39581565073176,0 14.47879717889425,53.39370733007826,0 14.4743907172271,53.39096904087057,0 14.47155536816041,53.38831894245742,0 14.46989461428744,53.3851077127638,0 14.46047164015595,53.36127329872477,0 14.45870835866726,53.35792331027126,0 14.45506590305501,53.35413502622372,0 14.45017438339592,53.35055242887295,0 14.43130490136446,53.33703360218024,0 14.41956486920937,53.32881889424586,0 14.41485902554804,53.32591835688767,0 14.40826584957598,53.32260423234428,0 14.39978689776049,53.31965147455242,0 14.38800701360226,53.31698684617672,0 14.37424857825761,53.31419077610162,0 14.36818391639164,53.3119645289522,0 14.3654732452495,53.31057194596878,0 14.36308210372085,53.30898492517689,0 14.36128347524244,53.3072973513054,0 14.35974753123523,53.30552750690386,0 14.35853198721334,53.30338683750335,0 14.35775059257512,53.30129640400657,0 14.35675506115402,53.29514726818839,0 14.35458684585732,53.27834772560172,0 14.35296439888779,53.27453160561028,0 14.34887640844923,53.26989322038498,0 14.34620268529855,53.26776845511711,0 14.34362473535734,53.26617108769169,0 14.33954222108133,53.26436157510938,0 14.33416743294675,53.26269256340876,0 14.32460225356661,53.26079715861538,0 14.31245463314896,53.2585222554597,0 14.30223224168819,53.25650606390783,0 14.29811037581239,53.2557544383452,0 14.29542631300124,53.25480876349722,0 14.2857128433453,53.25146935420803,0 14.27167360611677,53.24666116794376,0 14.26225852212383,53.24346671468381,0 14.25240414473621,53.23995804921119,0 14.24893623829153,53.23814907498281,0 14.23094699756533,53.22726906626993,0 14.19838080712259,53.20740768678642,0 14.17352495423055,53.19206339725724,0 14.1708719504872,53.19059222114021,0 14.14292704951226,53.18119569478355,0 14.13815037561674,53.17910980592026,0 14.1028812979338,53.14949575010544,0 14.09570507578205,53.14503783755776,0 14.03851757360891,53.10801032577712,0 14.03627709800984,53.10657809909408,0 14.03498476839011,53.10620066422079,0 14.03309280299527,53.10606321550165,0 14.03146239316585,53.10634067993058,0 14.02975694030372,53.10697358753265,0 14.02416091090098,53.11045055733361,0 14.02139212301233,53.11224815005112,0 14.02070966468499,53.1130219244062,0 14.02024100929345,53.1140648266779,0 14.02030687073834,53.11524110882265,0 14.02122832840335,53.12373035008213,0 14.02097863000793,53.12516040375892,0 14.01965917551138,53.12847455434648,0 14.0186005506043,53.13094262036519,0 14.01856533384247,53.13193701327565,0 14.01882828246328,53.1329008411826,0 14.01950984962522,53.13388792698486,0 14.02113163129304,53.13528534917552,0 14.02461811943042,53.13834452303981,0 14.02535290446822,53.13922032985548,0 14.0298838548879,53.14921944530878,0 14.0302568876388,53.15014628080663,0 14.03053337909877,53.15188794703814,0 14.03062117902793,53.15486501184191,0 14.03033803779825,53.15566454277816,0 14.02919004121205,53.15697346983373,0 14.02737987515454,53.15814389083619,0 14.02485098687885,53.1603596383178,0 14.0224526200998,53.16246110539476,0 14.02129697187154,53.16316185678036,0 14.01961062372138,53.16365116815395,0 14.01751258769988,53.16404142984457,0 14.00723095861307,53.16547507704496,0 14.00588322893705,53.16597626052381,0 14.00439813395917,53.1668594359802,0 14.00346772673404,53.16813972465429,0 14.00228943788031,53.17066106700243,0 14.00205885810137,53.17137905688647,0 14.00221625175223,53.17208555585862,0 14.00302391159701,53.17345431633105,0 14.00391771361263,53.17452176257183,0 14.0080510042613,53.17803857449482,0 14.0152149518268,53.18365932143295,0 14.01653722705855,53.18452212852597,0 14.01824575395993,53.18512304035256,0 14.02290774716975,53.18717459545351,0 14.03196403069856,53.191812224912,0 14.03641886131908,53.19419755948217,0 14.03738453227614,53.19500398838697,0 14.03805308484023,53.19615373388242,0 14.03791098730406,53.19781412619608,0 14.03658488770876,53.19896149898091,0 14.02925353387678,53.20507629537335,0 14.02162075288678,53.21165695608022,0 14.01933115979392,53.2139469109377,0 14.01722941012773,53.21634876193219,0 14.01664873526082,53.21770512547152,0 14.01685680011568,53.21922693841594,0 14.01916788524461,53.2218938982383,0 14.02270083459743,53.22569956283598,0 14.02289050956857,53.22715855233012,0 14.02197967531507,53.22921483094647,0 14.02191196582406,53.23107909593983,0 14.02524671684097,53.23910562224227,0 14.02468018898098,53.24088686099321,0 14.02244992325974,53.24256608898909,0 14.02014937141686,53.24393950328979,0 14.01904871615147,53.24542394483765,0 14.01839527765671,53.25775402294931,0 14.01715817988539,53.25956493053339,0 14.01155301229009,53.26538472656122,0 14.01061255328869,53.26766375337559,0 14.01319637726183,53.27528166592252,0 14.01529656157005,53.27960149167587,0 14.02371698444127,53.29382026385413,0 14.02384173875699,53.29497192360841,0 14.02284395495183,53.29610632123462,0 14.02109124364029,53.29693636405653,0 14.01358071813611,53.29766605620612,0 14.01108244991802,53.29817196431252,0 14.0088668304135,53.29939238055368,0 13.99318469915438,53.30878475682871,0 13.99188136665998,53.30927005222032,0 13.98962895425518,53.30960721811657,0 13.9879642652212,53.30936076437985,0 13.98450484770355,53.30817297458869,0 13.98146234996885,53.3072733822139,0 13.97945048222778,53.30706124083399,0 13.97753739788638,53.30741445653223,0 13.97194430558667,53.30998375468197,0 13.96992398745846,53.31034642417884,0 13.96646839716694,53.30982716995166,0 13.95687683322225,53.30804763542929,0 13.9550613129363,53.30806758793593,0 13.95232901693478,53.30809997840534,0 13.94907489401568,53.30740529720936,0 13.94735079658623,53.30741063039729,0 13.94418098991058,53.30780437782401,0 13.9417367104444,53.30900282847143,0 13.93928340729819,53.31038884412522,0 13.93761381280044,53.31079843037906,0 13.91651679709727,53.31299568159473,0 13.9143454804399,53.31348734545,0 13.90385951700935,53.31766141642617,0 13.90242167341587,53.31910263007692,0 13.89698567462679,53.32476933983178,0 13.89487971275489,53.3255039943823,0 13.88646764374368,53.32722781974471,0 13.88510091516505,53.32776676249565,0 13.88107340802056,53.33167119241617,0 13.87927176955918,53.33284048931683,0 13.87743171270255,53.33374665184731,0 13.87573392534661,53.33438250195847,0 13.87418709182326,53.334450979687,0 13.87300652593736,53.33409886251565,0 13.87179723480343,53.33356841787736,0 13.87104548432199,53.33283772999435,0 13.87007251724065,53.33153977027708,0
</coordinates>
</LineString>
</Placemark>
</Document>
</kml>

unonimous
() автор топика
Ответ на: комментарий от schumen

>А зачем ты это сюда вывалил? Или ты думаешь на ЛОРе есть должность KML-редактора?

Во первых: Темой выше вообще оффтоп полный и ничего!

Во вторых: Неужто ни кто не использует GoogleEarth?

В третьих: Мой вопрос вполне конкретный, с наглядным примером.

unonimous
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.