[OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Marc Sibert

Bonjour,

Est-ce que quelqu'un peut jeter un coup d’œil.

Merci

--
Marc Sibert
mailto:m...@sibert.fr


___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Jocelyn Jaubert
Le 7 mai 2012, Marc Sibert a écrit :
 Bonjour,
 
 Est-ce que quelqu'un peut jeter un coup d’œil.

(je forwarde sur tech@).


Je viens de redémarrer osm4 via l'interface ILO, mais ça n'a pas l'air
de repartir tout de suite... J'ai ce message dans les logs:

POST Error: 1779-Drive Array Controller Detects Replacement Drives


Il me semble que ça veut dire que ça ne démarrera pas tant que
quelqu'un ne forcera pas la machine à démarrer en appuyant sur le
bouton approprié.


-- 
Jocelyn

___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Jocelyn Jaubert
Le 7 mai 2012, Jocelyn Jaubert a écrit :
 Le 7 mai 2012, Marc Sibert a écrit :
  Bonjour,
  
  Est-ce que quelqu'un peut jeter un coup d’œil.
 
 (je forwarde sur tech@).

(ce qui est idiot parce que les listes sont sur osm4 qui est tombé...)

 Il me semble que ça veut dire que ça ne démarrera pas tant que
 quelqu'un ne forcera pas la machine à démarrer en appuyant sur le
 bouton approprié.

J'ai envoyé un email à l'équipe du Crans pour demander leur aide sur ce
problème.

On a toujours les backups si on veut mettre le site sur une autre
machine, mais je ne sais pas exactement comment le tout était
configuré. Je vais voir ce que je peux faire dans une VM de osm11.



-- 
Jocelyn

___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Marc Sibert

Le 07/05/2012 17:33, Jocelyn Jaubert a écrit :

Le 7 mai 2012, Marc Sibert a écrit :

Bonjour,

Est-ce que quelqu'un peut jeter un coup d’œil.

(je forwarde sur tech@).


Je viens de redémarrer osm4 via l'interface ILO, mais ça n'a pas l'air
de repartir tout de suite... J'ai ce message dans les logs:

POST Error: 1779-Drive Array Controller Detects Replacement Drives


Il me semble que ça veut dire que ça ne démarrera pas tant que
quelqu'un ne forcera pas la machine à démarrer en appuyant sur le
bouton approprié.


Pensez-vous qu'il est possible de faire autre chose que d'attendre, il y 
a-t-il une sauvegarde quelque part ?

J'ai un hébergement chez OVH que je peux mettre à dispo

C'est vraiment dommage de laisser une page vide pour le site français, non ?

A+

--
Marc Sibert
mailto:m...@sibert.fr


___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


[OSM-dev-fr] Osmosis et enforcement=maxspeed

2012-05-07 Thread Brice Hardy
Bonsoir à tous,

J'avais parlé, il y a un petit moment, sur la liste talk-fr d'un projet 
d'application iPhone qui indiquerait la vitesse limite sur la portion de route 
sur laquelle l'utilisateur se trouve.
Pour arriver à mes fins, on m'avait conseillé d'utiliser Osmosis pour extraire 
les données qui m'intéressent.
La page du wiki expliquant son utilisation m'ayant effrayé à l'époque, j'ai un 
peu délaissé le sujet... Mais me re-voilà, dans un nouvel élan de motivation, 
et avec un peu plus d'expérience dans le développement iPhone.

Je me suis donc installé une machine virtuelle sous ubuntu server (histoire de 
pas toucher à ma configuration sur ma session mac et risquer de commettre une 
erreur irréparable...) et j'ai installé Osmosis, téléchargé un extract de la 
région PACA et essayé de ne garder que les informations sur les relations 
contenant le tag enforcement=maxspeed.

Mais je ne suis pas certain que ma commande soit bonne... Voilà celle que j'ai 
utilisé :
osmosis --read-xml file=provence-alpes-coted-azur.osm --tag-filter 
accept-relations enforcement=maxspeed --write-xml 
file=provence-alpes-cote-d-azur.enforcement_maxspeed.osm

Qu'en pensez-vous ?

Ce que je souhaiterai ensuite faire c'est de retenir la vitesse limite 
autorisée sur ces portions et les afficher lorsque l'on se trouve dessus.


Brice Hardy
___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Jocelyn Jaubert
Le 7 mai 2012, Jocelyn Jaubert a écrit :
 J'ai envoyé un email à l'équipe du Crans pour demander leur aide sur
 ce problème.

Le Crans a réussi à redémarrer le serveur osm4, mais il se trouve que
le RAID0 qui y est installé ne repart pas correctement - il doit y
avoir des corruptions sur un des disques. Du coup, les fichiers ne sont
pas vraiment récupérables.


 On a toujours les backups si on veut mettre le site sur une autre
 machine, mais je ne sais pas exactement comment le tout était
 configuré. Je vais voir ce que je peux faire dans une VM de osm11.

J'ai du coup copié les backups de osm4 sur osm101 (une VM de osm11), et
remis en place http://www.openstreetmap.fr (qui sera visible après
propagation des DNS)

Le forum, galette, taginfo et trac devraient être récupérables aussi.

Concernant les listes d'email sympa, j'ai l'impression qu'on n'a pas de
backup de la base de données, mais uniquement des fichiers. Est-ce que
quelqu'un sait ce qu'il faut mettre dans la base de donnée pour que ça
remarche correctement ?


-- 
Jocelyn

___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Marc Sibert

Le 07/05/2012 22:14, Jocelyn Jaubert a écrit :

Le 7 mai 2012, Jocelyn Jaubert a écrit :

J'ai envoyé un email à l'équipe du Crans pour demander leur aide sur
ce problème.

Le Crans a réussi à redémarrer le serveur osm4, mais il se trouve que
le RAID0 qui y est installé ne repart pas correctement - il doit y
avoir des corruptions sur un des disques. Du coup, les fichiers ne sont
pas vraiment récupérables.



On a toujours les backups si on veut mettre le site sur une autre
machine, mais je ne sais pas exactement comment le tout était
configuré. Je vais voir ce que je peux faire dans une VM de osm11.

J'ai du coup copié les backups de osm4 sur osm101 (une VM de osm11), et
remis en place http://www.openstreetmap.fr (qui sera visible après
propagation des DNS)

Le forum, galette, taginfo et trac devraient être récupérables aussi.

Concernant les listes d'email sympa, j'ai l'impression qu'on n'a pas de
backup de la base de données, mais uniquement des fichiers. Est-ce que
quelqu'un sait ce qu'il faut mettre dans la base de donnée pour que ça
remarche correctement ?



En tout cas merci pour ta réactivité.

Mes 0.02 € : osm.fr *doit* être hébergé chez un pro.

A+

--
Marc Sibert
mailto:m...@sibert.fr


___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] Osmosis et enforcement=maxspeed

2012-05-07 Thread Marc Sibert

Le 07/05/2012 21:44, Brice Hardy a écrit :

Bonsoir à tous,

J'avais parlé, il y a un petit moment, sur la liste talk-fr d'un projet 
d'application iPhone qui indiquerait la vitesse limite sur la portion de route 
sur laquelle l'utilisateur se trouve.
Pour arriver à mes fins, on m'avait conseillé d'utiliser Osmosis pour extraire 
les données qui m'intéressent.
La page du wiki expliquant son utilisation m'ayant effrayé à l'époque, j'ai un peu 
délaissé le sujet... Mais me re-voilà, dans un nouvel élan de motivation, et avec 
un peu plus d'expérience dans le développement iPhone.

Je me suis donc installé une machine virtuelle sous ubuntu server (histoire de 
pas toucher à ma configuration sur ma session mac et risquer de commettre une 
erreur irréparable...) et j'ai installé Osmosis, téléchargé un extract de la 
région PACA et essayé de ne garder que les informations sur les relations 
contenant le tag enforcement=maxspeed.

Mais je ne suis pas certain que ma commande soit bonne... Voilà celle que j'ai 
utilisé :
osmosis --read-xml file=provence-alpes-coted-azur.osm --tag-filter accept-relations 
enforcement=maxspeed --write-xml 
file=provence-alpes-cote-d-azur.enforcement_maxspeed.osm

Qu'en pensez-vous ?

Ce que je souhaiterai ensuite faire c'est de retenir la vitesse limite 
autorisée sur ces portions et les afficher lorsque l'on se trouve dessus.


Brice Hardy
___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr

Bonsoir,

Juste un point (de taille) ; la vitesse limite c'est maxspeed=xx en 
km/h. enforcement concerne les mesures effectuées par les forces de 
l'ordre (vitesse, poids, hauteur etc.)


A+

--
Marc Sibert
mailto:m...@sibert.fr


___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


Re: [OSM-dev-fr] SOS openstreetmap.fr HS

2012-05-07 Thread Pieren
2012/5/7 Marc Sibert m...@sibert.fr:
 Le 07/05/2012 22:14, Jocelyn Jaubert a écrit :
 Le 7 mai 2012, Jocelyn Jaubert a écrit :
 Le Crans a réussi à redémarrer le serveur osm4, mais il se trouve que
 le RAID0 qui y est installé ne repart pas correctement - il doit y
 avoir des corruptions sur un des disques. Du coup, les fichiers ne sont
 pas vraiment récupérables.

 Mes 0.02 € : osm.fr *doit* être hébergé chez un pro.

Pas forcément. Le problème ici n'est pas l'hébergeur mais d'avoir
monter du RAID0 qui n'a aucune redondance.
Pour l'instant, on retrouve la page d’accueil mais je ne peux pas me
loguer et accéder à mon dernier blog. J'espère qu'il n'est pas perdu.

Pieren

___
dev-fr mailing list
dev-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev-fr


[Potlatch-dev] [OpenStreetMap] #4395: Potlatch2 creating one node ways

2012-05-07 Thread OpenStreetMap
#4395: Potlatch2 creating one node ways
---+
 Reporter:  Maetma |   Owner:  potlatch-dev@…
 Type:  defect |  Status:  new   
 Priority:  major  |   Milestone:
Component:  potlatch2  | Version:
 Keywords: |  
---+
 Potlatch2 is cretae way with one unique node. This is bad. Please fix it.

 Exemple : http://www.openstreetmap.org/browse/way/160921016/history

-- 
Ticket URL: https://trac.openstreetmap.org/ticket/4395
OpenStreetMap http://www.openstreetmap.org/
OpenStreetMap is a free editable map of the whole world

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] [OpenStreetMap] #4395: Potlatch2 creating one node ways

2012-05-07 Thread OpenStreetMap
#4395: Potlatch2 creating one node ways
+---
  Reporter:  Maetma |   Owner:  potlatch-dev@…
  Type:  defect |  Status:  closed
  Priority:  major  |   Milestone:
 Component:  potlatch2  | Version:
Resolution:  invalid|Keywords:
+---
Changes (by Richard):

  * status:  new = closed
  * resolution:  = invalid


Comment:

 Please read the How to be a helpful bug reporter paragraph on the first
 page of trac.osm.org and come back when you can file a helpful report.

-- 
Ticket URL: https://trac.openstreetmap.org/ticket/4395#comment:1
OpenStreetMap http://www.openstreetmap.org/
OpenStreetMap is a free editable map of the whole world

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


[OSM-dev] A few coastline related questions

2012-05-07 Thread Preet
Hiya,

I'm trying to extract coastline data from OSM... specifically, I want
shapefiles exactly like the ones that are available (processed_p and
shoreline_300), but
* in wgs84 (no projection to mercator)
* without splitting up of polys into tiles

I'm not using the data with Mapnik or to draw it onto tiles -- instead
I'm converting the shapefiles into a mesh
(http://i.imgur.com/vuYmc.png).

So I have a few related questions...
Are there any tools I can use to merge the tiles into more reasonable
polys? Something along the lines of the data available from
NaturalEarthData?

If not, I see there are a couple of tools to extract the data
directly: coastlinecheck
(http://svn.openstreetmap.org/applications/utils/coastcheck/), and
osmcoastline (https://github.com/joto/osmcoastline/). Both of these
process planet.osm.pbf, which sometimes needs a 64bit machine with a
certain amount of ram etc, depending on what exactly the tool is
doing. I have an older computer with 2gb of ram...
Would it be possible for me to use either of these tools?

Preet

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-07 Thread Tomas Straupis
So what is the general rule?
Inner polygons in multipolygon should not have shared vectors (or in
human readable format: inner polygons should not touch each
other)?

-- 
Tomas Straupis

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-07 Thread Frederik Ramm

Hi,

On 05/07/2012 09:23 AM, Tomas Straupis wrote:

Inner polygons in multipolygon should not have shared vectors (or in
human readable format: inner polygons should not touch each
other)?


I'm confused now. The polygon that Ramunas mentioned, with two touching 
inner rings, should indeed be processed fine by osm2pgsql; we've long 
said that this particular violation of OCG simple features is ok for us 
and I thought that osm2pgsql handled that well.


Therefore when Ramunas wrote that he had to patch osm2pgsql to handle 
this, I assumed it must have been some other problem.


My current working assumption is that touching inner rings are ok and 
this is our one and only deviation from OGC simple features (and I 
thought osm2pgsql would already dissolve the two touching inners into 
one hole for the polygon).


Inner rings touching the outer ring, or intersections between any 
inner/outer rings, are not ok though.


Bye
Frederik

--
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] A few coastline related questions

2012-05-07 Thread Sven Geggus
Preet prismatic.proj...@gmail.com wrote:

 * without splitting up of polys into tiles

Are you shure that you want an unsplitted europe-asia-afrika?

 Both of these process planet.osm.pbf, which sometimes needs a 64bit
 machine with a certain amount of ram etc, depending on what exactly the
 tool is doing. I have an older computer with 2gb of ram... Would it be
 possible for me to use either of these tools?

You don't need a full Planet. Just the coastlines are sufficient.

These can be extracted from the planet using osmcoastline_extract from
Jochens toolchain.   
 
Sven

-- 
Um Kontrolle Ihres Kontos wiederzugewinnen, klicken Sie bitte auf das
Verbindungsgebrüll. (aus einer Ebay fishing Mail)

/me is giggls@ircnet, http://sven.gegg.us/ on the Web

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-07 Thread Ramas
From user point this relation is correct but from geos point - not. The
problem is that this polygon(and many others) was skipped without any
warnings. You cannot fix it if you dont know where error is.

On 7 May 2012 01:17, Sven Geggus li...@fuchsschwanzdomain.de wrote:

 Ramas ies...@ramuno.lt wrote:

  how do you solve problem with skipped invalid polygons?

 Fix it in the osm database?

  with error:
  Self-intersection at or near point 2889220.240002 7470212.12

 This does not look as a valid polygon to me at leadt in OGC Simple
 Features terms.  This could arguably get fixed in osm2pgsql code
 because it is know how it is meant to be in this case, but it is not
 a valid OGC Simple Features polygon.

 Just add an additional way around 160596899 and 160596916 and declare
 this one of type inner.

  I patched osm2pgsql and it allows to import such polygons. Mapnik renders
  it correctly.

 Not a good Idea IMO because there is more than Mapnik and quite a lot
 of the spatial operations in postgis will not work with invalid
 geometries.

 Does we need such validations?

 I definitely think we do. If osm2pgsql does import and render invalid
 polygons they will never get fixes in the database.

 Sven

 --
 Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär,
 und - dank Knut - insbesondere der Eisbär, deutlich größerer
 Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/)
 /me is giggls@ircnet, http://sven.gegg.us/ on the Web

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] A few coastline related questions

2012-05-07 Thread Frederik Ramm

On 05/07/2012 09:06 AM, Preet wrote:

Hiya,

I'm trying to extract coastline data from OSM... specifically, I want
shapefiles exactly like the ones that are available (processed_p and
shoreline_300), but
* in wgs84 (no projection to mercator)
* without splitting up of polys into tiles


I've made this (very large) shapefile which has these properties with 
Jochen's osmcoastline tool:


http://www.remote.org/frederik/tmp/nontiledland.zip

(Temporary link; if you read this email in an archive later you are 
unlikely to find the file and you will have to build your own using 
Jochen's tool and a current planet extract.)


Bye
Frederik

--
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] osm2pgsql invalid polygons

2012-05-07 Thread Sven Geggus
Ramas ies...@ramuno.lt wrote:

 From user point this relation is correct but from geos point - not.

Whatever your definition of OK may be. The Problem with multipolygons in
their current form ist that there is no definition of a correct
multipolygon AFAIK.

As far as your Example is concerned this is (at least) marked as broken in OSM
Inspektor:

http://tools.geofabrik.de/osmi/?view=multipolygonlon=25.95446lat=55.55431zoom=18overlays=invalid_geometry_hull,duplicate_ways,intersections,intersection_lines,ring_not_closed_hull,ring_not_closed,unconnected_end_nodes,touching_inner_rings_hull,touching_inner_rings,role_mismatch_hull,role_mismatch,duplicate_tags_hull,duplicate_tags,multipolygons_type_is_boundary,type_is_boundary,ways,role_markers,way_end_nodes,way_nodes


Sven

-- 
Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär,
und - dank Knut - insbesondere der Eisbär, deutlich größerer
Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] A few coastline related questions

2012-05-07 Thread Preet
On Mon, May 7, 2012 at 5:27 AM, Frederik Ramm frede...@remote.org wrote:
 On 05/07/2012 09:06 AM, Preet wrote:

 Hiya,

 I'm trying to extract coastline data from OSM... specifically, I want
 shapefiles exactly like the ones that are available (processed_p and
 shoreline_300), but
 * in wgs84 (no projection to mercator)
 * without splitting up of polys into tiles


 I've made this (very large) shapefile which has these properties with
 Jochen's osmcoastline tool:

 http://www.remote.org/frederik/tmp/nontiledland.zip

 (Temporary link; if you read this email in an archive later you are unlikely
 to find the file and you will have to build your own using Jochen's tool and
 a current planet extract.)

Awesome -- thank you!

 Bye
 Frederik

 --
 Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09 E008°23'33


 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev


I'd also like to briefly mention how I repaired the polygons I used
from NaturalEarthData. I know Jochen's tool and coastcheck do some
repairing as well, and they may be better suited (I'm not entirely
sure what they do under the hood), but there's this tool that I found
pretty handy available here: https://github.com/tudelft-gist/prepair.

It uses constrained triangulation to fix polygons so that they conform
to the common simple feature standard -- the paper can be found here:
http://www.gdmc.nl/ledoux/pdfs/_12agile.pdf. It may be of some use in
automating polygon repair for osm coastlines.

Regards,

Preet

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev