Table of Contents
Mapping and GPS
OruxMaps
The almost perfect GPS/Mapping Android application, for browsing maps and recording tracks.
Additional sources
- IGN :
<onlinemapsource uid="83"> <name>geoportail.fr</name> <url><![CDATA[http://gpp3-wxs.ign.fr/tyujsdxmzox31ituc2uw0qwl/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={$z}&TILEROW={$y}&TILECOL={$x}&FORMAT=image/jpeg]]></url> <website><![CDATA[<a href="http://m.geoportail.fr/index.html">GeoPortail</a>]]></website> <minzoom>0</minzoom> <maxzoom>18</maxzoom> <projection>MERCATORESFERICA</projection> <servers></servers> <httpparam name="User-Agent">Mozilla/5.0 (Linux; Android 4.1.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.109 Mobile Safari/537.36</httpparam> <httpparam name="Referer">http://geoportail.gouv.fr</httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> </onlinemapsource>
Old variant:
<url><![CDATA[http://wxs.ign.fr/tyujsdxmzox31ituc2uw0qwl/geoportail/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={$z}&TILEROW={$y}&TILECOL={$x}&FORMAT=image/jpeg]]></url>
- Google :
<onlinemapsource uid="82"> <name>Google Maps</name> <url><![CDATA[http://mt{$s}.google.com/vt/lyrs=m@121&hl={$l}&x={$x}&y={$y}&z={$z}]]></url> <minzoom>0</minzoom> <maxzoom>19</maxzoom> <projection>MERCATORESFERICA</projection> <servers>0,1,2,3</servers> <httpparam name=""></httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource> <onlinemapsource uid="1"> <name>Google Earth</name> <url><![CDATA[http://khm{$s}.google.com/kh/v=123&x={$x}&y={$y}&z={$z}]]></url> <minzoom>0</minzoom> <maxzoom>20</maxzoom> <projection>MERCATORESFERICA</projection> <servers>0,1,2,3</servers> <httpparam name=""></httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource> <onlinemapsource uid="2"> <name>Google Terrain</name> <url><![CDATA[http://mt{$s}.google.com/vt/lyrs=t,r&hl={$l}&x={$x}&y={$y}&z={$z}]]></url> <minzoom>0</minzoom> <maxzoom>15</maxzoom> <projection>MERCATORESFERICA</projection> <servers>0,1,2,3</servers> <httpparam name=""></httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource>
- Spanish IGN
<onlinemapsource uid="514"> <name>Base IGN (ES)</name> <url><![CDATA[http://www.ign.es/wmts/ign-base?request=getTile&layer=IGNBaseTodo&TileMatrixSet=GoogleMapsCompatible&TileMatrix={$z}&TileCol={$x}&TileRow={$y}&format=image/jpeg]]></url> <website><![CDATA[<a href="https://www.cnig.es/" target="_blank">Centro Nacional de Información Geográfica (ES)</a>]]></website> <minzoom>1</minzoom> <maxzoom>18</maxzoom> <projection>MERCATORESFERICA</projection> <servers></servers> <httpparam name="User-Agent">{om}</httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource> <onlinemapsource uid="515"> <name>PNOA IGN (ES)</name> <url><![CDATA[http://www.ign.es/wmts/pnoa-ma?request=getTile&layer=OI.OrthoimageCoverage&TileMatrixSet=GoogleMapsCompatible&TileMatrix={$z}&TileCol={$x}&TileRow={$y}&format=image/jpeg]]></url> <website><![CDATA[<a href="https://www.cnig.es/" target="_blank">Centro Nacional de Información Geográfica (ES)</a>]]></website> <minzoom>1</minzoom> <maxzoom>18</maxzoom> <projection>MERCATORESFERICA</projection> <servers></servers> <httpparam name="User-Agent">{om}</httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource> <onlinemapsource uid="516"> <name>Raster IGN (ES)</name> <url><![CDATA[http://www.ign.es/wmts/mapa-raster?request=getTile&layer=MTN&TileMatrixSet=GoogleMapsCompatible&TileMatrix={$z}&TileCol={$x}&TileRow={$y}&format=image/jpeg]]></url> <website><![CDATA[<a href="https://www.cnig.es/" target="_blank">Centro Nacional de Información Geográfica (ES)</a>]]></website> <minzoom>1</minzoom> <maxzoom>18</maxzoom> <projection>MERCATORESFERICA</projection> <servers></servers> <httpparam name="User-Agent">{om}</httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> <maxtilesday>0</maxtilesday> <maxthreads>0</maxthreads> <xop></xop> <yop></yop> <zop></zop> <qop></qop> <sop></sop> </onlinemapsource>
MOBAC
Runs on computer to allow creation of offline maps, that can be used then with OruxMaps for instance.
Additional sources
- IGN (
geoportail.ksh
)name = "IGN Geoportail maps"; tileType = "jpg"; tileSize = 256; minZoom = 0; maxZoom = 18; tileUpdate = TileUpdate.IfModifiedSince; backgroundColor = "#ffffff"; ignoreError = "False"; String getTileUrl( int zoom, int x, int y ) { return "http://gpp3-wxs.ign.fr/tyujsdxmzox31ituc2uw0qwl/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM&TILEMATRIX=" + zoom + "&TILEROW=" + y + "&TILECOL=" + x; } void addHeaders( java.net.HttpURLConnection conn) { conn.addRequestProperty("Referer","http://geoportail.gouv.fr"); conn.addRequestProperty("User-Agent","Mozilla/5.0 (X11; Windows) Chrome/38.0.2125.101"); }
Geocaching
- www.geocaching.com : main website to find caches
- http://gctour.madd.in : greasemonkey script to get additional features on geocaching.com (easy download of geocaches with full description). Had to apply the following modifs to make gpx download work:
2773c2773 < date_format = $('select#ctl00_ContentBody_uxDateTimeFormat option:selected', response_div).val(); --- > date_format = "MM/dd/yyyy";
- Perl script to convert the gpx to be displayed in OruxMaps (inspired from this script) (
perl gs2gpx.pl file.gpx
):open INF,"@ARGV[0]"; @gpx = <INF>; close INF; open OUTF,">@ARGV[0].out.gpx"; $size = $#gpx + 1; while ($x < $size){ print OUTF "$gpx[$x]"; if ($gpx[$x] =~ /<wpt.*>/){ #$y=<STDIN>; until ($gpx[$x] =~ /<\/wpt>/){ $wpt .= $gpx[$x]; $x++; } $x--; $wpt =~ /<time>(.*?)<\/time>/xsi; $time = $1; $wpt =~ /<name>(.*?)<\/name>/xsi; $name = $1; $wpt =~ /<desc>(.*?)<\/desc>/xsi; $desc = $1; $wpt =~ /<url>(.*?)<\/url>/xsi; $url = $1; $wpt =~ /<urlname>(.*?)<\/urlname>/xsi; $urlname = $1; $wpt =~ /<type>(.*?)<\/type>/xsi; $type = $1; $wpt =~ /<sym>(.*?)<\/sym>/xsi; $sym = $1; $wpt =~ /<groundspeak:name>(.*?)<\/groundspeak:name>/xsi; $gsname = $1; $wpt =~ /<groundspeak:type>(.*?)<\/groundspeak:type>/xsi; $gstype = $1; $wpt =~ /<groundspeak:container>(.*?)<\/groundspeak:container>/xsi; $gscontainer = $1; $wpt =~ /<groundspeak:difficulty>(.*?)<\/groundspeak:difficulty>/xsi; $gsdifficulty = $1; $wpt =~ /<groundspeak:terrain>(.*?)<\/groundspeak:terrain>/xsi; $gsterrain = $1; $wpt =~ /<groundspeak:short_description.*?>(.*)<\/groundspeak:short_description>/xsi; $gsshort_description = $1; $wpt =~ /<groundspeak:long_description.*?>(.*)<\/groundspeak:long_description>/xsi; $gslong_description = $1; $wpt =~ /<groundspeak:encoded_hints>(.*?)<\/groundspeak:encoded_hints>/xsi; $gsencoded_hints = $1; $wpt =~ /<groundspeak:logs>(.*?)<\/groundspeak:logs>/xsi; $gslogs = $1; $wpt =~ /<groundspeak:attributes>(.*?)<\/groundspeak:attributes>/xsi; $gsattrs = $1; $gsencoded_hints =~ s/\n//g; $break = "<br /><br />\n------------------------------\n<br /><br />\n"; $hbreak = "<br />\n"; $gslogs =~ s/<\/.*?>/$hbreak/g; $gslogs =~ s/<.*?>//g; $gsattrs =~ s/<\/.*?>/ ; /g; $gsattrs =~ s/<.*?>//g; print OUTF "<name>$name $gsname</name>\n". "<time>$time</time>\n". "<url>$url</url>\n". "<urlname>$urlname</urlname>\n". "<type>$type</type>\n". "<sym>$sym</sym>\n". "<desc>\n". $break. "Type $gstype ; Size $gscontainer ; Difficulty $gsdifficulty ; Terrain $gsterrain\n". $hbreak.$hbreak. "$gsattrs\n". $break. "$gsshort_description\n". $break. "Hint: $gsencoded_hints\n". $break. "$gslong_description\n". $break. "$gslogs\n". $break. "</desc>\n"; $wpt=""; } $x++; } close OUTF;
Pyrenees-refuges.com
Get a GPX file of all the refuges : www.pyrenees-refuges.com/google/base2bayo.php. Be careful, there may be “&” characters that render the file ill-formated.