Advertisement
Guest User

kml not working with STGeomFromText

a guest
Jul 26th, 2012
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
  3. <Document>
  4. <name>swath</name>
  5. <Style id="s_ylw-pushpin_hl">
  6. <IconStyle>
  7. <scale>1.3</scale>
  8. <Icon>
  9. <href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
  10. </Icon>
  11. <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
  12. </IconStyle>
  13. <LineStyle>
  14. <color>ff0000aa</color>
  15. <width>2</width>
  16. </LineStyle>
  17. </Style>
  18. <StyleMap id="m_ylw-pushpin">
  19. <Pair>
  20. <key>normal</key>
  21. <styleUrl>#s_ylw-pushpin</styleUrl>
  22. </Pair>
  23. <Pair>
  24. <key>highlight</key>
  25. <styleUrl>#s_ylw-pushpin_hl</styleUrl>
  26. </Pair>
  27. </StyleMap>
  28. <Style id="s_ylw-pushpin">
  29. <IconStyle>
  30. <scale>1.1</scale>
  31. <Icon>
  32. <href>http://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png</href>
  33. </Icon>
  34. <hotSpot x="20" y="2" xunits="pixels" yunits="pixels"/>
  35. </IconStyle>
  36. <LineStyle>
  37. <color>ff0000aa</color>
  38. <width>2</width>
  39. </LineStyle>
  40. </Style>
  41. <Placemark>
  42. <name>Untitled Path</name>
  43. <styleUrl>#m_ylw-pushpin</styleUrl>
  44. <LineString>
  45. <tessellate>1</tessellate>
  46. <coordinates>
  47. 14.1977984372468,49.7086179545186,0 14.0975789966719,49.490931050796,0 12.5900898047007,45.9899553708373,0 11.2416180142584,42.4725018717541,0 10.0189326479206,38.9414519482468,0 8.89701484835269,35.3990096092695,0 7.85664665475729,31.8469172968655,0 6.88278698469561,28.2865986360566,0 5.9634518930894,24.7192549336294,0 5.08892530812995,21.1459314523495,0 4.25119070563764,17.5675630126313,0 3.44351321077389,13.985005924225,0 2.66012537113857,10.3990599134859,0 1.89598509474054,6.81048335641945,0 1.1465837262999,3.22000326571774,0 0.407788590200467,-0.371677988700824,0 -0.324291851935639,-3.96387852745089,0 -1.05342955105917,-7.55593436365933,0 -1.78339318076703,-11.1471976352728,0 -2.51806681006348,-14.7370348965234,0 -3.26157909469963,-18.3248253652926,0 -4.01845238057626,-21.9099575448643,0 -4.79378397261009,-25.4918242201927,0 -5.59347616002234,-29.0698144501277,0 -6.42453876771587,-32.6433010407778,0 -7.29549969159991,-36.211621758752,0 -8.21697775205904,-39.774051024648,0 -9.20250398028347,-43.3297576050588,0 -10.2697317463825,-46.8777402574098,0 -11.4422726186086,-50.4167283166232,0 -12.7525722806525,-53.9450245293382,0 -14.2465807422689,-57.460247128251,0 -15.9916555981513,-60.9588899763672,0 -18.0905888714589,-64.4355326552956,0 -20.7079207471342,-67.8813344075985,0 -24.1225654627664,-71.2809433475941,0 -28.8408188355059,-74.6055692800629,0 -35.8463883696685,-77.7924382401655,0 -47.2063856590074,-80.7065857738326,0 -66.9785058803618,-83.0052691165418,0 -97.9750390100537,-83.9384177606558,0 -128.643556044951,-82.9375576334944,0 -148.00391894514,-80.6054307189309,0 -159.139108412103,-77.6779603190499,0 -166.029981462794,-74.4857156018706,0 -170.684840043845,-71.1595774540993,0 -174.061735811063,-67.7603847042112,0 -176.654974376848,-64.3161893679373,0 -178.737627762043,-60.8419881952857,0 179.528828146465,-57.3464295623487,0 178.043316526901,-53.8348168444905,0 176.739494352815,-50.3105766671909,0 175.572040277034,-46.7760308036764,0 174.508913762508,-43.2328270400433,0 173.526773241969,-39.6821924739992,0 172.608150515157,-36.1250880589781,0 171.739644782635,-32.5623067842119,0 170.910730829305,-28.9945370682842,0 170.112949405406,-25.4224048384334,0 169.339341980169,-21.846501773014,0 168.58404528169,-18.2674039867933,0 167.841992255889,-14.6856847908136,0 167.10868448838,-11.1019226955191,0 166.380012729174,-7.51670676722884,0 165.941432353483,-5.35533773778457,0 159.776665988585,-6.57902683369825,0 160.177433883186,-8.72380367556899,0 160.822079257621,-12.2824960195651,0 161.443414585553,-15.8408809387369,0 162.043430549844,-19.398296263682,0 162.623815450699,-22.9541494522971,0 163.185982448494,-26.5079178675654,0 163.73108551617,-30.0591498688561,0 164.26002344831,-33.6074656910582,0 164.773430063532,-37.1525586793143,0 165.271646700603,-40.6941960473808,0 165.754670150563,-44.2322194161788,0 166.222063966029,-47.7665451784619,0 166.672811789969,-51.2971640454233,0 167.105074008517,-54.8241408276084,0 167.515774078978,-58.3476136686714,0 167.899867192761,-61.8677941701833,0 168.248975202488,-65.3849687010856,0 168.548650592718,-68.899502591151,0 168.772353767069,-72.4118497117796,0 168.86640163402,-75.9225678964884,0 168.706491743022,-79.4152462878817,0 167.927467291569,-82.8961624959035,0 164.732805578133,-86.3800283841654,0 90.7183887585475,-89.5255796637184,0 0.869476212320378,-86.5107511675832,0 -2.53511419326111,-83.0263801264859,0 -3.35347936173547,-79.5441534398354,0 -3.52714539202692,-76.0510262182095,0 -3.43943131235962,-72.5383029542796,0 -3.21903289869946,-69.0235405384683,0 -2.9212128486995,-65.5061918147878,0 -2.57316966777165,-61.9858166317077,0 -2.18966563058102,-58.4620663215801,0 -1.77924490961034,-54.9346738854397,0 -1.34704681853976,-51.4034493155988,0 -0.896205077108871,-47.8682781762759,0 -0.428595677041346,-44.329121290399,0 0.0547408943611908,-40.786015213663,0 0.553351609541117,-37.2390723089532,0 1.06722155761446,-33.6884808125902,0 1.59668364420096,-30.1345044451656,0 2.14236556311945,-26.5774814836359,0 2.70516170545828,-23.0178236671284,0 3.28622299594447,-19.4560147963763,0 3.88696070360683,-15.8926094397698,0 4.50906229046143,-12.3282317178813,0 5.15451864742359,-8.76357458301829,0 5.82566311373916,-5.19940031270823,0 6.5252236911824,-1.63654187123703,0 7.25639066630586,1.92409340837588,0 8.02290309530139,5.48151764590984,0 8.82915889854057,9.03465271716534,0 9.6803551482695,12.5823158658826,0 10.5826675131422,16.1231989255446,0 11.5434812953803,19.6558394558106,0 12.5716910643249,23.1785804132512,0 13.6780927958767,26.689514921038,0 14.8759019115514,30.1864100426377,0 16.1814448369554,33.6666019429789,0 17.6150918852402,37.1268498599495,0 19.2025294573402,40.5631314224601,0 20.9765131252558,43.9703521754743,0 22.979305680181,47.3419272187238,0 23.1129487986833,47.550807797626,0 14.1977984372468,49.7086179545186
  48. </coordinates>
  49. </LineString>
  50. </Placemark>
  51. </Document>
  52. </kml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement