Add kml files and bash script to run command to load kml files. #596
This commit is contained in:
parent
a2fa95ac98
commit
ea1a85fc22
3 changed files with 109 additions and 0 deletions
53
utils/hub_filtering/kml/NorthEast Quezon City.kml
Executable file
53
utils/hub_filtering/kml/NorthEast Quezon City.kml
Executable file
|
|
@ -0,0 +1,53 @@
|
|||
<?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>NorthEast Quezon City.kml</name>
|
||||
<Style id="s_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>
|
||||
</Style>
|
||||
<Style id="s_ylw-pushpin_hl">
|
||||
<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>
|
||||
</Style>
|
||||
<StyleMap id="m_ylw-pushpin">
|
||||
<Pair>
|
||||
<key>normal</key>
|
||||
<styleUrl>#s_ylw-pushpin</styleUrl>
|
||||
</Pair>
|
||||
<Pair>
|
||||
<key>highlight</key>
|
||||
<styleUrl>#s_ylw-pushpin_hl</styleUrl>
|
||||
</Pair>
|
||||
</StyleMap>
|
||||
<Placemark>
|
||||
<name>North/East Quezon City</name>
|
||||
<styleUrl>#m_ylw-pushpin</styleUrl>
|
||||
<LineString>
|
||||
<tessellate>1</tessellate>
|
||||
<coordinates>
|
||||
121.0388828172477,14.75175552785866,0
|
||||
121.0264863508908,14.72431126922994,0
|
||||
121.0188642172801,14.68043623219229,0
|
||||
121.0397255048843,14.67025382422812,0
|
||||
121.0708229308269,14.66054934322293,0
|
||||
121.0789709052917,14.66085948828739,0
|
||||
121.1043071124492,14.68442623857679,0
|
||||
121.1043566738696,14.6903053118852,0
|
||||
121.0656381762334,14.73330802486941,0
|
||||
121.0388828172477,14.75175552785866,0
|
||||
</coordinates>
|
||||
</LineString>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
53
utils/hub_filtering/kml/PasayMakati.kml
Executable file
53
utils/hub_filtering/kml/PasayMakati.kml
Executable file
|
|
@ -0,0 +1,53 @@
|
|||
<?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>PasayMakati.kml</name>
|
||||
<Style id="s_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>
|
||||
</Style>
|
||||
<Style id="s_ylw-pushpin_hl">
|
||||
<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>
|
||||
</Style>
|
||||
<StyleMap id="m_ylw-pushpin">
|
||||
<Pair>
|
||||
<key>normal</key>
|
||||
<styleUrl>#s_ylw-pushpin</styleUrl>
|
||||
</Pair>
|
||||
<Pair>
|
||||
<key>highlight</key>
|
||||
<styleUrl>#s_ylw-pushpin_hl</styleUrl>
|
||||
</Pair>
|
||||
</StyleMap>
|
||||
<Placemark>
|
||||
<name>Pasay/Makati</name>
|
||||
<styleUrl>#m_ylw-pushpin</styleUrl>
|
||||
<LineString>
|
||||
<tessellate>1</tessellate>
|
||||
<coordinates>
|
||||
120.9870904469408,14.58031608120776,0
|
||||
120.9624383996012,14.55002855741119,0
|
||||
120.9833569572194,14.53885389409424,0
|
||||
121.0003865424648,14.52740732973088,0
|
||||
121.0087837147442,14.52749869210168,0
|
||||
121.0697719565936,14.5535360956562,0
|
||||
121.0697618959274,14.55978448110147,0
|
||||
121.0224110039619,14.57408468583621,0
|
||||
120.9955306747279,14.58045122864969,0
|
||||
120.9870904469408,14.58031608120776,0
|
||||
</coordinates>
|
||||
</LineString>
|
||||
</Placemark>
|
||||
</Document>
|
||||
</kml>
|
||||
3
utils/hub_filtering/load_hub_filtering_kml.sh
Executable file
3
utils/hub_filtering/load_hub_filtering_kml.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
/usr/bin/php /var/www/resq/bin/console hubfilterarea:import /var/www/resq/utils/hub_filtering/kml/PasayMakati.kml
|
||||
/usr/bin/php /var/www/resq/bin/console hubfilterarea:import /var/www/resq/utils/hub_filtering/kml/NorthEast\ Quezon\ City.kml
|
||||
Loading…
Reference in a new issue