Author Topic: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)  (Read 71543 times)

Offline marlar

  • More than Newbie
  • *
  • Posts: 82
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 18.4.2011)
« Reply #15 on: April 18, 2011, 20:07:19 »
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Minjin

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 18.4.2011)
« Reply #16 on: April 19, 2011, 21:24:19 »
Hi,

It seems your example works only with zoom 14 to 19 (in locus). Is that correct ?

Do you have more information about custom providers ?

I'm trying to create my own but it's not working yet.  :(

Thanks for the good job.

Locus pro 1.5.1
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 9859
  • Thanked: 43 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 18.4.2011)
« Reply #17 on: April 19, 2011, 21:45:49 »
hmm I hope that posted example is fully working :) you should send me PM with your example and I'll look at it ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline userloser

  • More than Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 18.4.2011)
« Reply #18 on: April 20, 2011, 11:18:01 »
And, in other news, someone has posted several working examples of providers on the xda developers forum! Using them you can even run your own map server that work very well with 1.5.2. The examples are a great learning tool indeed ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline xxc

  • More than Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 18.4.2011)
« Reply #19 on: April 20, 2011, 16:27:21 »
Thanks for this great app !
Is it possible to display two layers, one background, the other with a defined opacity (or even better, a slider to change the opacity) ?
Vince
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline torayoko

  • Newbie
  • *
  • Posts: 7
    • View Profile
Adding some korea map...
« Reply #20 on: April 21, 2011, 06:50:37 »
Hi menion. Could you offer some korea maps?
1. DAUM map (http://local.daum.net)
2. NAVER map (http://map.naver.com)

The biggest problem is that, these maps doesn't use wgs84 coordinate. it uses TM, KATEC coordinate.
but it seems like there is a solution.
http://code.google.com/r/swkim01-osmand/source/browse/
This is OsmAnd Korea map sources. so you can consult this one.

Tile url : DataExtractionOSM/src/net/osmand/map/TileSourceManager.java
Coordinate transformation : DataExtactionOSM/src/net/osmand/osm/GeoPoint.java, GeoTrans.java, MapUtils.java(wgs84), DaumMapUtils.java(ă…‡DAUM map-TM), NaverMapUtils.java(NAVER map-KATEC)

Of course, I got developer's consent to use this sources to put in LOCUS. I hope you consider this...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 9859
  • Thanked: 43 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #21 on: April 21, 2011, 11:56:29 »
hmm very interesting, so this is the projection I cannot figure out. Thanks :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline mickey_megabyte

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #22 on: April 22, 2011, 16:57:20 »
ok, i'm a noob when it comes to online maps, but i'm comfortable mucking around with xml files.

one of the online maps in oruxmaps is "streetview 1:10000 (UK)"

i am interested in adding this map source to my locus pro, but i don't know where to start!

is this possible to add this source to berkley's providers.xml, and please could somebody help me start.

thanks in advance.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jt12345

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #23 on: April 25, 2011, 01:42:03 »
Hi all.

First, thank you for this excellent android app - I think that it's the best mapping software available for my HTC phone.

I am trying to create a provider file for the multimap tile server. I have several example URLs such as:

http://mc2.tiles-cdn.multimap.com/ptile ... 1331/1.png
http://mc1.multimap.com/ptiles/map/mi90 ... 31/311.png
http://mc1.tiles-cdn.multimap.com/ptile ... 00/100.png

but I'm not yet sure exactly how these URLs are constructed. I do, however, have some example java code which can do the contruction here (it's in the MultimapCom class): http://kenai.com/projects/bgct/lists/co ... message/11

Is there anyone who could give me a suggestion as to what I need to add to my providers.xml file to get the tiles appearing in Locus?

Thank you in advance for any help you can offer.

Jaime
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tipichris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #24 on: April 25, 2011, 21:54:32 »
Jaime

The URLs you give look like they contain 'quadkeys', as in Locus type 5, but split up into a directory structure. There may be alternative URLs, eg

http://ecn.t0.tiles.virtualearth.net/ti ... ctSet=mmCB
http://ecn.t0.tiles.virtualearth.net/ti ... ctSet=mmOS

Using type 5 these can be constructed something like
Code: [Select]
http://ecn.t0.tiles.virtualearth.net/tiles/r{c}.png?g=677&productSet=mmOS
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tipichris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #25 on: April 25, 2011, 21:56:32 »
Hi Menion

Is there any way to tell Locus not to cache tiles, or to cache for only a limited period? For example, I would like to try adding some traffic information, but obviously this changes quickly so I would need to disable, or limit, caching.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tipichris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #26 on: April 25, 2011, 22:52:02 »
Quote from: "mickey_megabyte"
one of the online maps in oruxmaps is "streetview 1:10000 (UK)"

That's interesting. These appear to be the Ordnance Survey Street View mapping. This is published under the OS Open Licence, which is aligned with the Creative Commons Attribution licence. So in licencing terms it should be possible for Locus to include this in its distribution, with some attribution. The tiles have been reprojected to suit the Open Street Map system and are available at http://os.openstreetmap.org/. A suitable stanza for providers.xml seems to be

Code: [Select]
<provider id="10200" type="0" visible="true" required="true" background="-1">
<name>OS Street View</name>
<mode>Classic</mode>
<url><![CDATA[http://a.os.openstreetmap.org/sv/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>14</zoomMin>
<zoomMax>25</zoomMax>
<tileSize>256</tileSize>
  <extraHeader>Referer#http://os.openstreetmap.org/</extraHeader>
</provider>
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline mickey_megabyte

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #27 on: April 29, 2011, 16:46:35 »
wow - thanks a lot tipichris - that worked a treat!   :D sorry i've been away for a few days and not had chance to visit here recently.

yes, they are very highly detailed uk maps - they even show a little island in a pond in my garden that is just about big enough for two people to stand on  :)

i happened to be in a fire engine the other day and noticed they were using this map on their fancy gps system (with extra overlays for hydrants and other firey things).

good to know that they are under the OS open licence too!

maybe menion would consider adding this source to locus in the future?

once again, thanks for your help tipichris - much much appreciated.  8-)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline petepewter

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #28 on: May 05, 2011, 02:48:38 »
Excellent thanks tipichris.
Looking at the OS website, http://http://www.ordnancesurvey.co.uk/oswebsite/products/os-opendata.html , they have also included many other map types, including the 1:50 000 series. Are there variations on the xml above that will give access to the other types? I downloaded an OS map demo someone had made, but it wasn't a patch on Locus, except it has the OS map. But as you zoomed out from the Open Street map, it swaps to the 1:50 000 series. At the same time, my mate downloaded an OS map for the iPad, with offline storage and 3D views. Very nice.

Thanks for a great app as well menion.

I was going to report some large gaps in the locus version of the open street map, but I've just spotted they are present on OS website version as well, so not a problem with the provider file.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tipichris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #29 on: May 05, 2011, 09:53:53 »
The opendata 1:50,000 mapping is not the OS Landranger maps that we all know and love. I'm also not aware of it having been reprojected in a way that is usable by Locus, unlike the Streetview data (but see here for a demo of using the data).

Locus used to include OS Landranger and Explorer maps but had to withdraw them because of copyright issues. You may find an addon in the market that puts these maps back. Just to look at with your browser, you can find these map series on Bing maps.
« Last Edit: January 01, 1970, 01:00:00 by Guest »