Re: [OSM-dev] history data
This is an interesting test case for any history parsing scheme. Thanks for pointing it out! Node 1 should be under closer scrutiny. There should be a special entry on the 'platform status' page. Martijn On 4/10/2011 6:47 PM, Jochen Topf wrote: GET http://api.openstreetmap.org/api/0.6/node/1/history tells me this: osm version=0.6 generator=OpenStreetMap server node id=1 lat=2.0 lon=2.0 changeset=9257 user=τ12 uid=1298 visible=false timestamp=2006-05-10T18:27:47Z version=1/ node id=1 lat=50.1249473 lon=14.4557581 changeset=196013 user=tacut uid=113502 visible=true timestamp=2009-04-04T10:01:54Z version=2 tag k=name v=Metro C - Kobylisy/ tag k=wheelchair v=yes/ tag k=railway v=subway_entrance/ /node node id=1 lat=2.0 lon=2.0 changeset=524633 user=woodpeck uid=5164 visible=true timestamp=2009-04-14T15:42:57Z version=3/ node id=1 lat=2.0 lon=2.0 changeset=1767082 user=Ldp uid=48796 visible=false timestamp=2009-07-07T22:44:41Z version=4/ /osm How exactly am I to interpret this? Why are some visible=true and some visible=false? The visible=false on the last version tells me the node is deleted. But what happened before? Does the visible=false on the first version mean it was deleted before it was re-created as version 2? For a deleted node, does the timestamp refer to the creation or the deletion? Jochen -- Martijn van Exel Senior Researcher - Geodan SR President Kennedylaan 1 1079 MB Amsterdam (NL) - Tel: +31 (0)20 - 5711 318 Fax: +31 (0)20 - 5711 333 - E-mail: mart...@geodan.nl Website: www.geodan.nl KvK-nummer: 33 247475 Disclaimer: www.geodan.nl/disclaimer - ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] tirex with custom tileschema
Hi all, Does Tirex support different projections and tileschema's? I'm trying to get Tirex running with the dutch tiling schema*). I've got Mapnik and TileCache working together to display my tiles, so the osm.xml is correct. However since TileCache doesn't have any update strategy and I do want to keep the tiles reasonably current so I'm looking into Tirex. I'm using a modified tileserver.js on node.js which I've gotten from Peter/ /Körner to access Tirex. However when I request tiles I get a HTTP 500 Internal server error and the X-Error header says 'render error'. I can't seem to find any more detailed information on this error. The only thing I've seen is from tileserver.js: tirex nodets-32069-1210 tirex nodets-32069-1210 GET /tiles/osm/2/3/1.png - 500 Internal Server Error (render error) And in /var/log/tirex/jobs.log 2011-04-11T12:14:09 id=1302516849_33668080 map=osm x=0 y=0 z=2 prio=10 request_time=1302516849 expire= sources=C render_time=0 success= Which to me means that tileserver.js does send the request to Tirex, but Tirex is unable to render it, which brings me to my initial question: can Tirex render non spherical mercator? Regards, Steven *) tilecache config: [osm_nl] type=Mapnik mapfile=/home/administrator/osm/mapnik/osm.xml spherical_mercator=false resolutions=3440.640,1720.320,860.160,430.080,215.040,107.520,53.760,26.880,13.440,6.720,3.360,1.680,0.840,0.420,0.210 metatile=yes bbox=-285401.920, 22598.080, 595401.92, 903401.920 srs=EPSG:28992 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
Hi Steven, Am 11.04.2011 12:24, schrieb Steven M. Ottens: I'm using a modified tileserver.js on node.js which I've gotten from Peter//Körner to access Tirex. However when I request tiles I get a HTTP 500 Internal server error and the X-Error header says 'render error'. really nice to hear somebody using the Tileserver :) To get debug-info from tirex it's best to start it in debug mode: first disable the running serive using /etc/init.d/tirex-backend-manager stop then start your own debug instance sudo -u tirex tirex-backend-manager --debug then restart the master (use another shell session) /etc/init.d/tirex-master restart now take a look at the running debug instance while requesting tiles. Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
On Mon, Apr 11, 2011 at 12:24:38PM +0200, Steven M. Ottens wrote: Does Tirex support different projections and tileschema's? I'm No. The Google projection and tiling schema and the metatile schema used in OSM is very much hard-baked into Tirex. Jochen -- Jochen Topf joc...@remote.org http://www.remote.org/jochen/ +49-721-388298 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
On Mon, Apr 11, 2011 at 02:31:19PM +0200, Steven M. Ottens wrote: On 4/11/2011 2:01 PM, Jochen Topf wrote: On Mon, Apr 11, 2011 at 12:24:38PM +0200, Steven M. Ottens wrote: Does Tirex support different projections and tileschema's? I'm No. The Google projection and tiling schema and the metatile schema used in OSM is very much hard-baked into Tirex. Thanks, that explains why I get 'google' tiles, even when osm.xml is in a different projection. I hadn't looked into this behaviour since I was still struggling with this error: tirex-backend-mapnik[2309]: Mapnik config error: Unable to find specified font face '' Is the tirex-backend-mapnik somehow using different settings files than mapnik? Since both osm.xml and fontset-settings.xml.inc are correct for the mapnik/tilecache setup. It uses the config file configured in /etc/tirex/mapnik/... or whatever you told it to use. Jochen -- Jochen Topf joc...@remote.org http://www.remote.org/jochen/ +49-721-388298 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
Am 11.04.2011 14:31, schrieb Steven M. Ottens: On 4/11/2011 2:01 PM, Jochen Topf wrote: On Mon, Apr 11, 2011 at 12:24:38PM +0200, Steven M. Ottens wrote: Does Tirex support different projections and tileschema's? I'm No. The Google projection and tiling schema and the metatile schema used in OSM is very much hard-baked into Tirex. Thanks, that explains why I get 'google' tiles, even when osm.xml is in a different projection. I hadn't looked into this behaviour since I was still struggling with this error: tirex-backend-mapnik[2309]: Mapnik config error: Unable to find specified font face '' The font-path configured in the tirex-renderer-config-file (/etc/tirex/mapnik.conf) is not your default system path. Change the config file to point to the font-path of your system (search for ttf-files ;) Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
On 4/11/2011 4:50 PM, Peter Körner wrote: Am 11.04.2011 14:31, schrieb Steven M. Ottens: still struggling with this error: tirex-backend-mapnik[2309]: Mapnik config error: Unable to find specified font face '' The font-path configured in the tirex-renderer-config-file (/etc/tirex/mapnik.conf) is not your default system path. Change the config file to point to the font-path of your system (search for ttf-files ;) Ah thanks, the problem was indeed that in /etc/tirex/renderer/mapnik.conf 'fontdir' was pointing to the wrong directory and 'fontdir_recurse' was not set to 1 It works now, except that it is in the wrong projection :) I've to look for a different solution :( Steven ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] tirex with custom tileschema
On Apr 11, 2011, at 8:23 AM, Steven M. Ottens wrote: On 4/11/2011 4:50 PM, Peter Körner wrote: Am 11.04.2011 14:31, schrieb Steven M. Ottens: still struggling with this error: tirex-backend-mapnik[2309]: Mapnik config error: Unable to find specified font face '' btw, sorry about ^^, I consider this poor error a mapnik bug and have flagged to fix before the next release: http://trac.mapnik.org/ticket/596#comment:1 The font-path configured in the tirex-renderer-config-file (/etc/tirex/mapnik.conf) is not your default system path. Change the config file to point to the font-path of your system (search for ttf-files ;) Ah thanks, the problem was indeed that in /etc/tirex/renderer/mapnik.conf 'fontdir' was pointing to the wrong directory and 'fontdir_recurse' was not set to 1 Also, minor detail, but since Tirex was released I have added a native recursive font registration function, `register_fonts`, to Mapnik2, and backported to Mapnik 0.7.2: http://trac.mapnik.org/browser/trunk/src/font_engine_freetype.cpp#L88 It works now, except that it is in the wrong projection :) I've to look for a different solution :( Let us know what you come up with! Steven ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Searching home for new mailinglist
Hi all I started the khtml.maplib (http://khtml.org) map library. Currently there are 3 students helping me to improve the lib and developing speed is increasing. Now I'm looking for a home of a mailing list. Google Groups would be an option. Is there something else you could recommend? Bernhard ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [Potlatch-dev] [OpenStreetMap] #3639: Erratic Tab key in Menu Dialog boxes
#3639: Erratic Tab key in Menu Dialog boxes ---+ Reporter: PierZen| Owner: potlatch-dev@… Type: defect | Status: new Priority: major | Milestone: Component: potlatch2 | Version: 2.0 Keywords: | ---+ Changes (by PierZen): * cc: PierZen (added) Comment: #3639: Erratic Tab key in Menu Dialog boxes ---+ Reporter: PierZen| Owner: potlatch-dev@… Type: defect | Status: new Priority: major | Milestone: Component: potlatch2 | Version: 2.0 Keywords: | ---+ I Filed this ticket two weeks ago but no answer yet. A few days later, I found that problem 1 was fixed, but not problem 2. Here is precisions, tha I hope will help to identify the problem. Problem 1, fixed : Press the keyboard TAB key to move from one textfield to another. Problem 2: This problem arises when entering text in a Textfield and then press the keyboard TAB key to move to other Textfields New tests today at url http://www.openstreetmap.org/edit?editor=potlatch2 : When entering text in a Textfield, the Potlatch2 API does not react the same way, if I use the mouse or the keyboard TAB key to move to the next Textfield. Plus, doing repetitively the same test, different situations may arise. For example, after we enter text in a Textfield, 1. If we use the mouse and click in the next Textfield, the cursor is moved to the next Textfield, the word Unset is erased and the text entered is passed correctly to the key value. 2 If instead we press the keyboard TAB key, the cursor is moved to the next Textfield, but this time the word Unset is not erased in this new Textfield. If we enter text and press the keyboard TAB key again, 1. Sometimes the menu is moved to a new Tab Dialog Box and text added. For example, when being in the 'Address' Tab Dialog Box, It happens many times that the API jumped to the 'Name' Tab Dialog Box with registering source=Bing while I had entered an other key and value in an other Dialog Box. 2. Sometimes, the cursor is not moved and the word Unset is added to the key value. 3. Sometimes, the next Textfield is skipped and the cursor comes back to the first Textfield in the list. This time the key value is registered properly. PierZen -- Ticket URL: https://trac.openstreetmap.org/ticket/3639#comment:1 OpenStreetMap http://www.openstreetmap.org/ OpenStreetMap is a free editable map of the whole world ___ Potlatch-dev mailing list potlatch-...@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [OSM-dev] Searching home for new mailinglist
On Mon, Apr 11, 2011 at 08:17:10PM +0200, Bernhard Zwischenbrugger wrote: I started the khtml.maplib (http://khtml.org) map library. Currently there are 3 students helping me to improve the lib and developing speed is increasing. Now I'm looking for a home of a mailing list. Google Groups would be an option. Is there something else you could recommend? Maybe becoming an OSGeo project is an option? http://www.osgeo.org/ Jochen -- Jochen Topf joc...@remote.org http://www.remote.org/jochen/ +49-721-388298 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] About Confirmation of GSoC Proposal Submit
Hello All, I have submitted my proposal on Fast Track Deployment of Customised OSM Tile Server But I have not received any comment on that, and I am also unable to see any pending message there. Please Let me know If it has been submitted successfully, and mentors are able to watch it. Thank you. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] About Confirmation of GSoC Proposal Submit
We have received your proposal and are reviewing it. Google should have sent you a receipt confirmation. Check your spam folder if you haven't received one. If we have any questions they will be e-mailed to you via Google's Summer of Code webapp. Thanks! On Mon, Apr 11, 2011 at 2:07 PM, Parveen Arora parveenarora...@gmail.comwrote: Hello All, I have submitted my proposal on Fast Track Deployment of Customised OSM Tile Server But I have not received any comment on that, and I am also unable to see any pending message there. Please Let me know If it has been submitted successfully, and mentors are able to watch it. Thank you. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] OSM and MongoDB
Hi, I am working on evaluation of MongoDB for several storage solutions at hand. Some of them resemble current OSM editing database. I have heard that OSM dev is/was evaluating MongoDB also. I was wondering whether it possible to share the findings? Thanks, Sergey. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM and MongoDB
I gave the project up because there wasn't enough interest. I think you'd find similar statements made by Ian. If you want to help work on it, we can talk. - Serge ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM and MongoDB
On Mon, Apr 11, 2011 at 6:36 PM, Sergey Galuzo ser...@microsoft.com wrote: Hi, I am working on evaluation of MongoDB for several storage solutions at hand. Some of them resemble current OSM editing database. I have heard that OSM dev is/was evaluating MongoDB also. I was wondering whether it possible to share the findings? In my experimentation with MongoDB (seen here: https://github.com/iandees/mongosm/) I found it to be very slow. Inserts were speedy, but bounding-box queries took a long time. The most recent dev version of MongoDB includes multi-location documents support: http://www.mongodb.org/display/DOCS/Geospatial+Indexing#GeospatialIndexing-MultilocationDocuments This would allow a single way document to be indexed at multiple locations and vastly speed up the map query. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [josm-dev] Illegal tag/value combination
On Sun, 10 Apr 2011, Nakor wrote: I usually get that when a religious building is missing the denomination tag. Can the message be: 1) more explicit It is. You always have a second message telling you the exact issue. 2) degraded to warning or info: this is not an error just some missing data It is warning, info or error, depending on the settings for this particular issue. Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] Scripting plugin
I'm back on track with the scripting plugin. I created a Jython script that helps to find probable spelling errors in street names. It's quite specific in that it supports the bilingual status of Brussels. #!/bin/jython # # Spell checking.py - Helps to locate probable spell errors # from javax.swing import JOptionPane from org.openstreetmap.josm import Main import org.openstreetmap.josm.command as Command import org.openstreetmap.josm.data.osm.Node as Node import org.openstreetmap.josm.data.osm.Way as Way import org.openstreetmap.josm.data.osm.TagCollection as TagCollection import org.openstreetmap.josm.data.osm.DataSet as DataSet corrections = {'fr': [('Dr. ', 'Docteur '),('R. ', 'Rue '), ('Av. ', 'Avenue '), ('Bd. ', 'Boulevard '), ('Sq.', 'Square'), ('Pl.', 'Place'), (' De ', ' de '), (' Le ', ' le '), (' La ', ' la '), (' Du ', ' du '), (' Des ', ' des '), (' Les ', ' les '), (' Au ', ' au '),(' Aux ', ' aux '),('À', 'à'),(' Den ',' den '), ( Sur , sur ), ( D', d'), ( L', l'), (' ,'), (Ecole ,École ), (Eglise, Église), (Chateau, Château), (Cable, Câble), (General, Général)], 'nl': [( Voor , voor ), ( Op , op ), ( Pour , pour ), ( Naar , naar ), ( Ter , ter ), ( En , en ), ( Van , van ), ('T , 't ), ('S , 's ), (-Ter-, -ter-), ( Het , het ), ( Straat, straat), ( Weg, weg), ( Laan, laan), ( Steenweg, steenweg), ( Baan, baan), (Oudebaan, Oude Baan), (Grotebaan, Grote Baan), (de Lijn, De Lijn)]} commandsList = [] streetnames = {} def getMapView(): if Main.main and Main.main.map: return Main.main.map.mapView else: return None def myOwnCapitalize(word): # JOptionPane.showMessageDialog(Main.parent, word.decode('utf-8')) if word: return word[0].upper() + word[1:] else: return u mv = getMapView() if mv and mv.editLayer and mv.editLayer.data: selectedNodes = mv.editLayer.data.getSelectedNodes() selectedWays = mv.editLayer.data.getWays() selectedRelations = mv.editLayer.data.getSelectedRelations() if not(selectedNodes or selectedWays or selectedRelations): JOptionPane.showMessageDialog(Main.parent, Please select something) else: for way in selectedWays: for isoLang in ['nl', 'fr', '']: correctedName = result = u'' if isoLang: nameColonIso = 'name:' + isoLang else: nameColonIso = 'name' if way.hasKey(nameColonIso): name=str(way.get(nameColonIso).encode('utf-8')) if name in streetnames: if streetnames[name] == 'ignore': continue else: correctedName = streetnames[name] else: Main.main.getCurrentDataSet().setSelected(way) # dummy = mv.editLayer.data.getSelected() # mv.zoomTo(Main.main.getEditLayer().data.getSelected()) # JOptionPane.showMessageDialog(Main.parent, name.decode('utf-8')) for subname in name.split(;): for word in subname.split( ): if word: if - in word and len(word)1: dashes = word.split(-) correctedName += myOwnCapitalize(dashes[0]) for dash in dashes[1:]: # if dash[0] == ' ': # correctedName += u- + myOwnCapitalize(dash[1:]) # else: correctedName += u- + myOwnCapitalize(dash.strip()) elif ' in word and not(. in word): apo=word.split(') if apo[0]: correctedName += myOwnCapitalize(apo[0]) correctedName += ' if apo[1]: correctedName += myOwnCapitalize(apo[1]) elif . in word or len(word)1 and word[1]==word[1].upper() or len(word)2 and word[2]==word[2].upper(): correctedName += word else: correctedName += myOwnCapitalize(word) correctedName += ' ' correctedName = correctedName.strip() + ';'