Re: [Talk-in] Hello! and offline OSM maps for India in Hindi

2015-10-18 Thread Anish Mangal
The experimentation was paused for a few days as a failing hard disk was
being replaced. If anyone wants to download generated tiles for offline
usage, you can find sets here:
http://home.braddock.com:28112/

The names of the .tar.gz files should convey the type of tileset. Eg:

world-osmbright-0-11-hi-india-borders.tar.gz

are tiles for the entire world in the OSMBright style from zoom levels
0-11, with hindi language lables wherever available and india specific
borders (kashmir, arunachal etc.)

the india specific tilesets are available upto higher zooms, so one could
atleast in theory, combine the world tiles till zoom 11 and use the india
specifc ones for higher levels.

next step is to have a base layer set without labels and overlay that with
tiles consisting just labels. haven't had the time to play around with the
xml for that.

In 2-3 weeks we should be at a stage to provide tilesets with custom
settings : lang, regions etc.

If you feel like jumping in and helping, pl do get in touch :-) The next
step is to allow basic GIS through the available open-source tools.
(currently looking at umap, openlayers, leaflet etc.)



On Fri, Oct 9, 2015 at 11:15 AM, Arun Ganesh 
wrote:

>
> If not, this will result in savings only while generating the tiles in
>> both rendering time and space. Deployments will likely use only their
>> specific language tiles. Nevertheless, this looks to be a promising way of
>> setting things up. I'm guessing leaflet or similar won't have any issue
>> displaying multiple layers on top of one another, and the additional cpu
>> costs of doing so would not be so great.
>>
>
> Yup, overlaying multiple transparent tilesets is quite trivial. You can
> already see it in action on openstreetmap.in when you enable overlays
> from the switcher on the left.
>
> --
> Arun Ganesh
> (planemad) 
> 
>
___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in


Re: [Talk-in] Hello! and offline OSM maps for India in Hindi

2015-10-08 Thread Arun Ganesh
> If not, this will result in savings only while generating the tiles in
> both rendering time and space. Deployments will likely use only their
> specific language tiles. Nevertheless, this looks to be a promising way of
> setting things up. I'm guessing leaflet or similar won't have any issue
> displaying multiple layers on top of one another, and the additional cpu
> costs of doing so would not be so great.
>

Yup, overlaying multiple transparent tilesets is quite trivial. You can
already see it in action on openstreetmap.in when you enable overlays from
the switcher on the left.

-- 
Arun Ganesh
(planemad) 

___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in


Re: [Talk-in] Hello! and offline OSM maps for India in Hindi

2015-10-08 Thread Anish Mangal
That sounds like a neat idea. I've raised a question in the xsce community
whether individual deployments would require maps in two or more languages.
Conveniently, we have a call discussing this with various deployers and
developers in two days' time[1].

If not, this will result in savings only while generating the tiles in both
rendering time and space. Deployments will likely use only their specific
language tiles. Nevertheless, this looks to be a promising way of setting
things up. I'm guessing leaflet or similar won't have any issue displaying
multiple layers on top of one another, and the additional cpu costs of
doing so would not be so great.

[1] http://tinyurl.com/xsceminutes

--
Anish


On Fri, Oct 9, 2015 at 1:06 AM, Arun Ganesh  wrote:

> So awesome to see this happening, Anish. The multilingual tiles is going
> to be quite a challenge especially if constrained by server resources as
> you would need to generate a different version of the tile for each
> language, and that can quickly multiply your storage and rendering
> requirements.
>
> One approach might be to render different versions of transparent label
> tiles that can be overlayed on base map tiles based on the language you
> choose. Have not seen a reasonable solution to this in the past.
>
> --
> Arun Ganesh
> (planemad) 
> 
>
___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in


Re: [Talk-in] Hello! and offline OSM maps for India in Hindi

2015-10-08 Thread Arun Ganesh
So awesome to see this happening, Anish. The multilingual tiles is going to
be quite a challenge especially if constrained by server resources as you
would need to generate a different version of the tile for each language,
and that can quickly multiply your storage and rendering requirements.

One approach might be to render different versions of transparent label
tiles that can be overlayed on base map tiles based on the language you
choose. Have not seen a reasonable solution to this in the past.

-- 
Arun Ganesh
(planemad) 

___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in


[Talk-in] Hello! and offline OSM maps for India in Hindi

2015-10-08 Thread Anish Mangal
Hi,

This is my first email to this list so here's a short introduction

I am a free-software and open-education volunteer mainly working on
the XSCE[1][2] (short for School Server Community Edition) project. I've
volunteered for the OLPC project[3] from 2010-2014 and worked in the
field in Paraguay and Uruguay, and helped develop the Australian
version of  OLPC's OS.

At XSCE, we are a active global volunteer community working to foster
grassroots learning and education in the remotest corners of the
world. Right now our model of implementation is to have offline
content-loaded servers hosted in schools and villages providing access
to media and collaboration tools. If there is internet connectivity,
the server becomes a gateway. We have pilots in Haiti, India, Ghana,
Nepal and a few other places.

-

Coming to the subject, as part of the XSCE content distribution, we
include OSM tiles for offline usage. Lately, I was experimenting with
generating tiles specific to India, there were a few issues:

- Kashmir, and other disputed borders.
- Maps localized in Hindi, or other Indian languages.

So, with the help of the OSM community (including Arun, who pointed me
to this list), I was able to work around those issues. The notes are
documented here.

http://xsce.org/wiki/generating_map_tiles

A temporary rendering server is here

http://home.braddock.com:28112/osm/slippymap.html

If anyone's interested I can post the links to download the rendered
tiles when the rendering is complete upto zoom level 17. Currently at
zoom level 16.

There are still some issues I will work towards. The hindi fonts in
general seem a bit smaller than their english counterparts, and the idea
to use transliteration to convert tags for there is no hindi translation.

Anyway, thought I'd share with the list, and also leave a pointer to the
XSCE project. We hope to begin many new deployments in India, Bhutan,
Nepal, Nicaragua & Haiti over the next 6 months working with various
volunteer groups.

[1] http://xsce.org  (wip frontpage)
[2] http://schoolserver.org (ugly wiki) :-)
[3] http://laptop.org

Cheers,
Anish

___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in