OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

OpenSeaMap

4 posters

Go down

OpenSeaMap Empty OpenSeaMap

Post  snowprog Wed Jun 06, 2012 4:42 pm

Hello!
Is it possible to include OpenSeaMap in the Online Maps? The only way i found to integrate it was over MOBAC.
Greetings

snowprog

Cantidad de envíos : 1
Fecha de inscripción : 2012-06-06

Back to top Go down

OpenSeaMap Empty Re: OpenSeaMap

Post  Mean Fri Jun 08, 2012 9:03 am

You should be able to add it by editing the onlinemapsources.xml file. Should look something like this.

<onlinemapsource uid="19">
<name>Open Sea</name>
<url><![CDATA[http://a.tile.openstreetmap.org/{$z}/{$x}/{$y}.png]]></url>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop>0</yop>
<zop></zop>
<qop></qop>
</onlinemapsource>

Mean

Cantidad de envíos : 10
Fecha de inscripción : 2011-12-27

Back to top Go down

OpenSeaMap Empty Galaxy S II card sync problem

Post  sinbad7 Mon Jun 18, 2012 1:11 pm

I have edited the ´onlinemapsources.xml´ to include also OpenSeaMap on my desktop PC but my Galaxy S II smartphone
does not sync the change. I have the sync setting set to sync ALL but I don´t know if this also includes my card ´drive´.

Suggestions anyone?

Tore

sinbad7

Cantidad de envíos : 16
Fecha de inscripción : 2012-06-18

Back to top Go down

OpenSeaMap Empty OpenSeaMap

Post  Mean Fri Jul 06, 2012 7:37 am

I finally tested this myself. Seems like the map gets jumbled up and the peaces dont end up in the right place. I noticed this happening when added the eniro maps also. But after changing the ID of the map solved it. Im not getting this map to work as intended. Maby someone else have an Ide?

Mean

Cantidad de envíos : 10
Fecha de inscripción : 2011-12-27

Back to top Go down

OpenSeaMap Empty OPENSEAMAP ON ORUXMAPS

Post  sinbad7 Fri Jul 06, 2012 1:43 pm

I just edited the onlinemaps.xml file as suggested but the maps are shown in fragmented pieces?
Suggestions anybody?

Tore

sinbad7

Cantidad de envíos : 16
Fecha de inscripción : 2012-06-18

Back to top Go down

OpenSeaMap Empty Re: OpenSeaMap

Post  steed Fri Aug 31, 2012 7:12 pm

Tore,

The map source above, using a.tile.openstreetmap.org, would contain only the base map from OpenStreetMap, and would not include the sea marks from OpenSeaMap.

OpenSeaMap has a tile server that can add sea marks on top of any base map, such as OpenStreetMap. This is bad news for OruxMaps, as its map sources are (still) limited to a single layer.

Here is a MOBAC map source for OpenSeaMap:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customMultiLayerMapSource>
    <name>OpenSeaMap</name>
    <tileType>PNG</tileType>
    <layers>
   <customMapSource>
       <name>OpenSeaMapBase</name>
       <minZoom>0</minZoom>
       <maxZoom>18</maxZoom>
       <tileType>png</tileType>
       <tileUpdate>None</tileUpdate>
       <url>http://{$serverpart}.tile.openstreetmap.org/{$z}/{$x}/{$y}.png</url>
       <serverParts>a b c</serverParts>
   </customMapSource>
   <customMapSource>
       <name>SeaMark</name>
       <minZoom>0</minZoom>
       <maxZoom>18</maxZoom>
       <tileType>png</tileType>
       <tileUpdate>None</tileUpdate>
      
       <!-- Ignore missing tiles where no sea marks are present -->
       <ignoreErrors>true</ignoreErrors>

       <!-- Transparent tiles instead of the missing tiles -->
       <backgroundColor>#00000000</backgroundColor>

       <url>http://tiles.openseamap.org/seamark/{$z}/{$x}/{$y}.png</url>
   </customMapSource>
    </layers>
</customMultiLayerMapSource>
Note the special handling of missing tiles where no sea marks exist.

Steed

steed

Cantidad de envíos : 21
Fecha de inscripción : 2012-05-22

Back to top Go down

OpenSeaMap Empty Re: OpenSeaMap

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum