Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - john_percy

#1066
Maps / Re: [Overlay] Google Traffic Overlay
September 16, 2013, 10:59:06
Hint: Set "Valid for" to 0 hours
#1067
Maps / Re: [Overlay] Google Weather Icon Overlay
September 16, 2013, 10:41:46
If you set the "Valid for" to zero for the above, then the satellite image has to be loaded every time, which won't help your bandwidth!
In the overlay version some posts previously, the icons enlarge ridiculously past zoom 6, so how about an overlay like this:
    <provider id="11711" type="0" visible="false" background="-1">
        <name>Overlays</name>
        <mode>Clouds</mode>
        <url><![CDATA[http://mts{s}.google.com/vt/x={x}&y={y}&z={z}&lyrs=weather_0cloud]]></url>
        <serverPart>0;1</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>14</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2011 Google - Map data (c)2011 Tele Atlas]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>
    <provider id="11712" type="0" visible="true" background="11711">
        <name>Overlays</name>
        <mode>Weather - Clouds and Icons</mode>
        <url><![CDATA[http://mts{s}.google.com/mapslt?x={x}&y={y}&z={z}&lyrs=weather_c_kph|invert:0]]></url>
        <serverPart>0;1</serverPart>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>8</zoomMin>
        <zoomMax>23</zoomMax>
        <tileSize>256</tileSize>
        <attribution><![CDATA[(c)2011 Google - Map data (c)2011 Tele Atlas]]></attribution>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
        <extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
    </provider>

Clouds only appear up to zoom 6, which seems the most usable arrangement, as they then do not obscure map detail when you want it.
The "Clouds" layer 11711 in my code above does not appear in the Locus menu, but is used to build the overlay.
PS It might be best to set "Valid for" to 1 hour in any case, as weather really doesn't change that quickly, even in England.
#1068
 :) And now working for me. Thanks
#1069
Maps / Re: [Overlay] Google Weather Icon Overlay
September 10, 2013, 19:47:08
Me too. No clouds with this xml file, I'm afraid.

The good news is that the latest version of Locus works with the overlays at all zooms. So the clouds are zoom with the map (fine) and the  icons similarly (not so fine, but useful)

#1070
Quote from: menion on September 06, 2013, 12:56:09
@kech: really? damn .. I hoped all is tested and working. Hmm ... oki, I'll look at it
Centred captions worked on one of the beta test versions, then went so swiftly I thought it was a dream.
#1071
Quote from: john_percy on August 27, 2013, 18:11:59
Which items of text are now centred?
@Menion: If only Netherlands cycle nodes have been centred, can you please look at the default alignment of captions generally.
The attachments (I can't get them to show inline on this new forum) show text alignment on Locus default theme compared to an OSM rendering.
OSM centres the caption and puts it under the icon. Locus left aligns the text and starts it centrally under the icon which loses some of the text of the caption. OSM is better.

Edit: Found how to add images to the post!

#1072
Which items of text are now centred?
#1073
Quote from: "menion"funny discussion .. where is point? Settings a panel is simple .. all buttons that are already visible on top or right panel, cannot be added twice!! So if you want a compass at top and this button is already at right panel, you firstly need to remove it from right panel.
I worked that out, and I can understand why, but it wasn't obvious to me at first.
#1074
Themes - Vector maps / Re: [Themes] V-Scale
August 09, 2013, 16:17:51
Quote from: "voldapet"Hi,
do have any example (coordinates) for Locus internal themes, please? I've checked your example with major power lines and they seem OK for internal theme with England map.
At N 52°10.877' W 01°00.130' the minor ticks (blobs) disappear at zoom 20 and above, and the major ticks disappear at zoom 22 (using internal Hiking theme and England map).
Exactly what happens seems to depend on the tile (probably not the orientation of the power line as I first thought) but for most tiles, the minor ticks (blobs) disappear at zoom 22. For example, at zoom 20 at N 52°11.244' W 01°00.538' (where tiles seem to join) the minor ticks are visible on the portion of the power line to the NW, but not to the SE at zoom 20. At that location, at zoom 22, minor ticks disappear on the NW section of the power line and both major and minor ticks disappear on the SE section.
[attachment=0:fj0bw9an]2013-08-09 15.14.07.jpg[/attachment:fj0bw9an]
#1075
Themes - Vector maps / Re: [Themes] V-Scale
August 09, 2013, 10:53:11
The points illustrated above are: N 52° 10.877' W 01° 00.129' and N 52° 10.574' W 00° 59.969'

The similar problem occurs with the Locus England map and the Locus built in Hiking & Cycling themes, which display major power lines (though I initially thought they did not).
#1076
Themes - Vector maps / Re: [Themes] V-Scale
August 09, 2013, 09:01:04
I've posted a message about a display bug which shows up on high zooms with power lines here: //http://forum.locusmap.eu/viewtopic.php?f=25&t=3292&start=40#p22857

I edited the power lines section as a workaround:
      <!-- power lines  -->
       <rule e="way" k="power" v="*">
          <rule e="way" k="power" v="line" zoom-max="16">
             <line stroke="#799079" stroke-width="1.2" stroke-dasharray="3,44" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.2" stroke-dasharray="3,7,30,7" stroke-linecap="butt" />
          </rule>
          <rule e="way" k="power" v="line" zoom-min="17" zoom-max="19">
             <line stroke="#799079" stroke-width="0.8" stroke-dasharray="6,65" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.2" stroke-dasharray="6,10,45,10" stroke-linecap="butt" />
          </rule>
          <rule e="way" k="power" v="line" zoom-min="20">
             <line stroke="#799079" stroke-width="0.6" stroke-dasharray="9,88" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.2" stroke-dasharray="9,14,60,14" stroke-linecap="butt" />
          </rule>
          <rule e="way" k="power" v="minor_line" zoom-max="16">
             <line stroke="#799079" stroke-width="1.0" stroke-dasharray="3,32" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.15" stroke-dasharray="3,6,4,4,4,4,4,6" stroke-linecap="butt" />
          </rule>
          <rule e="way" k="power" v="minor_line" zoom-min="17" zoom-max="19">
             <line stroke="#799079" stroke-width="0.7" stroke-dasharray="6,48" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.15" stroke-dasharray="6,9,6,6,6,6,6,9" stroke-linecap="butt" />
          </rule>
          <rule e="way" k="power" v="minor_line" zoom-min="20">
             <line stroke="#799079" stroke-width="0.5" stroke-dasharray="9,64" stroke-linecap="butt" />
             <line stroke="#799079" stroke-width="0.15" stroke-dasharray="9,12,8,8,8,8,8,12" stroke-linecap="butt" />
          </rule>
       </rule>  
#1077
I don't know if you class this as a display bug, but on vector maps, short elements of dotted lines may disappear for certain angles at high zoom. For example, using a V-Scale theme to display OpenAndromaps Great Britain map, the short elements of power lines disappear on sections where the lines run close to 45 degrees. I know this is not a Locus built-in theme nor a Locus Store map, that's why I am slightly hesitant about flagging it here - but as far as I can see it is a display bug in Locus. [attachment=1:k2pnprjp]2013-08-07 23.06.56.jpg[/attachment:k2pnprjp][attachment=0:k2pnprjp]2013-08-07 23.05.56.jpg[/attachment:k2pnprjp]

Edit: The points illustrated above are: N 52° 10.877' W 01° 00.129' and N 52° 10.574' W 00° 59.969'. A similar problem occurs with the Locus England map and Locus built-in Hiking & Cycling themes, which display major power lines, though I initially thought they did not.
#1078
Quote from: "menion"And about new offline pois ... Which points are displayed depend just on vector theme. So if you select theme where aren't gas stations, you'll not see gas stations ...
So, if the map and the poi file have the same name, so the the pois are displayed automatically, I am meant to get gas stations twice - once from the map & theme and once from the database?
Also [bug], the database poi symbols are not scaled when the vector map is scaled.
#1079
Maps / Re: Need Help 4 Vector Maps
August 02, 2013, 17:04:28
Whatever kech61 has done for his server, it didn't work properly for me, and it was only after I cleared the browser cache and restarted that I managed to get the latest map on download. (And yes, I also cleared the download folder.) This happened more than once for me, and on more than one updated map, so I know it's true!
#1080
Maps / Re: Need Help 4 Vector Maps
August 01, 2013, 16:28:25
Quote from: "loc-us"i had downloaded the vector-maps a different times and always the same problem.
Have you cleared your browser cache and restarted the browser? It may be obvious but it's caught me out before now.