Re: [OSM-dev-fr] Osm2pgsql schema : renverser planet_osm_rels

2012-04-15 Thread sly (sylvain letuffe)
J'ai peur que ma réponse puisse tomber tout à fait à coté de la plaque, mais histoire que tu te sentes soutenu dans ton problème ;-) Perso, j'ai un peu peur de cette condition : WHERE b.osm_id = ANY(planet_osm_rels.parts); Non pas que je vois une meilleure idée, mais

[OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Stefan Keller
Hi, With a XAPI API I'd like to make following query types (operators/predicates): 1) OR query: Example [amenity=restaurant] OR [tourism=office] 2. NOT query: Example NOT [cuisine=pizza] What could be a suitable syntax for doing this? My suggestions: 1a)

[OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Sven Geggus
Hello, I have a local mod-tile+ tirex installation running on my desktop at home. Now to publish this tiles on a machine without mod-tile I would like to convert this stuff to a flat file layout z/x/y.png I already found convert_meta which will produce the required png files but not the z/x/y

Re: [OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Martin Koppenhoefer
Am 15. April 2012 19:27 schrieb Sven Geggus li...@fuchsschwanzdomain.de: Hello, I have a local mod-tile+ tirex installation running on my desktop at home. Now to publish this tiles on a machine without mod-tile I would like to convert this stuff to a flat file layout z/x/y.png I already

Re: [OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Paul Hartmann
2012/4/15 Stefan Keller sfkel...@gmail.com: Hi, With a XAPI API I'd like to make following query types (operators/predicates): 1) OR query: Example [amenity=restaurant] OR [tourism=office] 2. NOT query: Example NOT [cuisine=pizza] What could be a suitable syntax for doing this? My

Re: [OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Philipp Borgers
Hi, issue two queries? One for [amenity=restaurant] and one for [toursim=office] ? I think the pipe | is intended for keys and values. You can do something like this [amenity|tourism=restaurant|office]. This returns entities for amenity=restaurant, amenitry=office, tourism=restaurant and

Re: [OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Stefan Keller
Hi, 2012/4/15 Paul Hartmann phaau...@googlemail.com wrote: 2012/4/15 Stefan Keller sfkel...@gmail.com: Hi, With a XAPI API I'd like to make following query types (operators/predicates): 1) OR query: Example [amenity=restaurant] OR [tourism=office] 2. NOT query: Example NOT [cuisine=pizza]

Re: [OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Stefan Keller
Hi, 2012/4/15 Philipp Borgers borg...@mi.fu-berlin.de: Hi, issue two queries? One for [amenity=restaurant] and one for [toursim=office] ? I think the pipe | is intended for keys and values. You can do something like this [amenity|tourism=restaurant|office]. This returns entities for

Re: [OSM-dev] Syntax of XAPI queries with OR and NOT?

2012-04-15 Thread Ian Dees
On Sun, Apr 15, 2012 at 3:26 PM, Stefan Keller sfkel...@gmail.com wrote: Hi, 2012/4/15 Philipp Borgers borg...@mi.fu-berlin.de: Hi, issue two queries? One for [amenity=restaurant] and one for [toursim=office] ? I think the pipe | is intended for keys and values. You can do

Re: [OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Stefan de Konink
On 15-04-12 19:27, Sven Geggus wrote: What is the magic with this? How can I convert something like 11/0/0/66/61/112.png The Dutch tile server does do metatiling for rendering, but writes it out as static png files, served out with Cherokee as static webserver. It is a minor change to

Re: [OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Stefan de Konink
On 15-04-12 22:58, Sven Geggus wrote: Basically I'm looking for a script which will convert my mod-tile directory to something which can be served by a static Webserver. So nothing 'on the fly'? Only postprocessed? Stefan ___ dev mailing list

Re: [OSM-dev] converting mod-tile dir to flat files?

2012-04-15 Thread Sven Geggus
Stefan de Konink ste...@konink.de wrote: So nothing 'on the fly'? Only postprocessed? Yes. Sven -- If you continue running Windows, your system may become unstable. (Windows 95 BSOD) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev