Next revision
|
Previous revision
|
software:mapping [2015/07/18 08:12] cyril created |
software:mapping [2015/07/19 09:50] (current) cyril |
====== OruxMaps ====== | ====== Mapping and GPS ====== |
| |
===== Additional sources ===== | ===== OruxMaps ===== |
| |
<code> | The almost perfect GPS/Mapping Android application, for browsing maps and recording tracks. |
| |
| ==== Additional sources ==== |
| |
| * IGN :<code xml> |
| <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> |
| </code>Old variant:<code xml> |
| <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> |
</code> | </code> |
| |
====== Geocaching ====== | * Google :<code xml> |
| <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> |
| </code> |
| |
| * Spanish IGN<code xml> |
| <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> |
| </code> |
| |
| ===== MOBAC ===== |
| |
| http://mobac.sourceforge.net |
| |
| Runs on computer to allow creation of offline maps, that can be used then with OruxMaps for instance. |
| |
| ==== Additional sources ==== |
| |
| * IGN (''geoportail.ksh'')<code java> |
| 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"); |
| } |
| </code> |
| |
| |
| ===== Geocaching ===== |
| |
* www.geocaching.com : main website to find caches | * www.geocaching.com : main website to find caches |
> date_format = "MM/dd/yyyy"; | > date_format = "MM/dd/yyyy"; |
</code> | </code> |
* Perl script to convert the gpx to be displayed in OruxMaps (inspired from [[http://oruxmaps.forosactivos.net/t1924-geocaching-with-pocket-queries|this script]]): <code perl> | * Perl script to convert the gpx to be displayed in OruxMaps (inspired from [[http://oruxmaps.forosactivos.net/t1924-geocaching-with-pocket-queries|this script]]) (''perl gs2gpx.pl file.gpx''): <code perl> |
open INF,"@ARGV[0]"; | open INF,"@ARGV[0]"; |
@gpx = <INF>; | @gpx = <INF>; |
close OUTF; | close OUTF; |
</code> | </code> |
| |
| |
| ===== 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. |
| |