Re: [OSM-dev] [OSM-talk] Brainstorm: What could they be used for [was: WMF will donate 35 servers...]

2009-09-15 Thread Peter Körner
OGC services (there is already some buzz about that in talk-cu). And customised renderings, of course. +1 for customized renderings in different languages. I think Asian languages should be pushed out faster. This is already in build-up stage on the wikimedia servers (see [0] for an

Re: [OSM-dev] [OSM-talk] Getting historic information about usage of a node

2009-09-15 Thread Peter Körner
deleted - the GET /node/#id/ways call just does not spit out any historic information. What we need would be a GET /node/#id/#version/ways But i don't think this can go into the api without a major change.. Peter Ian Dees schrieb: On Tue, Sep 15, 2009 at 5:56 PM, Peter Körner osm-li

Re: [OSM-dev] Deep History App

2009-09-15 Thread Peter Körner
andrzej zaborowski schrieb: 2009/9/16 andrzej zaborowski balr...@gmail.com: 2009/9/15 Ian Dees ian.d...@gmail.com: Next up are ways. This is pretty difficult, though, as a way's history only shows the nodes that made up the way at that time, not which revision of those nodes made up the way

Re: [OSM-dev] [OSM-talk] Getting historic information about usage of a node

2009-09-15 Thread Peter Körner
GET /node/#id/#version/ways But i don't think this can go into the api without a major change.. There is no problem adding new methods to the API at any point in time. Col thing! The problem here is that I doubt it is possible to implement such a method in an efficient way -

Re: [OSM-dev] [OSM-talk] Getting historic information about usage of a node

2009-09-16 Thread Peter Körner
Okay, so how can we go on now.. I'm not a ruby man and I don't have a possibility to test all this. Atm. my fallback-plan is to wait until the Wikimedia-Guys finished setup of their copy of the osm-db (which will contain the history tables!) so I can fetch my data directly from the db. I'm

Re: [OSM-dev] [OSM-talk] Getting historic information about usage of a node

2009-09-16 Thread Peter Körner
Atm. my fallback-plan is to wait until the Wikimedia-Guys finished setup of their copy of the osm-db (which will contain the history tables!) Okay, maybe i was too fast too loud.. It might contain the history tables, but it will not contain history data unless they have access to a dump

Re: [OSM-dev] [OSM-talk] Abstract on getting historic information about usage of a node

2009-09-16 Thread Peter Körner
Hopefully you don't kill me right off but I re-created this Testcase in the OSM db. I only used a comment tag on each element so they won't get rendered and are identifiable in the history as Testcase later. I also created them near my home where I'm the only active mapper I now of. ==

Re: [OSM-dev] [OSM-talk] Abstract on getting historic information about usage of a node

2009-09-16 Thread Peter Körner
c) this will cost disk-space and memory for the index. The CPU time will be consumed only once. This is NOT true. As I explained yesterday there is a very good reason why we do not store a node revision in current_way_nodes and way_nodes. I'm sorry I should have mentioned that all

Re: [OSM-dev] [OSM-talk] Abstract on getting historic information about usage of a node

2009-09-16 Thread Peter Körner
Ian Dees schrieb: On Wed, Sep 16, 2009 at 9:30 AM, Tom Hughes t...@compton.nu mailto:t...@compton.nu wrote: This is NOT true. As I explained yesterday there is a very good reason why we do not store a node revision in current_way_nodes and way_nodes. The problem is that

Re: [OSM-dev] [OSM-talk] Abstract on getting historic information about usage of a node

2009-09-16 Thread Peter Körner
What's the problem with that? If way 10 did not ever use node 50v3, then it should not be included in the give me all ways that use node 50v3 call, right? (semi-ASCII-art ahead, arm your fixed-width photos) Here's way 10v1 (numbers are nodes): 50v151v152v2 ...and a history

Re: [OSM-dev] shortest streets

2009-09-17 Thread Peter Körner
yummy goop schrieb: Thank you for your thoughtful suggestions. I'm a n00b, so I'm not sure if I have to setup my own instance of the database to run this query or, if not, where I should go next. Any additional suggestions or direction would be appreciated. To run such queries you'll

Re: [OSM-dev] How do I do make shaded area overlays with openlayers or something similar?

2009-09-22 Thread Peter Körner
John Smith schrieb: This site shows aussie postcodes over the top of a base layer: http://www.aus-emaps.com/postcode_finder.php How would I do something similar for postcodes in the OSM DB already, and showing them as a shaded area, and 2 different colours if they've been reviewed or not.

Re: [OSM-dev] How do I do make shaded area overlays with openlayers or something similar?

2009-09-22 Thread Peter Körner
John Smith schrieb: 2009/9/22 Peter Körner osm-li...@mazdermind.de: You may want to take a look at http://topo.geofabrik.de/ I can't read German, is there a download link or something? Oh I'm sorry I missread your mail.. I thought you wanted to have hill-shading for your map ;) As far as I

[OSM-dev] Template-Bug on OSM-Homepage

2009-09-27 Thread Peter Körner
When removing so. as a friend the homepage states {{name} wurde als Freund entfernt. I'd guess there's a } missing? Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Black Roads

2009-09-29 Thread Peter Körner
I appear to have a problem with the M4 motorway in London. Almost all of the road is correctly styled, however one part is completely black. I've attached an example. Does anyone know why this has happened and how to resolve it? http://maps.m4.net/osm_tiles2/14/8178/5449.png The

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Peter Körner
Anthony schrieb: Tobias (I am also CCing this to the OSM dev mailing list), I am using your shp2osm.pl script to convert a shapefile from my property appraiser's office. In the output, I'm getting nodes and ways that look like this: ... As you can see, nodes -1 and -9 are

Re: [OSM-dev] shp2osm.pl

2009-09-29 Thread Peter Körner
And I believe it has been suggested to use boundary relations rather than polygons in cases where there are a lot of overlapping boundaries. Yes, I'ts not good to have overlapping ways - they are a mess to edit and they can be constructed by relations, as well. Peter

Re: [OSM-dev] OpenstreetMap Trace Analysys

2009-10-12 Thread Peter Körner
I've converted it from nmea to gpx, the conditions are they don't want people knowing their camping spots, but not all stops are camping spots it could be just a place they pulled over to have lunch or visit tourist info centres, it's not going to be very easy to anonymise the data. But this

Re: [OSM-dev] 3d Import into OpenArena working

2009-10-14 Thread Peter Körner
Nick Whitelegg schrieb: I don't think, it have to introduce a web dependency. It is just a java script application running inside a browser. The script don't have to be on a website. It can also be a local file. The map data can also be local files - maybe. That's the issue, that JS

[OSM-dev] Mapnik rendering: Zoom-Level to Width/Height

2009-10-14 Thread Peter Körner
Hello I'm writing on a simple Frontend for the mapnik-toolchain. Currently you can call it like this: osm-render --bbox 8.2011,49.9649,8.3278,50.0327 --size 8192x4096 I'd like to add another option like this: osm-render --bbox 8.2011,49.9649,8.3278,50.0327 --zoom 14 The combination of

[OSM-dev] Distributing a VirtualBox HD-File

2009-10-14 Thread Peter Körner
Hi I'm nearly done putting together my Rendering Stack. It makes the complete chain from the osm (x)api to the final map accessible via very easy commands: osm-load --bbox 8.2011,49.9649,8.3278,50.0327 osm-render --bbox 8.2011,49.9649,8.3278,50.0327 without loosing too much possibilities:

Re: [OSM-dev] Mapnik rendering: Zoom-Level to Width/Height

2009-10-14 Thread Peter Körner
Hi Andrew http://svn.openstreetmap.org/applications/rendering/mapnik/zoom-to-scale.txt http://www.britishideas.com/2009/09/22/map-scales-and-printing-with-mapnik/ Thank you very much! Peter ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Distributing a VirtualBox HD-File

2009-10-14 Thread Peter Körner
Hi Ian Peter, I can mirror/host it on my shared server account. I've got unlimited bandwidth and they seem to be pretty good about allowing large file downloads. Of course I'm interested! Next steps will be: 1. complete last tasks 2. make a torrent of it and publish it on osm-talk

Re: [OSM-dev] Mapnik rendering: Zoom-Level to Width/Height

2009-10-15 Thread Peter Körner
Hi Frederik Are you aware of the nik2img tool which does pretty much everything you write here - including specifying the zoom level? No I wasn't aware of that, but it wasn't so much hassle to write my own (just learned how cool python is - it took only about 2 hours). I'll have a look at

Re: [OSM-dev] Distributing a VirtualBox HD-File

2009-10-15 Thread Peter Körner
If needed, I can also put a copy on my planet mirror. Just ping the list once you've got something ready for release. Yey! You're so cool, altogether! Peter ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] 3d Import into OpenArena working

2009-10-17 Thread Peter Körner
Hi have you tried using PovRAY [1]? It reads an ASCII-Script and produces wonderful Images from it. PovRAY relates to Blender co. like LaTeX relates to Word. It is very well suited for automated generation of 3D models, as you can see with eagle3D [2] Peter [1] http://www.povray.org/ [2]

Re: [OSM-dev] Quick OSM read-only API optimised for rendering

2009-10-26 Thread Peter Körner
A better data format for rendering would contain only point of interest nodes, with ways represented as polylines of points, with no need for the client to look up the coordinates of the way's constituent nodes by ID. What you're talking for is a xml/json frontend for a postgis-db. The

Re: [OSM-dev] Quick OSM read-only API optimised for rendering

