[OSM-dev-fr] debutant sql : distinct et/ou jointure

2012-09-04 Thread didier2020
bonjour, j'ai une table avec 2 champs : localisation et valeur (les valeurs sont connues) je veux faire une matrice de x colonnes ligne = localisation, colonne = somme des valeur par type de valeur | 0 | 1 | 2 | ici | 26 [ 32 | 1 | laba| 1 | 5 | 0 | je fais 3 requete puis je une

Re: [OSM-dev-fr] debutant sql : distinct et/ou jointure

2012-09-04 Thread Vincent de Chateau-Thierry
Bonjour, De : didier2020 j'ai une table avec 2 champs : localisation et valeur (les valeurs sont connues) je veux faire une matrice de x colonnes ligne = localisation, colonne = somme des valeur par type de valeur | 0 | 1 | 2 | ici | 26 [ 32 | 1 | laba| 1 | 5 | 0 | je fais 3

Re: [OSM-dev-fr] debutant sql : distinct et/ou jointure

2012-09-04 Thread Frédéric Rodrigo
Si tu n'as pas beaucoup de colonnes tu peux aussi le faire à la main avec des unions. Le 04/09/2012 10:57, didier2020 a écrit : merci pour le lien et pas merci pour mon neurone ;) didier Le mardi 04 septembre 2012 à 10:32 +0200, Vincent de Chateau-Thierry a écrit : Bonjour, De : didier2020

Re: [OSM-dev-fr] Réf.: Re: live.openstreetmap.fr besoin de test et retours avant annonce...

2012-09-04 Thread Pieren
Fallait pas en parler sur IRC ;-) Qui est le coupable ? Pieren ___ dev-fr mailing list dev-fr@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev-fr

Re: [OSM-dev-fr] debutant sql : distinct et/ou jointure

2012-09-04 Thread didier2020
merci pour vos reponses :) Le mardi 04 septembre 2012 à 11:18 +0200, Bruno Cortial a écrit : Bonjour, Sinon en SQL bourrin : SELECT localisation, SUM(CASE WHEN valeur = 1 THEN 1 ELSE 0 END), SUM(CASE WHEN valeur = 2 THEN 1 ELSE 0 END), SUM(CASE WHEN valeur = 3 THEN 1 ELSE 0 END), FROM

[OSM-dev] osm-tools (alpha) for windows [was: How to compile osm2pgsql without persistent node cache?]

2012-09-04 Thread Peter Körner
Hi Am 02.09.2012 19:47, schrieb Kai Krueger: OK, so now osm2pgsql builds on Linux, FreeBSD, Mac OSX and Solaris. If only someone could figure out how to build osm2pgsql on Windows... I built osm2pgsql under cygwin as well as all the gdal and osmium tools. I planned to distribute them soon

Re: [OSM-dev] Broken Daily Replication Diffs

2012-09-04 Thread Brett Henderson
On 4 September 2012 15:48, Stéphane Henriod s...@henriod.info wrote: Hi Brett Is this problem only for the daily diffs, or also for the minutes and hours? I am trying to get the minutely diffs working and get some strange error messages *Unable to read the changeset file on the server* It

[josm-dev] Automatically activate ImageryProvider for current area?

2012-09-04 Thread Dr. Tilmann Bubeck
Hello! JOSM already includes a large number of imagery providers. Some of them are activated by default, but most are not. I would like to improve JOSM to automatically activate (or deactivate) all imagery providers which are available for the current area, which the user is editing.

Re: [josm-dev] Automatically activate ImageryProvider for current area?

2012-09-04 Thread Vincent Privat
Hello, Have you tried the current tested version ? It's one of the major changes that have been made: http://josm.openstreetmap.de/wiki/Changelog#a2012-08-31:Stablereleaser5485 major changes/enhancements - Imagery layers: - Suggest imagery layers for downloaded area based on their

Re: [josm-dev] Automatically activate ImageryProvider for current area?

2012-09-04 Thread Dr. Tilmann Bubeck
Vincent, No, obviously I haven't.. :-) Great to see this already done... Thanks! Kind regards, Till ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev