[OSM-dev] Size difference between extracts from geofabrik and bbbike

2014-07-01 Thread amrit karmacharya
I used to download osm data for Nepal from BBBike.org. Recently Geofabrik has made extract of osm data for Nepal availble. I just observed that the data from bbbike is 19mb while from geofabrik is 25mb. Both are in osm.bz2 format. The area selected in bbbike is greater than the area in geofabrik,

[OSM-dev] Set configurations in JOSM advanced preferences

2014-06-18 Thread amrit karmacharya
I want to change some advanced JOSM preferences and i wanted to check if it'll have unintended consequences. As described here https://josm.openstreetmap.de/wiki/Help/Action/SimplifyWay I want to change value of simplify-way.max-error. but in JOSM advanced preferences, i cannot find that key. Is

Re: [OSM-dev] Set configurations in JOSM advanced preferences

2014-06-18 Thread amrit karmacharya
Thank you, i will not upload the changes. This is for reducing data size to use in other applications. On Wed, Jun 18, 2014 at 8:17 PM, Martin Koppenhoefer dieterdre...@gmail.com wrote: 2014-06-18 15:09 GMT+02:00 amrit karmacharya amrit...@gmail.com: Is it okay if i add it myslf? yes

[OSM-dev] How to Get full object of older versions?

2014-04-10 Thread amrit karmacharya
https://help.openstreetmap.org/questions/32257/how-to-get-full-object-of-older-versions ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev

[OSM-dev] existing object not found, 404 error

2014-03-31 Thread amrit karmacharya
i am trying to query this node* http://www.openstreetmap.org/node/2400031584 http://www.openstreetmap.org/node/2400031584*. it opens up in browser but on accessing with script at the url* http://api.openstreetmap.org/api/0.6/node/24000315844/ http://api.openstreetmap.org/api/0.6/node/24000315844/*

Re: [OSM-dev] existing object not found, 404 error

2014-03-31 Thread amrit karmacharya
Thank you, it was a string concatenation error. On Mon, Mar 31, 2014 at 3:15 PM, Peter Körner osm-li...@mazdermind.dewrote: Hi Am 31.03.2014 11:18, schrieb amrit karmacharya: i am trying to query this node* http://www.openstreetmap.org/node/2400031584*. it opens up in browser

Re: [OSM-dev] Full History Extracts

2014-02-24 Thread amrit karmacharya
Thank you very much, this is a big help to developers here. On Mon, Feb 24, 2014 at 5:03 PM, Peter Körner osm-li...@mazdermind.dewrote: Hi Am 14.02.2014 05:56, schrieb amrit karmacharya: Can you make a extract for Nepal? As of now, I need to download the whole asia and extract nepal

Re: [OSM-dev] Full History Extracts

2014-02-17 Thread amrit karmacharya
here is the bounding box for nepal. http://lxbarth.com/bbox/#79.716797,26.362689,88.439941,30.449008,7,28.435224077528904,84.5068359374 On Mon, Feb 17, 2014 at 10:01 AM, amrit karmacharya amrit...@gmail.comwrote: This is a poly file, used by most of the OSM processing softwares. I got

Re: [OSM-dev] Full History Extracts

2014-02-13 Thread amrit karmacharya
Hi, Can you make a extract for Nepal? As of now, I need to download the whole asia and extract nepal which covers only 0.3% of asia. There are no other options available. On Thu, Feb 13, 2014 at 7:58 PM, Jochen Topf joc...@remote.org wrote: On Do, Feb 13, 2014 at 03:22:44 +, Sterling

[OSM-dev] Change in osm interface and api

2013-12-01 Thread amrit karmacharya
Since the change in osm interface today, i am not able to see the history of deleted objects like http://www.openstreetmap.org/browse/way/234627007. Moreover i could not retrieve that object in JOSM undelete plugin. Since JOSM is only depended on the api. Is there some reason why the deleted

Re: [OSM-dev] Change in osm interface and api

2013-12-01 Thread amrit karmacharya
Hmm. Looks like i have done some mistakes. Thank you On Mon, Dec 2, 2013 at 1:50 AM, Martin Koppenhoefer dieterdre...@gmail.comwrote: 2013/12/1 amrit karmacharya amrit...@gmail.com Since the change in osm interface today, i am not able to see the history of deleted objects like http

[OSM-dev] osmosis and bzcat in windows

2013-11-08 Thread amrit karmacharya
Can someone expalin this line *bzcat http://ossbuild.googlecode.com/svn-history/r366/trunk/Shared/Build/Windows/Win32/bin/bzcat.exe is the tool to use even on Windows if you want to have good performance. However, /dev/stdin is not a valid path on Windows. Use CONIN$ instead.* It is written

Re: [OSM-dev] Downloading OSM data

2013-11-07 Thread amrit karmacharya
there is an existing library https://launchpad.net/osmxapi On Fri, Nov 8, 2013 at 7:37 AM, Pierre Béland pierz...@yahoo.fr wrote: Hi Phanindra, This is a late answer but I took time to test the solution using the urllib2 module to send a request to a website and extract data. I give you

[OSM-dev] Creating new way using api calls

2013-10-12 Thread amrit karmacharya
I am trying to create a way using the python osm apihttp://wiki.openstreetmap.org/wiki/PythonOsmApi On trying to create a new way, the api requires the id of the nodes to be kept in nd ref='id'. My problem is that the nodes have not been created yet and i want to create the node and way at once.

Re: [OSM-dev] Creating new way using api calls

2013-10-12 Thread amrit karmacharya
while I want to answer your question- do you mind telling us what you're working on? - Serge On Sat, Oct 12, 2013 at 3:32 AM, amrit karmacharya amrit...@gmail.com wrote: I am trying to create a way using the python osm api On trying to create a new way, the api requires the id of the nodes

[OSM-dev] Is there an overpass implementation for dev server?

2013-10-05 Thread amrit karmacharya
I have uploaded data on dev server http://api06.dev.openstreetmap.org/#map=19/27.72479/85.33970 i checked http://overpass.apis.dev.openstreetmap.org/#map=19/27.73043/85.33370layers=D but the data is not there, so i am guessing his is another server. Is there a easy way like overpass to get data

Re: [OSM-dev] [Mapcss] Mapcss showing OSM id

2013-09-15 Thread amrit karmacharya
Is it possible to show the lat, lon of the centroid of the building? On Sep 15, 2013 9:22 AM, amrit karmacharya amrit...@gmail.com wrote: Thank you AlfonZ, That worked. On Fri, Sep 13, 2013 at 5:11 PM, AlfonZ alfon...@gmail.com wrote: In JOSM I was able to do it using text: eval(osm_id

Re: [OSM-dev] [Mapcss] Mapcss showing OSM id

2013-09-14 Thread amrit karmacharya
Thank you AlfonZ, That worked. On Fri, Sep 13, 2013 at 5:11 PM, AlfonZ alfon...@gmail.com wrote: In JOSM I was able to do it using text: eval(osm_id()); AlfonZ On Fri, Sep 13, 2013 at 12:01 PM, amrit karmacharya amrit...@gmail.comwrote: I want to show the OSM id of the building

[OSM-dev] Mapcss showing OSM id

2013-09-13 Thread amrit karmacharya
I want to show the OSM id of the building. Using mapcss text property, i can show the values. but since osm id if not a kv-pair i could not display it. How can i show osmid on buildings? ___ dev mailing list dev@openstreetmap.org

[OSM-dev] creating monthly obf files monthly for Nepal

2013-09-08 Thread amrit karmacharya
I'd like to make a system which will make a osmand obf file for a whole Nepal every month. I have looked into the existing data hosts like metro.teczno.com, Cloudmade, Geofabrik but they are not useful. ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Linking wikipedia and osm

2013-09-06 Thread amrit karmacharya
the {{Coord}} template yet. Please see this page to learn more about the template: http://en.wikipedia.org/wiki/Template:Coord_how-to On Fri, Sep 6, 2013 at 11:17 AM, amrit karmacharya amrit...@gmail.comwrote: Yes, it has shown up. Thank you very much. There is another quesion though I also added

Re: [OSM-dev] Linking wikipedia and osm

2013-09-06 Thread amrit karmacharya
Thank you for the explanation. If i understand it correctly, only adding the wikipedia tag to OSM object is not enough. I have to add the {{Coord}} template in the article as well. This adds a bit of complexity as i will have to calculate the centroid for the {{Coord}} template. Am i correct?

[OSM-dev] Linking wikipedia and osm

2013-09-05 Thread amrit karmacharya
This http://en.wikipedia.org/wiki/Nyatapola wikipedia article refers to this http://www.openstreetmap.org/browse/way/85470341 osm feature. I am under the impression that the wikipedia page will show up a map showing the feature but it has not shown up. the toolserver has detected the object

Re: [OSM-dev] Linking wikipedia and osm

2013-09-05 Thread amrit karmacharya
icon on the upper right part of the page (to the left of the coordinates). The WikiMiniAtlas will popup showing an OSM-derived basemap. You may need to zoom in a bit to see the outline of the building. On Thu, Sep 5, 2013 at 6:10 PM, amrit karmacharya amrit...@gmail.comwrote: This http

[OSM-dev] Using iD in tablet

2013-08-18 Thread amrit karmacharya
I tried to use iD in Lenovo IdeaTab. Firstly i had difficulty in clicking the iD editor option, most of the time it tried to open potlatch. When it finally loaded, the screen was not enough. I only got the upper left part. I read it

[OSM-dev] Is there a wrapper application for localosmtoshp application?

2013-07-31 Thread amrit karmacharya
I need to make shapefiles with custom tags from osm data. I have gone through every method in shapefile wiki on osm. For me the best method is LocalOSMToSHP. It let's me define the file, the tags I want and even create alais for column. The problem is the prog needs to be on same location as the

Re: [OSM-dev] Is there a wrapper application for localosmtoshp application?

2013-07-31 Thread amrit karmacharya
:,fixme,FIXME # uncomment to avoid creation of other_tags field #other_tags=no -Jukka Rahkonen- amrit karmacharya wrote: I need to make shapefiles with custom tags from osm data. I have gone through every method in shapefile wiki on osm. For me the best method is LocalOSMToSHP

Re: [OSM-dev] Is there a wrapper application for localosmtoshp application?

2013-07-31 Thread amrit karmacharya
select name as alias_name from points ogr2ogr -f ESRI Shapefile osm_points.shp input.osm -sql multipolygon All give same error *Unable to open datasource health_facility.osm with the following drivers.* On Thu, Aug 1, 2013 at 8:36 AM, amrit karmacharya amrit...@gmail.comwrote: The links

Re: [OSM-dev] Help with Search location in OSM with type

2013-05-24 Thread amrit karmacharya
Try the overpass-api, http://www.overpass-api.de . you can use the around clause to search for anything around anything. On May 24, 2013 2:24 PM, doan trang trangpdq...@gmail.com wrote: Hi everyone I am a beginer with OSM dev. I want to search location around a exact location ( current user

Re: [OSM-dev] Import a huge amount of GPS data

2013-05-23 Thread amrit karmacharya
That's an impressive amount of data. I kept thinking what can't I do with so much data. Your data not only identifies the road but also the traffic density of the roads I.e. which roads are used frequently, which are the major roads. In osm, classifying the roads into different category like

Re: [OSM-dev] Overpass DEV url?

2013-05-18 Thread amrit karmacharya
at 2:09 PM, Frederik Ramm frede...@remote.org wrote: Hi, On 18.05.2013 06:39, amrit karmacharya wrote: How can we enter a small bunch of data into dev server? Using josm didnot work A general rule for discussion in technical communities is: Does not work is not a sufficient description

Re: [OSM-dev] Overpass DEV url?

2013-05-17 Thread amrit karmacharya
How can we enter a small bunch of data into dev server? Using josm didnot work, and there are no data in my area to test. I tried using the iD dev mode, but the process is highly time consuming On Sat, May 18, 2013 at 12:45 AM, Tom Hughes t...@compton.nu wrote: On 17/05/13 19:45, Tac