Re: [Talk-in] Corrected Indian border not working at zoom level 3 and below

2017-01-17 Thread Anish Mangal
I think that is because at the low zoom level, mapnik uses some shp files
pertaining to borders and render. You probably again need to change the
style file to fix this.

On Tue, Jan 17, 2017 at 2:57 PM, VAMO Systems  wrote:

> Hi All
>
> I have customized (corrected) Indian border as Anish document. Its working
> fine but only at higher zoom level.
>
> At zoomed out level (level 3 and below) its not working. Any help?
>
> Here the access to our server
>
> http://207.154.194.241/lf.html
>
>
>
> Best Regards,
> Prasanna K Ram
> Director - Product Engineering
> VAMO Systems Private Limited 
> 2nd Floor, New No 21/Old No 8,
> 86th street, Ashok Nagar
> Chennai, TamilNadu, India,600083
> Mobile: +91-9840898818 <+91%2098408%2098818>
> Email: p...@vamosys.com
> twitter: @gps_vamosystems
> Skype: pkram76
>
>
> ___
> Talk-in mailing list
> Talk-in@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-in
>
>


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


[Talk-in] (probably) the world's highest solar wifi mesh network & offline OSM tileserver

2016-09-26 Thread Anish Mangal
Hi,

Wanted to share a bit about what me and a friend have been upto in Leh this
summer. There is an offline content server, which includes among other
things, OSM tiles pregenerated, and a wifi mesh network.

Hope to add more capability to the mapping platform in the future. Right
now, it is just a set of prerendered tiles and a search interface for
geolocations.

https://medium.com/@skynet.admin/things-i-learned-building-skynet-3033a4ce8992#.s38i9d3hr

We will continue documenting this to make it easy for others to deploy this
and similar technology.

Cheers,
Anish

P.S. Ignore the first para please :-)
___
Talk-in mailing list
Talk-in@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-in


Re: [Talk-in] Multilingual name tagging convention in India

2016-07-21 Thread Anish Mangal
Interesting discussion. Currently it seems the name tag by default may
not be English in some places (in India) and the name:en tag may not
exist.

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

The ordering of labels was
COALESCE(tags->'name:en', tags->'name:hi', tags->'int_name', name)

So, in some cases name:en doesn't seem to exist (or maybe I'm wrong?)

On 7/21/16, Arun Ganesh  wrote:
> Some time back, I did some quick research on how we officially recorded the
> names of places in India, might be an interesting read:
> https://gist.github.com/planemad/decdf608776726de1007
>
> Related projects that could help expand language coverage in India is
> attempting latin to indic language and cross indic language
> transliterations:
> - https://github.com/wikimedia/jquery.ime/tree/master/rules
> - http://libindic.org
>
> On Thu, Jul 21, 2016 at 12:01 PM, Arun Ganesh 
> wrote:
>
>> Its surprising we all agree that using the latin script as default for
>> local names throughout the country is most usable. Wish we had more
>> perspectives from rural users of the map, but I guess at the moment we
>> have
>> not reached there.
>>
>> This issue would come up again if that happens and local scripts are used
>> for the default over latin, something similar is already happening in
>> Bangladesh http://www.openstreetmap.org/#map=11/23.1262/89.1843
>>
>> For now, I guess lets freeze on the latin alphabet as default for all
>> urban areas of the map. To sum up:
>>
>> - The default `name` of a feature is that name and spelling that is
>> recognized by the local public, preferably recorded in the latin script
>> for
>> data consistency throughout the country. Use a localized script only if
>> there is no recognized latin spelling for the name
>> - The localized spellings and scripts should be added in the
>> corresponding
>> `name:lang` tags
>> - Due to complications arising over the ordering of multiple languages
>> and
>> scripts in a label, no `name` tag should contain more than one variation
>> of
>> the name, use a different tag for each variation
>>
>> If no major corrections, I can add it to the wiki this week and we can
>> make changes there.
>>
>> On Thu, Jul 14, 2016 at 3:59 PM, Arun Ganesh 
>> wrote:
>>
>>> Moved some old instructions for setting up a tileserver that Johnson
>>> wrote to https://github.com/osm-in/tileserver
>>>
>>> Anyone interested in setting up a custom tileserver with Indic language
>>> rendering, please feel free to expand.
>>>
>>> On Thu, Jul 14, 2016 at 12:16 AM, Chetan H A 
>>> wrote:
>>>
 I totally agree to follow current convention we have now. Multilingual
 names can't be supported in India. We have 22 official languages in
 India
 and If every language names were added with English names will clutter
 the
 map. It's good to add separately using " name:lang=* " tag.
 http://taginfo.openstreetmap.in/search?q=name%3A

 Best,
 Chethan

 On Tue, Jul 12, 2016 at 4:23 PM, Arun Ganesh 
 wrote:

