convert MBTiles (or Mapnik XML) to KML

2,502 views
Skip to first unread message

jumoriana

unread,
Aug 2, 2012, 11:21:42 AM8/2/12
to lib...@googlegroups.com
Hello all, 

I have a gps track which I stylized in TileMill design studio and want to import to my google map as a KML. Since TileMill lets me export files just as MBTiles or Mapnik XML, I have to pass through this convertion. 
I've tried running  ogr2ogr -f "KML" teste_pics.kml teste_pics.mbtiles but, even though it generates a (big) .kml file it does not show the styles or even the track in Google Earth.

I wonder if using libkml would give me this possibility... anyone here know how I could do that?

Thanks for any input. Juliana.

Travis Kirstine

unread,
Aug 2, 2012, 12:08:50 PM8/2/12
to lib...@googlegroups.com
My understanding is that MBTiles is a set of images, I didn't think
ogr would support reading this format. It would probably be easier to
either to import the track directly into Google Earth or use ogr /
libkml to covert the track and style the kml.

Why don't you serve and overlay the tiles (MBTiles) directly in google
maps as a overlay using something like tilestream or mapproxy?
> --
> You received this message because you are subscribed to the Google Groups
> "libkml" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/libkml/-/BsJ_4Ax7sYkJ.
> To post to this group, send email to lib...@googlegroups.com.
> To unsubscribe from this group, send email to
> libkml+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/libkml?hl=en.

juliana mori

unread,
Aug 2, 2012, 12:38:48 PM8/2/12
to lib...@googlegroups.com
Hey Travis, thanks for the quick reply.

Importing the .gpx track directly into GE doesn't allow me to stylize it as I want (you can see it here), that's why I'm insisting in using the MBTiles or Mapnik XML.
 
So, if I understood well, libkml would be no help for keeping the tile stylization, right?

I didn't know about serving the tiles into tilestream and overlay them in GEarth, guess I'll try this option but, as  I've no previous experience with it, not sure if I can do it. Thanks a lot anyway.

[ ]'s


Travis Kirstine

unread,
Aug 2, 2012, 2:55:45 PM8/2/12
to lib...@googlegroups.com
Do you want to use the tiles in Google Maps or Google Earth? From
your original email it sounds like you want to view the GPS data in
Google Maps (MBTiles --> KML --> Google Maps)
> --
> You received this message because you are subscribed to the Google Groups
> "libkml" group.

juliana mori

unread,
Aug 2, 2012, 3:33:49 PM8/2/12
to lib...@googlegroups.com
Sorry for being unclear. I actually want to add the layer to this collective map: http://mapascoletivos.com.br//reports/view/277 (an Ushahidi deployment provided by google maps), and the platform just accepts .kml/kmz as import layers.

I use Google Earth (or Google Maps) only to check the file before importing to mapasColetivos.

Travis Kirstine

unread,
Aug 3, 2012, 9:00:11 AM8/3/12
to lib...@googlegroups.com
You can achieve a similar effect using drawing the line multiple times
and adjusting the line width, colour and opacity in the KML file.

Try loading this:


<?xml version="1.0" encoding="UTF-8"?>
<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">
<Document>
<name>line_example.kml</name>
<StyleMap id="msn_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin1</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>7fe0e1d3</color>
<width>30</width>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin0">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin0</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin1</styleUrl>
</Pair>
</StyleMap>
<Style id="sh_ylw-pushpin0">
<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>ff000000</color>
<width>0.1</width>
</LineStyle>
</Style>
<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>7fbbcd8b</color>
<width>10</width>
</LineStyle>
<PolyStyle>
<color>7fbbcd8b</color>
</PolyStyle>
</Style>
<Style id="sh_ylw-pushpin1">
<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>e57d8a5d</color>
<width>5</width>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin1">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin3</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin2</styleUrl>
</Pair>
</StyleMap>
<StyleMap id="msn_ylw-pushpin2">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin3</styleUrl>
</Pair>
</StyleMap>
<Style id="sn_ylw-pushpin0">
<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>e57d8a5d</color>
<width>5</width>
</LineStyle>
</Style>
<Style id="sh_ylw-pushpin2">
<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>7fd2e7a8</color>
<width>15</width>
</LineStyle>
</Style>
<StyleMap id="msn_ylw-pushpin3">
<Pair>
<key>normal</key>
<styleUrl>#sn_ylw-pushpin2</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#sh_ylw-pushpin0</styleUrl>
</Pair>
</StyleMap>
<Style id="sn_ylw-pushpin1">
<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>7fe0e1d3</color>
<width>30</width>
</LineStyle>
</Style>
<Style id="sn_ylw-pushpin2">
<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>ff000000</color>
<width>0.1</width>
</LineStyle>
</Style>
<Style id="sh_ylw-pushpin3">
<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>7fbbcd8b</color>
<width>10</width>
</LineStyle>
<PolyStyle>
<color>7fbbcd8b</color>
</PolyStyle>
</Style>
<Style id="sn_ylw-pushpin3">
<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>7fd2e7a8</color>
<width>15</width>
</LineStyle>
</Style>
<Folder>
<name>line</name>
<open>1</open>
<Placemark>
<name>Line</name>
<styleUrl>#msn_ylw-pushpin</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-78.96726139181732,41.38625155787667,0
-79.19899242706374,41.37933330247086,0
-79.37810125928563,41.33532243365508,0
-79.50597603415743,41.31195173124235,0
-79.60803408944732,41.28933935675184,0
-79.93809402939272,41.20113077268901,0
-80.1915998254285,41.15339195781899,0
-80.96915525998888,40.89025298178125,0
-81.16638679325709,40.80516411310448,0
-81.26502176756938,40.76227942531119,0
-81.36254996678434,40.7001937018663,0
-81.55777592734243,40.61499862293914,0
-81.70109677331875,40.51323990485549,0
-81.79196712335268,40.37579815623583,0
-81.86142371964094,40.29636888124157,0
-81.87968480204106,40.20077606001398,0
-81.92246153049445,40.10407564808328,0
-81.93914588951164,39.98980390651611,0
-81.95575007096075,39.87560574817136,0
-82.01849917553793,39.72148664141891,0
-82.0592489225708,39.60625611952809,0
-82.02552080651124,39.47582306729582,0
-81.94600219180715,39.38534425798564,0
-81.86751868394819,39.31386809567788,0
-81.78774228055035,39.22363304353164,0
-81.63688572231705,39.15530985228546,0
-81.38430127441333,39.03517110433089,0
-81.15853624313102,38.95098676577556,0
-80.93418636125206,38.88501967260033,0
-80.73436701355824,38.81760366355714,0
-80.53577249298068,38.76856118569427,0
-80.40945986378239,38.69776113392485,0
-80.20907802549804,38.61043145466416,0
-79.961056794451,38.54301580208191,0
-79.81088822859131,38.47213277201208,0
-79.66166802611195,38.41985165019266,0
-79.58575906254171,38.36535459271386,0
-79.45860744784355,38.25550505966404,0
-79.40654729466888,38.18132510647455,0
-79.42773351587989,38.10525628949282,0
-79.47322255390918,38.028568999878,0
-79.54208763761064,37.93239579689475,0
-79.70690133285997,37.81477444532837,0
-79.80294674799997,37.79326234842482,0
-79.89704633039005,37.73401761046753,0
-80.01414998523434,37.65519664162604,0
-80.2012247975884,37.5364835219327,0
-80.43550236286339,37.41606893113677,0
-80.62191859554996,37.31577512174836,0
-80.78486734359412,37.23491819482112,0
-80.92695146066725,37.21107404910048,0
-81.51522393900838,37.09446296940229,0
-81.63192882920836,37.07070084378444,0
-81.72335354421878,37.02908229727892,0
-81.93349388699591,37.00067667079246,0
-82.26210853193396,36.98481636531457,0
-82.47319200048791,36.97414270520879,0
-82.6591352060221,36.94565803193516,0
-82.84163486061536,36.87953162237508,0
-83.02541839225275,36.8318236819937,0
-83.23053344824213,36.76383636216815,0
-83.43343066040194,36.67686759639543,0
-83.66266693580299,36.62547184581146,0
-83.86061036056003,36.50019924940671,0
-84.10806596354375,36.40874877350651,0
-84.39922248360733,36.29479823754713,0
-84.66862430164532,36.19948678574702,0
-84.98392082768648,36.09989316903825,0
-85.14142546945074,36.04973715160879,0
-85.36377786427497,35.95619813682292,0
-85.47045924206572,35.87164221154714,0
-85.60004993571131,35.78501749646712,0
-85.7019574908162,35.66248375620247,0
-85.80589300081043,35.55858489490333,0
-85.86816553960219,35.49616208216182,0
-85.90286058651039,35.39796395928488,0
-85.91679271474777,35.32054782210811,0
-85.90549556284726,35.22622243024325,0
-85.89196586757494,35.11296598012999,0
-85.75954549295702,34.97175089229566,0
-85.68646609619464,34.93984349543445,0
-85.37399718860686,34.83258654610592,0
-85.11008024193797,34.73976811387751,0
-84.84882617813952,34.66531681824319,0
-84.58809240423702,34.59032334436675,0
-84.40202308212959,34.56643292669688,0
-84.21214043376351,34.503014644879,0
-84.02429558909418,34.45800478901692,0
-83.85929340382154,34.4112405618914,0
-83.64882830092746,34.36694847969748,0
-83.52767737449941,34.29774432042278,0
-83.47310049132162,34.20530429992641,0
-83.48860660186058,34.12779349841456,0
-83.50771214506239,34.08834909929653,0
</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Line</name>
<styleUrl>#msn_ylw-pushpin1</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-78.96726139181732,41.38625155787667,0
-79.19899242706374,41.37933330247086,0
-79.37810125928563,41.33532243365508,0
-79.50597603415743,41.31195173124235,0
-79.60803408944732,41.28933935675184,0
-79.93809402939272,41.20113077268901,0
-80.1915998254285,41.15339195781899,0
-80.96915525998888,40.89025298178125,0
-81.16638679325709,40.80516411310448,0
-81.26502176756938,40.76227942531119,0
-81.36254996678434,40.7001937018663,0
-81.55777592734243,40.61499862293914,0
-81.70109677331875,40.51323990485549,0
-81.79196712335268,40.37579815623583,0
-81.86142371964094,40.29636888124157,0
-81.87968480204106,40.20077606001398,0
-81.92246153049445,40.10407564808328,0
-81.93914588951164,39.98980390651611,0
-81.95575007096075,39.87560574817136,0
-82.01849917553793,39.72148664141891,0
-82.0592489225708,39.60625611952809,0
-82.02552080651124,39.47582306729582,0
-81.94600219180715,39.38534425798564,0
-81.86751868394819,39.31386809567788,0
-81.78774228055035,39.22363304353164,0
-81.63688572231705,39.15530985228546,0
-81.38430127441333,39.03517110433089,0
-81.15853624313102,38.95098676577556,0
-80.93418636125206,38.88501967260033,0
-80.73436701355824,38.81760366355714,0
-80.53577249298068,38.76856118569427,0
-80.40945986378239,38.69776113392485,0
-80.20907802549804,38.61043145466416,0
-79.961056794451,38.54301580208191,0
-79.81088822859131,38.47213277201208,0
-79.66166802611195,38.41985165019266,0
-79.58575906254171,38.36535459271386,0
-79.45860744784355,38.25550505966404,0
-79.40654729466888,38.18132510647455,0
-79.42773351587989,38.10525628949282,0
-79.47322255390918,38.028568999878,0
-79.54208763761064,37.93239579689475,0
-79.70690133285997,37.81477444532837,0
-79.80294674799997,37.79326234842482,0
-79.89704633039005,37.73401761046753,0
-80.01414998523434,37.65519664162604,0
-80.2012247975884,37.5364835219327,0
-80.43550236286339,37.41606893113677,0
-80.62191859554996,37.31577512174836,0
-80.78486734359412,37.23491819482112,0
-80.92695146066725,37.21107404910048,0
-81.51522393900838,37.09446296940229,0
-81.63192882920836,37.07070084378444,0
-81.72335354421878,37.02908229727892,0
-81.93349388699591,37.00067667079246,0
-82.26210853193396,36.98481636531457,0
-82.47319200048791,36.97414270520879,0
-82.6591352060221,36.94565803193516,0
-82.84163486061536,36.87953162237508,0
-83.02541839225275,36.8318236819937,0
-83.23053344824213,36.76383636216815,0
-83.43343066040194,36.67686759639543,0
-83.66266693580299,36.62547184581146,0
-83.86061036056003,36.50019924940671,0
-84.10806596354375,36.40874877350651,0
-84.39922248360733,36.29479823754713,0
-84.66862430164532,36.19948678574702,0
-84.98392082768648,36.09989316903825,0
-85.14142546945074,36.04973715160879,0
-85.36377786427497,35.95619813682292,0
-85.47045924206572,35.87164221154714,0
-85.60004993571131,35.78501749646712,0
-85.7019574908162,35.66248375620247,0
-85.80589300081043,35.55858489490333,0
-85.86816553960219,35.49616208216182,0
-85.90286058651039,35.39796395928488,0
-85.91679271474777,35.32054782210811,0
-85.90549556284726,35.22622243024325,0
-85.89196586757494,35.11296598012999,0
-85.75954549295702,34.97175089229566,0
-85.68646609619464,34.93984349543445,0
-85.37399718860686,34.83258654610592,0
-85.11008024193797,34.73976811387751,0
-84.84882617813952,34.66531681824319,0
-84.58809240423702,34.59032334436675,0
-84.40202308212959,34.56643292669688,0
-84.21214043376351,34.503014644879,0
-84.02429558909418,34.45800478901692,0
-83.85929340382154,34.4112405618914,0
-83.64882830092746,34.36694847969748,0
-83.52767737449941,34.29774432042278,0
-83.47310049132162,34.20530429992641,0
-83.48860660186058,34.12779349841456,0
-83.50771214506239,34.08834909929653,0
</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Line</name>
<styleUrl>#msn_ylw-pushpin2</styleUrl>
<LineString>
<extrude>1</extrude>
<tessellate>1</tessellate>
<coordinates>
-78.96726139181732,41.38625155787667,0
-79.19899242706374,41.37933330247086,0
-79.37810125928563,41.33532243365508,0
-79.50597603415743,41.31195173124235,0
-79.60803408944732,41.28933935675184,0
-79.93809402939272,41.20113077268901,0
-80.1915998254285,41.15339195781899,0
-80.96915525998888,40.89025298178125,0
-81.16638679325709,40.80516411310448,0
-81.26502176756938,40.76227942531119,0
-81.36254996678434,40.7001937018663,0
-81.55777592734243,40.61499862293914,0
-81.70109677331875,40.51323990485549,0
-81.79196712335268,40.37579815623583,0
-81.86142371964094,40.29636888124157,0
-81.87968480204106,40.20077606001398,0
-81.92246153049445,40.10407564808328,0
-81.93914588951164,39.98980390651611,0
-81.95575007096075,39.87560574817136,0
-82.01849917553793,39.72148664141891,0
-82.0592489225708,39.60625611952809,0
-82.02552080651124,39.47582306729582,0
-81.94600219180715,39.38534425798564,0
-81.86751868394819,39.31386809567788,0
-81.78774228055035,39.22363304353164,0
-81.63688572231705,39.15530985228546,0
-81.38430127441333,39.03517110433089,0
-81.15853624313102,38.95098676577556,0
-80.93418636125206,38.88501967260033,0
-80.73436701355824,38.81760366355714,0
-80.53577249298068,38.76856118569427,0
-80.40945986378239,38.69776113392485,0
-80.20907802549804,38.61043145466416,0
-79.961056794451,38.54301580208191,0
-79.81088822859131,38.47213277201208,0
-79.66166802611195,38.41985165019266,0
-79.58575906254171,38.36535459271386,0
-79.45860744784355,38.25550505966404,0
-79.40654729466888,38.18132510647455,0
-79.42773351587989,38.10525628949282,0
-79.47322255390918,38.028568999878,0
-79.54208763761064,37.93239579689475,0
-79.70690133285997,37.81477444532837,0
-79.80294674799997,37.79326234842482,0
-79.89704633039005,37.73401761046753,0
-80.01414998523434,37.65519664162604,0
-80.2012247975884,37.5364835219327,0
-80.43550236286339,37.41606893113677,0
-80.62191859554996,37.31577512174836,0
-80.78486734359412,37.23491819482112,0
-80.92695146066725,37.21107404910048,0
-81.51522393900838,37.09446296940229,0
-81.63192882920836,37.07070084378444,0
-81.72335354421878,37.02908229727892,0
-81.93349388699591,37.00067667079246,0
-82.26210853193396,36.98481636531457,0
-82.47319200048791,36.97414270520879,0
-82.6591352060221,36.94565803193516,0
-82.84163486061536,36.87953162237508,0
-83.02541839225275,36.8318236819937,0
-83.23053344824213,36.76383636216815,0
-83.43343066040194,36.67686759639543,0
-83.66266693580299,36.62547184581146,0
-83.86061036056003,36.50019924940671,0
-84.10806596354375,36.40874877350651,0
-84.39922248360733,36.29479823754713,0
-84.66862430164532,36.19948678574702,0
-84.98392082768648,36.09989316903825,0
-85.14142546945074,36.04973715160879,0
-85.36377786427497,35.95619813682292,0
-85.47045924206572,35.87164221154714,0
-85.60004993571131,35.78501749646712,0
-85.7019574908162,35.66248375620247,0
-85.80589300081043,35.55858489490333,0
-85.86816553960219,35.49616208216182,0
-85.90286058651039,35.39796395928488,0
-85.91679271474777,35.32054782210811,0
-85.90549556284726,35.22622243024325,0
-85.89196586757494,35.11296598012999,0
-85.75954549295702,34.97175089229566,0
-85.68646609619464,34.93984349543445,0
-85.37399718860686,34.83258654610592,0
-85.11008024193797,34.73976811387751,0
-84.84882617813952,34.66531681824319,0
-84.58809240423702,34.59032334436675,0
-84.40202308212959,34.56643292669688,0
-84.21214043376351,34.503014644879,0
-84.02429558909418,34.45800478901692,0
-83.85929340382154,34.4112405618914,0
-83.64882830092746,34.36694847969748,0
-83.52767737449941,34.29774432042278,0
-83.47310049132162,34.20530429992641,0
-83.48860660186058,34.12779349841456,0
-83.50771214506239,34.08834909929653,0
</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Line</name>
<styleUrl>#msn_ylw-pushpin0</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-78.96726139181732,41.38625155787667,0
-79.19899242706374,41.37933330247086,0
-79.37810125928563,41.33532243365508,0
-79.50597603415743,41.31195173124235,0
-79.60803408944732,41.28933935675184,0
-79.93809402939272,41.20113077268901,0
-80.1915998254285,41.15339195781899,0
-80.96915525998888,40.89025298178125,0
-81.16638679325709,40.80516411310448,0
-81.26502176756938,40.76227942531119,0
-81.36254996678434,40.7001937018663,0
-81.55777592734243,40.61499862293914,0
-81.70109677331875,40.51323990485549,0
-81.79196712335268,40.37579815623583,0
-81.86142371964094,40.29636888124157,0
-81.87968480204106,40.20077606001398,0
-81.92246153049445,40.10407564808328,0
-81.93914588951164,39.98980390651611,0
-81.95575007096075,39.87560574817136,0
-82.01849917553793,39.72148664141891,0
-82.0592489225708,39.60625611952809,0
-82.02552080651124,39.47582306729582,0
-81.94600219180715,39.38534425798564,0
-81.86751868394819,39.31386809567788,0
-81.78774228055035,39.22363304353164,0
-81.63688572231705,39.15530985228546,0
-81.38430127441333,39.03517110433089,0
-81.15853624313102,38.95098676577556,0
-80.93418636125206,38.88501967260033,0
-80.73436701355824,38.81760366355714,0
-80.53577249298068,38.76856118569427,0
-80.40945986378239,38.69776113392485,0
-80.20907802549804,38.61043145466416,0
-79.961056794451,38.54301580208191,0
-79.81088822859131,38.47213277201208,0
-79.66166802611195,38.41985165019266,0
-79.58575906254171,38.36535459271386,0
-79.45860744784355,38.25550505966404,0
-79.40654729466888,38.18132510647455,0
-79.42773351587989,38.10525628949282,0
-79.47322255390918,38.028568999878,0
-79.54208763761064,37.93239579689475,0
-79.70690133285997,37.81477444532837,0
-79.80294674799997,37.79326234842482,0
-79.89704633039005,37.73401761046753,0
-80.01414998523434,37.65519664162604,0
-80.2012247975884,37.5364835219327,0
-80.43550236286339,37.41606893113677,0
-80.62191859554996,37.31577512174836,0
-80.78486734359412,37.23491819482112,0
-80.92695146066725,37.21107404910048,0
-81.51522393900838,37.09446296940229,0
-81.63192882920836,37.07070084378444,0
-81.72335354421878,37.02908229727892,0
-81.93349388699591,37.00067667079246,0
-82.26210853193396,36.98481636531457,0
-82.47319200048791,36.97414270520879,0
-82.6591352060221,36.94565803193516,0
-82.84163486061536,36.87953162237508,0
-83.02541839225275,36.8318236819937,0
-83.23053344824213,36.76383636216815,0
-83.43343066040194,36.67686759639543,0
-83.66266693580299,36.62547184581146,0
-83.86061036056003,36.50019924940671,0
-84.10806596354375,36.40874877350651,0
-84.39922248360733,36.29479823754713,0
-84.66862430164532,36.19948678574702,0
-84.98392082768648,36.09989316903825,0
-85.14142546945074,36.04973715160879,0
-85.36377786427497,35.95619813682292,0
-85.47045924206572,35.87164221154714,0
-85.60004993571131,35.78501749646712,0
-85.7019574908162,35.66248375620247,0
-85.80589300081043,35.55858489490333,0
-85.86816553960219,35.49616208216182,0
-85.90286058651039,35.39796395928488,0
-85.91679271474777,35.32054782210811,0
-85.90549556284726,35.22622243024325,0
-85.89196586757494,35.11296598012999,0
-85.75954549295702,34.97175089229566,0
-85.68646609619464,34.93984349543445,0
-85.37399718860686,34.83258654610592,0
-85.11008024193797,34.73976811387751,0
-84.84882617813952,34.66531681824319,0
-84.58809240423702,34.59032334436675,0
-84.40202308212959,34.56643292669688,0
-84.21214043376351,34.503014644879,0
-84.02429558909418,34.45800478901692,0
-83.85929340382154,34.4112405618914,0
-83.64882830092746,34.36694847969748,0
-83.52767737449941,34.29774432042278,0
-83.47310049132162,34.20530429992641,0
-83.48860660186058,34.12779349841456,0
-83.50771214506239,34.08834909929653,0
</coordinates>
</LineString>
</Placemark>
<Placemark>
<name>Line</name>
<styleUrl>#msn_ylw-pushpin3</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-78.96726139181732,41.38625155787667,0
-79.19899242706374,41.37933330247086,0
-79.37810125928563,41.33532243365508,0
-79.50597603415743,41.31195173124235,0
-79.60803408944732,41.28933935675184,0
-79.93809402939272,41.20113077268901,0
-80.1915998254285,41.15339195781899,0
-80.96915525998888,40.89025298178125,0
-81.16638679325709,40.80516411310448,0
-81.26502176756938,40.76227942531119,0
-81.36254996678434,40.7001937018663,0
-81.55777592734243,40.61499862293914,0
-81.70109677331875,40.51323990485549,0
-81.79196712335268,40.37579815623583,0
-81.86142371964094,40.29636888124157,0
-81.87968480204106,40.20077606001398,0
-81.92246153049445,40.10407564808328,0
-81.93914588951164,39.98980390651611,0
-81.95575007096075,39.87560574817136,0
-82.01849917553793,39.72148664141891,0
-82.0592489225708,39.60625611952809,0
-82.02552080651124,39.47582306729582,0
-81.94600219180715,39.38534425798564,0
-81.86751868394819,39.31386809567788,0
-81.78774228055035,39.22363304353164,0
-81.63688572231705,39.15530985228546,0
-81.38430127441333,39.03517110433089,0
-81.15853624313102,38.95098676577556,0
-80.93418636125206,38.88501967260033,0
-80.73436701355824,38.81760366355714,0
-80.53577249298068,38.76856118569427,0
-80.40945986378239,38.69776113392485,0
-80.20907802549804,38.61043145466416,0
-79.961056794451,38.54301580208191,0
-79.81088822859131,38.47213277201208,0
-79.66166802611195,38.41985165019266,0
-79.58575906254171,38.36535459271386,0
-79.45860744784355,38.25550505966404,0
-79.40654729466888,38.18132510647455,0
-79.42773351587989,38.10525628949282,0
-79.47322255390918,38.028568999878,0
-79.54208763761064,37.93239579689475,0
-79.70690133285997,37.81477444532837,0
-79.80294674799997,37.79326234842482,0
-79.89704633039005,37.73401761046753,0
-80.01414998523434,37.65519664162604,0
-80.2012247975884,37.5364835219327,0
-80.43550236286339,37.41606893113677,0
-80.62191859554996,37.31577512174836,0
-80.78486734359412,37.23491819482112,0
-80.92695146066725,37.21107404910048,0
-81.51522393900838,37.09446296940229,0
-81.63192882920836,37.07070084378444,0
-81.72335354421878,37.02908229727892,0
-81.93349388699591,37.00067667079246,0
-82.26210853193396,36.98481636531457,0
-82.47319200048791,36.97414270520879,0
-82.6591352060221,36.94565803193516,0
-82.84163486061536,36.87953162237508,0
-83.02541839225275,36.8318236819937,0
-83.23053344824213,36.76383636216815,0
-83.43343066040194,36.67686759639543,0
-83.66266693580299,36.62547184581146,0
-83.86061036056003,36.50019924940671,0
-84.10806596354375,36.40874877350651,0
-84.39922248360733,36.29479823754713,0
-84.66862430164532,36.19948678574702,0
-84.98392082768648,36.09989316903825,0
-85.14142546945074,36.04973715160879,0
-85.36377786427497,35.95619813682292,0
-85.47045924206572,35.87164221154714,0
-85.60004993571131,35.78501749646712,0
-85.7019574908162,35.66248375620247,0
-85.80589300081043,35.55858489490333,0
-85.86816553960219,35.49616208216182,0
-85.90286058651039,35.39796395928488,0
-85.91679271474777,35.32054782210811,0
-85.90549556284726,35.22622243024325,0
-85.89196586757494,35.11296598012999,0
-85.75954549295702,34.97175089229566,0
-85.68646609619464,34.93984349543445,0
-85.37399718860686,34.83258654610592,0
-85.11008024193797,34.73976811387751,0
-84.84882617813952,34.66531681824319,0
-84.58809240423702,34.59032334436675,0
-84.40202308212959,34.56643292669688,0
-84.21214043376351,34.503014644879,0
-84.02429558909418,34.45800478901692,0
-83.85929340382154,34.4112405618914,0
-83.64882830092746,34.36694847969748,0
-83.52767737449941,34.29774432042278,0
-83.47310049132162,34.20530429992641,0
-83.48860660186058,34.12779349841456,0
-83.50771214506239,34.08834909929653,0
</coordinates>
</LineString>
</Placemark>
</Folder>
</Document>
</kml>

MayB

unread,
Aug 22, 2019, 7:02:40 AM8/22/19
to libkml
Hello all, 

I am arriving  bit later … 
I am looking for a solution to convert my kml file into a mbtiles that I could use afterwards offline on my smartphone. 
I am trying several options such as taking picture of my kml file to download it into specific softwares and finally end up with a mtiles map, but I am not successful !

Thanks for any inputs !
Maylis 
Reply all
Reply to author
Forward
0 new messages