2009-10-26 Thread Peter Körner
Looks interesting but only for high zoom-levels. What queries can be supported to e.g. render a map of the world? That would at least require all coastlines but not in full resolution. This is only true for the coastlines, as mapnik is doing the same (coastlines from shapefile, everything

Re: [OSM-dev] Planet file space requirements

2009-11-03 Thread Peter Körner
Stefan de Konink schrieb: On Fri, 30 Oct 2009, Linden Varley wrote: I disagree. Weekly writes to the SSD will not be that bad and the performance benefits far outweighs the disadvantages. We can do a full planet file load in 4 hours and database reads are outstanding to the point where it's

Re: [OSM-dev] Missing changes in minute-replicate

2009-11-09 Thread Peter Körner
The changes in changeset 3073502 are completely missing from the minute-replicate diffs. They appear in both the minute and hourly diffs. I checked node 559977476 [1] that has been created in changeset 3073502 [2]. I can't find them in the minute-replicate diffs. They should be in the

Re: [OSM-dev] Missing changes in minute-replicate

2009-11-10 Thread Peter Körner
Ah... I investigated an issue like this a couple of weeks back. I suspect there is an off by one error somewhere that means the last transaction in each diff isn't getting processed by osmosis when it builds the replicate diffs. Does this means that there is one transaction (though one

Re: [OSM-dev] [OSM-talk] Cassini rendering multilingular maps again

2009-11-10 Thread Peter Körner
Ævar Arnfjörð Bjarmason schrieb: On Tue, Nov 10, 2009 at 2:01 PM, Marjan Vrban mvr...@gmail.com wrote: I updated some names (today 10.11.09), but it renders old data... We're still syncing the PostGIS db to the planet.osm.org update files, it's lagging behind (I don't know by exactly how

Re: [OSM-dev] Minute Diffs

2009-11-11 Thread Peter Körner
Peter Childs schrieb: I've been trying to get a copy of the OSM data set into a postgres database so I can extract some statical info to help with hopefully one day search etc. Broadly speaking I've been following the instructions at http://wiki.openstreetmap.org/wiki/Minutely_Mapnik

Re: [OSM-dev] Osmosis can not handle minute-replicate file 87729

2009-11-12 Thread Peter Körner
There's a minute-replicate file from yesterday http://planet.openstreetmap.org/minute-replicate/000/087/729.osc.gz that causes an exception in osmosis: There have been some talk about it on osmosis-dev: http://lists.openstreetmap.org/pipermail/osmosis-dev/2009-November/000268.html The

[OSM-dev] [Fwd: Re: [osmosis-dev] Migration of Osmosis Changesets]

2009-11-13 Thread Peter Körner
Forwarding this so maybe so. can take a look at it. The state.txt lags nor for 2 1/2 hours Peter Original-Nachricht Betreff: Re: [osmosis-dev] Migration of Osmosis Changesets Von: Peter Körner osm-li...@mazdermind.de Brett Henderson schrieb: The Osmosis changesets have been

Re: [OSM-dev] potlatch breaking B38a

2009-11-17 Thread Peter Körner
http://www.openstreetmap.org/browse/way/4382669$ should this be http://www.openstreetmap.org/browse/way/43826694 or http://www.openstreetmap.org/browse/way/4382669 or sth. else? Peter ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] WebGL 3D OSM viewer project

2009-11-27 Thread Peter Körner
Nick Whitelegg schrieb: Hello everyone, After spending a bit of time getting familiar with WebGL (in-browser hardware accelerated 3D graphics) I have now managed to develop an application which will download and render OSM data with WebGL. Not very impressive yet (all ways are rendered

Re: [OSM-dev] osm input plugin for mapnik

2009-11-30 Thread Peter Körner
Vladislav Shikhov schrieb: Hello all Is mapnik osm input plugin works well or it's still experimental? In my tests it worked with a svn build, but the osm styles rely on SQL-Queries to the postgis db and thus didn't work with this input plugin. Peter

Re: [OSM-dev] Code works on sandbox API, doesn't work on main API

2009-12-02 Thread Peter Körner
osm changeset tag k=created_by v=Romanian Settlement Boundaries v0.1/ tag k=comment v=Boundaries for Bicaz / Source: Mircea Angelescu (cultura.ro http://cultura.ro)/ /changeset /osm A changeset-put of josm looks like this: ?xml version='1.0' encoding='UTF-8'? osm

Re: [OSM-dev] Code works on sandbox API, doesn't work on main API

2009-12-02 Thread Peter Körner
Tom Hughes schrieb: On 02/12/09 10:10, Janos Rusiczki wrote: I have replaced the input file with the XML you provided. Result: the exact same error. And obviously it works like a charm on the sandbox (api06.dev.openstreetmap.org http://api06.dev.openstreetmap.org). I'm running out of hair to

Re: [OSM-dev] [Maps-l] History API Server

2009-12-10 Thread Peter Körner
http://osmxapi.hypercube.telascience.org/api/0.6/way/8136261/8/full http://osmxapi.hypercube.telascience.org/api/0.6/way/8136261/9/full http://osmxapi.hypercube.telascience.org/api/0.6/way/8136261/10/full http://osmxapi.hypercube.telascience.org/api/0.6/way/8136261/11/full This should work

Re: [OSM-dev] [Maps-l] History API Server

2009-12-10 Thread Peter Körner
What about deleted nodes/ways/relations, but instead of giving an ID how about a bounding box so you can undo a delete? For the moment I'm thinking about a changeset revert. In a changeset you'll get deleted objects marked as such. Finding a deleted node (or better: the changeset in which a

Re: [OSM-dev] Structured error messages from API

2009-12-10 Thread Peter Körner
On a related note, I would be very interested in seeing a progress of some kind being returned when doing a osmChange upload. I realize that it is difficult (because it could fail after spitting out lots of seemingly valid IDs), but if it was documented it would be doable. Are you talking

Re: [OSM-dev] Structured error messages from API

2009-12-10 Thread Peter Körner
You mean showing upload progress in JOSM as opposed to the current cylon impression? That could be implemented by counting the number of bytes of the osmChange request that have been successfully sent over the wire. That's how upload progress bars are usually implemented. Obviously the

Re: [OSM-dev] Nominatim Install Problems

2009-12-10 Thread Peter Körner
Jason Surratt schrieb: I just noticed the Geocoding mailing list. My bad. I will repost there. Please also post here if you got a solution. Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] [Maps-l] History API Server

2009-12-14 Thread Peter Körner
The instance of XAPI on hypercube now implements the following: GET http://osmxapi.hypercube.telascience.org/api/0.6/node/#id GET http://osmxapi.hypercube.telascience.org/api/0.6/node/#id/#version *GET http://osmxapi.hypercube.telascience.org/api/0.6/node/#id/#version/ways * GET

Re: [OSM-dev] Timestamps

2009-12-16 Thread Peter Körner
hy-soft schrieb: Revently I noticed that (obviously due to changes from api) the timestamp is handled differently Which timestams exactly are you talking about. In the changeset? On the node? On the Homepage? In the planet.osm? In an api / xapi / trapi response? Peter

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-16 Thread Peter Körner
Note: Other OSM data such as, california.osm or asia.osm works, osm2pgsql is able to read the data... I believe the planet.osm is corrupted while unzipping/downloading? I beleive your osm2pgsql is outdated. california.osm co. does not contain changeset ..-elements while the planet.osm

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-17 Thread Peter Körner
Changesets are only included in planet.osm since a few weeks, right? As the file linked in the wiki is from July, it will not help him. How is osm2pgsql compiled on windows? What Software do I need? Will VC++ Express do it? Peter ___ dev mailing

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-17 Thread Peter Körner
If anyone can show me to the source files or objects for osm2pgsql on linux systems, that would be awesome. I made a build on CentOS5 and one on Ubuntu9.10 http://toolserver.org/~mazder/temp/osm2pgsql/osm2pgsql-r19130-centos5

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread Peter Körner
I'd say if this is something you're going to be doing a lot of, it's probably best to download the whole planet (or the part of it you're working on). For the sake of not overloading the API as much as for making things easier on your end. Or you may suggest a patch for the api's source.

Re: [OSM-dev] cross-domain xmlhttprequest

2009-12-22 Thread Peter Körner
John Smith schrieb: 2009/12/22 Stephan Plepelits sk...@xover.htu.tuwien.ac.at: Does anybody see a problem adding these HTTP-Header-line to the OpenStreetMap-API and the Nominatim-API? If you don't want to wait for others to update their scripts you could proxy the request via a php

Re: [OSM-dev] cross-domain xmlhttprequest

2009-12-22 Thread Peter Körner
Just make a 1:1 proxy script then it will be a complete osm api ;) But where's the fun then? (; Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Osm2pgsql - Planet.osm fail - Unknown Element name : changeset

2009-12-22 Thread Peter Körner
Hi Quy phan, I'm not using osm2pgsql under centos, I just had a spare machine around where I compiled the binaries. To do this i installed (despite others) geos and geos-devel -- maybe you also need the latter? Peter ___ dev mailing list

[OSM-dev] JSON-Decoding-Bug in Nominatim

2009-12-23 Thread Peter Körner
Hi Ich habe lese mit PHP Daten von der nominatim API via JSON. Das Query http://nominatim.openstreetmap.org/?q=Stadeformat=json gibt mir ua. folgende Property aus: display_name:Stade, Avenue de Barbe d\'Or, Mont-de-Marsan, Landes, Station Total, Aquitaine, Frankreich das \' führt dabei auf

Re: [OSM-dev] JSON-Decoding-Bug in Nominatim

2009-12-23 Thread Peter Körner
See if that works for you now. Looks fine, thanks! Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Configurable number of results in Nominatim ?

2009-12-26 Thread Peter Körner
Is it possible to add support for a limit=XX argument, where XX is the number of results required, with 0 being a special value removing the limit ? I like to see this, too. I only need the best match, so a limit=1 would be cool. Peter ___ dev

Re: [OSM-dev] [Talk-de] DVB-T Empfangsqualität i n OSM mappen

2009-12-26 Thread Peter Körner
I don't think this is something that should go into the osm db for the same reasons we don't want e.g. air pollution: - it can change within days - it's not fixed on the ground - it's not easy verifiable by a mapper - it's different for different people (4st floor vs. basement) This is

Re: [OSM-dev] Planet OSM not showing up in GeoServer 1.6.5

2009-12-30 Thread Peter Körner
Hi Some ideas of what I got that might have made the map not preview: - Bad dataset (planet-091209.osm.bz2) is not good? Did you get any errors during the osm2pgsql import? Post the osm2pgsql output! Another weird peoblem is when I double click on map some weird character encoding comes

Re: [OSM-dev] Problem uploading: NoMethodError: undefined method `' for nil:NilClass

2010-01-04 Thread Peter Körner
NoMethodError: undefined method `' for nil:NilClass. I'm attaching This sounds as if JOSM's not sending any HTTP Request headers but directly the XML Content. A normal HTTP Request starts with Method Url HTTP/Version eg. GET /index.html HTTP/1.0 So if there's no Request-Header but only

Re: [OSM-dev] Major improvements to MapOSMatic

2010-01-05 Thread Peter Körner
Vector (SVG) symbols in mapnik are a work in progress I'm the one who sumbited the lates patch mapnik_svg.r1433.2.patch, but I gave up. I never developed C++ nor du I have any experiences with Cairo. So I'm unsure if one can call this in progress... Peter

Re: [OSM-dev] Again: Importing planet file with osmosis into PostgreSQL

2010-01-06 Thread Peter Körner
Frank Bielig schrieb: Hallo, I still want to setup up an own OSM server as a mirror. Therefore I downloaded the planet file (2009/12/23). A applied all replicate changesets till 2009/12/28 in hope of a consistend planet file. Just import the planet as you got it and apply the diffs

Re: [OSM-dev] Again: Importing planet file with osmosis into PostgreSQL

2010-01-06 Thread Peter Körner
Frank Bielig schrieb: Thank you for reply. But your import script uses osm2pgsql. This script expects the simple database schema for storing data. I really want to have an 1:1 mirror using the official schema. The only tool I found for that was osmosis. Oh, I'm sorry, I missed this. Does

Re: [OSM-dev] How to support name:* in MapOSMatic?

2010-01-08 Thread Peter Körner
On the toolserver we imported with this style [1] and so have the name, name:de, name:fr, etc. columns. Then we used the script [2] to created one view for each language and for each table: SELECT planet_osm_point.osm_id, planet_osm_point.access, planet_osm_point.addr:flats,

Re: [OSM-dev] Question on minute-replicate after planet import.

2010-01-19 Thread Peter Körner
Can older diff overlap more recent planet data without any trouble? Yes. You may also apply the same diff(s) multiple times without any harm. Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Mapnik output resolution

2010-02-09 Thread Peter Körner
http://trac.mapnik.org/ticket/343#comment:5 = Holger's script : http://www.ancalime.de/images/scalestyle.rb isn't online anymore On his homepage [1] he writes On request I can provide a ruby script scaling any given mapnik xml style file by a given factor (not tested thoroughly, but here

Re: [OSM-dev] Osmosis error

2010-02-15 Thread Peter Körner
Brett Henderson schrieb: It is used by the main launcher which automatically determines all the required jars and adds them to the classpath. I'll need to take a look at why it isn't being included. It's just not in the .tar.gz [1] or .zip [2] download, linked to from the wiki [3]. I fixed

Re: [OSM-dev] Need special data extracts

2010-02-21 Thread Peter Körner
I have not yet found a more convinient way than downloading a planet.osm You may want to query the XAPI for the relevant data http://wiki.openstreetmap.org/wiki/Xapi Peter ___ dev mailing list dev@openstreetmap.org

[OSM-dev] [Fwd: [Maps-l] OSM Toolserver - Going over pending..]

2010-02-22 Thread Peter Körner
...@gmail.com An: Map integration map...@lists.wikimedia.org CC: Peter Körner osm-li...@mazdermind.de On 22/02/10 12:39, Peter Körner wrote: So we're nearly done, we're sth. around one hour behind the main DB. Great, but again it seems rather slow. The problem is, that the Going over pending ways

Re: [OSM-dev] Slippy map tiles mismatch

2010-02-23 Thread Peter Körner
Matt Hampel schrieb: Here's what it looks like: http://screencast.com/t/ZThjZGYyN What am I supposed to see on that image? The osm homepage does not use static generated tiles (generate_tiles.py) but rather dynamic rendering and caching with mod_tile and apache. Maybe this is the root of your

[OSM-dev] Nominatim json -- coment

2010-02-25 Thread Peter Körner
Hi Nominatim now adds a comment to the json outout, like /* Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0. */ [{place_id:551851,osm_type:node,osm_id:240111242,boundingbox:[51.0165061950684,... This breaks one of our tools that uses the php json_decode function,

Re: [OSM-dev] Nominatim json -- coment

2010-02-26 Thread Peter Körner
Brian Quinion schrieb: /* Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0. */ This content needs to be in the file. Feel free to suggest alternative ways to format or present it but I don't think straight removal is possible. This breaks one of our tools

Re: [OSM-dev] Nominatim json -- coment

2010-02-26 Thread Peter Körner
Frederik Ramm schrieb: Brian, Just at the moment I'm at a loss to know why I spend my free (unpaid) time developing a tool when a small mistake gets me a load of abuse. Sorry I didn't want to bug you, I just encountered that the tool did not work any more and wanted to talk here about why

Re: [OSM-dev] Edit in JOSM link

2010-03-09 Thread Peter Körner
josm://openstreetmap.org/edit?lat=xlon=x http://openstreetmap.org/edit?lat=xlon=x This could also launch josm if it's not started already. Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] TRAPI status

2010-03-10 Thread Peter Körner
I started working on a streaming XML output plugin for Osmosis. I was intending to take advantage of PuSH/PubSubHub messaging and maybe even XMPP (so that you get a 1-min delayed IM when someone changes something in your bbox). Anyway, TRAPI could use this same plugin to

Re: [OSM-dev] Student Project Ideas?

2010-03-10 Thread Peter Körner
What you need is to generate a dirty-tiles list for every edit-session in the database and only display the edit-sessions whose dirty-tiles list includes tiles that you're looking at with slippy-map at that time. Such a dirty-tiles list could be used in tile-expiring on the render servers

Re: [OSM-dev] project idea

2010-03-12 Thread Peter Körner
Graham Jones schrieb: Thomas, I think this suggestion is essentially to provide a 'default' set of tags for ways depending on where the way is. If the tag is not explicitly included in the way, the API will return the default? I can not help with the technical aspects of this, but it

Re: [OSM-dev] osm2pgsql hstore support

2010-03-14 Thread Peter Körner
[1 On the one hand, this has the potential to greatly increase the size of the db, as you will now get all kinds of tags you're never interested in. On the other hand, one can now quickly use keys one never used before, without the need to reimport the whole db. When you just want to render a

Re: [OSM-dev] OSM home page and IE

2010-03-14 Thread Peter Körner
This seems to be fixed, thanks, tom! http://trac.openstreetmap.org/changeset/20472 Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] GSoC 2010. OpenStreetMap Mashup Generator Project

2010-03-14 Thread Peter Körner
Am 14.03.2010 21:08, schrieb Graham Jones: Sajjad, This sounds like an interesting idea - effectively an extension to embedding a simple OSM map on a web page to include data from another source. Please also take the possibility into account to draw your yown points, lines and shapes onto

Re: [OSM-dev] gpx upload php code

2010-03-17 Thread Peter Körner
Is there a php fragment somewhere yep, it's in PEAR: http://pear.php.net/package/HTTP_Request that handles the multipart-formencode http://pear.php.net/manual/en/package.http.http-request.file-upload.php and http auth? http://pear.php.net/manual/en/package.http.http-request.basic-auth.php

Re: [OSM-dev] Wishes

2010-03-18 Thread Peter Körner
Bernhard zwischenbrugger schrieb: Hi all My iPhone map tracker is now nearly finished. There are 2 things that I can't do. The GPX upload API is crap. Please, don't do that. If you think it's not good, get the code from svn and fix it. GPX is XML and there is no need for

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Peter Körner
Creating OSM files would be easy for us. But where would we sent them? Simply put them on our webserver and make an announcement on the osm list hey, we have some osm data to be merged/imported! Have fun!!? There are apis to upload them, but you are not encouraged to upload massive amounts

Re: [OSM-dev] Inserting OSM data

2010-03-22 Thread Peter Körner
Thus the data we are producing is already of high value (could directly be inserted into the public OSM database). Could you please provide an extract of this data so we can take a look at the quality ourself? Thank you! Peter ___ dev mailing list

[OSM-dev] Query-Formats

2010-03-23 Thread Peter Körner
Hi On the osm dev-server we're playing around with the postgres-hstore extension which allows us to repond to xapi-like queries, but with already assembled LIESTRINGs and such neat things. I'm currently thinking about the interface on how to query this resource and i'd like to be able to ask

Re: [OSM-dev] Query-Formats

2010-03-23 Thread Peter Körner
Frederik Ramm schrieb: Hi, Peter Körner wrote: So I was thinking about an XML-Based interface: I don't like XML but computers are said to like it. What dou you like better? The query could be re-formulated as json or even yaml. Would that solve you're concerns? Would you return

Re: [OSM-dev] Query-Formats

2010-03-23 Thread Peter Körner
Stefan de Konink schrieb: Just make a dbslayer interface, presented that last year on sotm. Can DBSlayer also query Postgresql? Can I intervent and only allow some query types? Peter ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Query-Formats

2010-03-24 Thread Peter Körner
The NYTimes version can't the Cherokee version can. And administration of 'certain query types' is usually not the idea of a public SQL interface. Anyway you could of course make a view on the data that only provides select capabilities. The problem is that the queries must be formated in a

Re: [OSM-dev] osbsql2osm Windows binary

2010-03-24 Thread Peter Körner
compile it for me? http://toolserver.org/~mazder/temp/osbsql2osm-0.3.1-cygwin-win32.zip Peter ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Removing Minutely and Hourly Changesets

2010-03-24 Thread Peter Körner
Lennard schrieb: The heavies task is 1. Maybe we could set up a database for this task.. Peter I rather liked Brett's earlier suggestion to have this solved on the diff server itself. So you could wget http://diffserver/state/minute/20100301_00;, and the web service would find the

[OSM-dev] Getting the replication-sequenceNumber by date

2010-03-25 Thread Peter Körner
So you could wget http://diffserver/state/minute/20100301_00;, and the web service would find the right state file and return it to you. So here it is: http://toolserver.org/~mazder/replicate-sequences/ or, if you want to access it via an API-Call

Re: [OSM-dev] Getting the replication-sequenceNumber by date

2010-03-25 Thread Peter Körner
So here it is: http://toolserver.org/~mazder/replicate-sequences/ I forgot: Source and an initial dump can be found here: http://svn.toolserver.org/svnroot/mazder/replicate-sequences/ Peter ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Getting the replication-sequenceNumber by date

2010-03-25 Thread Peter Körner
Very nice, simple, quick. And a little hacky, but well - it works. The half hour delay could be gone if this service ran on the diff server (or close to it). I could just set up the cronjob runtime, but I didn't want to overload willow if it's not really neccessary. If you enter a date that

Re: [OSM-dev] osm2pgsql bbox filter when applying diffs?

2010-03-26 Thread Peter Körner
Is there a way to process the diff files in a way that the diff only contains changes in my area of interest? If you're fetching the diffs with osmosis --rrii --wxc, can't you plug a --bb task afzter that? Or does this task not work with changeset-streams? If so, this would be the place to

Re: [OSM-dev] osm2pgsql bbox filter when applying diffs?

2010-03-26 Thread Peter Körner
Hi No. Imagine a relation with 500 members and someone changes a tag. The relation itself will be contained in the osmChange file, but none of the members will because they are unchanged. Any task handling the osmChange file will not know anything about the spatial extent of the relation.

Re: [OSM-dev] hstore / db schema Was: Query-Formats

2010-03-26 Thread Peter Körner
Brett Henderson schrieb: I am currently building most of my applications around the osmosis db schema but the split into node and node_tags and way and way_tags is - hum - not very efficient. The current schema is fairly naive in its implementation. I hadn't heard of hstore

Re: [OSM-dev] Removing Minutely and Hourly Changesets

2010-03-28 Thread Peter Körner
I'm currently setting up such a service, may be already working tonight. I just wanted to give this a try. Is this already working? What do I use for diffserver? I announced it in a different Post. Take a look here: http://lists.openstreetmap.org/pipermail/dev/2010-March/019106.html Peter

Re: [OSM-dev] OSM Data Update

2010-03-31 Thread Peter Körner
Jim Brown schrieb: Frederik wrote: You should never assume that OSM Way IDs (or indeed any IDs) remain unchanged. The data layer on www.openstreetmap.org is your friend if you want to find out the history of a particular stretch of motorway. If the ids change it makes diff processing a

Re: [OSM-dev] Data download anomaly

2010-04-01 Thread Peter Körner
Thomas Emge schrieb: I am performing a GET request to download some data as in http://api.openstreetmap.org/api/0.6/map?bbox=7.14746,50.68080,7.16356,50.68613 Looking through the response I discovered that parts of the relations are “missing”. Well, I guess they are not really missing but

Re: [OSM-dev] International Labels for Tags

2010-04-07 Thread Peter Körner
Gregory schrieb: Editors could work in different languages, so you add a highway=semáforo but the map editor translates it to highway=traffic_signals before uploading it to OSM. I would discourage such a transformation, because a translation will not be unambiguous in all cases. Also, so. used

  1   2   3   4   5   >