> Not having map tiles available for the various languages is definitely
> a problem, which motivates one to tag in such a way just so that the
> local
> name is visible. Efforts to create an Indic language tileserver have
> not
> really taken off, and probably this is what we should reconsider with
> more
> seriousness.
>
> Experiments so far:
> - http://openstreetmap.in/demo.html
>  which is a
> little futuristic but very flexible for as many languages as possible.
> One
> blocker is that complex text shaping to render Indic scripts correctly
> is
> unknown when this will happen
> https://github.com/osm-in/openstreetmap.in/issues/14#issuecomment-193619651
> - http://mlm.jochentopf.com looks like a good experiment worth
> replicating, but there are not much details on how it was done
> - http://yogiks.github.io/osm-kn/map/ World Kannada map made by
> Yogesh. At the moment probably the most practical approach.
>
> If we have a regularly updated working demo of Indic language tiles
> for
> the major languages, this could better demonstrate the practical
> application of using the name tags correctly. Anyone have other
> experiments
> to share?
>
> On Tue, Jul 12, 2016 at 2:14 PM, Yogesh K S 
> wrote:
>
>> I too agree with keeping the current convention of name tags for
>> multilingual names. Belgium has just two languages and in context of
>> our
>> regional languages, first mapper rule can create conflicts as Arun
>> indicated previously. Perhaps we should try to improve the current
>> state of
>> multilingual names in India -
>> http://taginfo.openstreetmap.in/search?q=name%3A

Re: [Talk-in] Geospatial Information Regulation Bill propsal

2016-05-05 Thread Anish Mangal
The funny part is that the government bodies themselves seem to be excluded
from this proposed new "law"!

Don't know whether to laugh or cry.

I work in disseminating openstreetmap in offline environments in
educational setups in India, and having dealt with the government, I have
to generate tiles which show Kashmir and Arunachal "properly", otherwise
the said schools/administrations will simply refuse to have the maps at
all.


On Fri, May 6, 2016 at 8:31 AM, Ajay Shah  wrote:

> On 6 May 2016 at 01:30, Johnson Chetty  wrote:
>
>> Just my two cents:
>>
>> This is the Indian government trying to reduce the spread of information
>> that is non-conducive to national interests.
>>
>> However, OSM can dispute that our freedom of speech is being restrained.
>>
>
> There is no freedom of speech in the Indian Constitution. Please have no
> illusions on this score.
>
> --
> Ajay Shah
> ajays...@mayin.org
> http://www.mayin.org/ajayshah
> http://ajayshahblog.blogspot.com
>
> ___
> Talk-in mailing list
> Talk-in@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-in
>
>


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


[Talk-in] Offline metatiles for India

2015-12-24 Thread Anish Mangal
Hi,

Sharing the link just in case it may be of use to anyone on this channel.
http://home.braddock.com:28112/world-osmbright-0-10-india-11-15-india-borders.tar.gz
(57GB)

These are metatiles using OSM data, Natural earth data, and SRTM data (all
openly licensed). The tiles are for the globe upto zoom 10, and for India,
they are upto zoom 15. The styling is as follows:

Zooms 0-6. Natural earth data
Zooms 7-9. OSMBright + color relief + hillshade (from SRTM)
Zooms 10-15. OSMBright + hillshade + contours (from SRTM)

The labels are in english, and the kashmir border as per indian govt.
regulations.

Temporarily, a demo is available here:
http://home.braddock.com:28112/osm/slippymap.html

Best,
Anish
___
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-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] offline osm

2015-10-09 Thread Anish Mangal
GN,

Please see: http://www.xsce.org/wiki/generating_map_tiles
There is a temporary (for the next 1 hrs or so) tileserver here :
http://home.braddock.com:28112/osm/slippymap.html

I am almost done generating tiles for upto zoom level 16, and can share the
download link once it is done - if required.

Also, in the xsce community there is ongoing discussion on how to enable
local mappers. Please check this out
https://docs.google.com/document/d/1LWsN-cPH3lvMuXS-f0Tk8IWVh-3X808WoIt0OJ-QNt8/edit#

One possible solution is using umap[1], but I haven't gotten around to
testing it because I have limited bandwidth. It's a django app and looks a
good fit for offline editing needs.
http://umap.fluv.io/

Also, if you can get the bhuvan imagery, please share if possible. Another
idea is using the ASTER data (topography), which would be especially useful
in mountainous terrain.

Regards,
Anish



On Fri, Oct 9, 2015 at 3:36 PM, GN  wrote:

> Dear map hackers!
>
> we urgently need an offline mapping to work on school servers that are not
> always connected to the Internet.  We are going to do mapping in more than
> 1000 schools in the coming two years.  For each of the areas where the
> schools are located, we would like to get the satellite maps from
> ISRO/Bhuvan, if possible.
>
> Please suggest how we can do this? any volunteers who would like to create
> a docker image for this purpose.
>
> --
> GN
>
>
> ___
> Talk-in mailing list
> Talk-in@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-in
>
___
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