Re: [OSM-dev-fr] python shapely - c geos

2012-11-16 Thread Yves CAINAUD
Eh bé ? 2éme réponse de 'geos simple example' dans gg ;)

http://lists.osgeo.org/pipermail/geos-devel/2007-May/002895.html

Yves

Le 16 novembre 2012 09:07, didier2020 didier2...@free.fr a écrit :

 bonjour,
 j'explique:
 actuellement j'utilise python et shapely, et certains traitement sont
 trop long (  millions de boucle pour faire quelques centaines de
 corrections)
 j'ai pensé qu'un programme en c pourrait etre plus efficace.
 comme geos est utilisé par qadastre, j'ai commencé a essayer de
 comprendre ...

 je connais quelqu'un qui peut m'aider pour la programmation c, il m'a
 demandé un point de départ sur ce que je voulais faire

 d'ou ma demande:
 un bout de code qui cré 8 points et deux polygones ou linearings.
 les exemples que j'ai trouvé jusqu'a maintenant sont trop complexes par
 rapport a ma connaissance du c / programmation.

 merci d'avance
 didier






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

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


Re: [OSM-dev-fr] Notification renderd planté

2012-11-16 Thread Yves CAINAUD
Merci a tout les deux!
J'avais déjà essayé upstart/service pour démarrer renderd, mais je galérais
pas mal. Du coup, je suis revenu sur le bon vieux /etc/init.d (mais si j'ai
bien compris, c'est upstart qui s'occupe, maintenant).
Effectivement, monit convient tout à fait! Mes résultats de recherches
était essentiellement surchargé de Nagios qui est (un peu) overkill pour 1
process.

Yves

Le 16 novembre 2012 12:07, Rodolphe Quiedeville
rodol...@quiedeville.orga écrit :

 Yves CAINAUD a écrit on 16/11/12 09:10:

  Salut,
 Renderd est vraiment stable, néanmoins j'aimerai gérer le fait qu'il
 puisse planter sur un  serveur ubuntu 2.04, renderd est lancé depuis
 /etc/init.d/renderd (celui qui n'a jamais compilé geos, postgis, gdal,
 mapnik et mod_tile/renderd dans le désordre me jette un caillou).

 Quelle sont les meilleures manières de faire? Un script maison lancé par
 cron avec tentative de re-lancement avant notification email, ou y
 a-t-il une manière consacrée pour çà ?


 As-tu regardé du coté d'outil comme 'monit' (pquet eponyme) dont le but
 est justement de surveiller qu'un process tourne et de le relancer au cas
 où.

 A++

 --
 Rodolphe Quiédeville - Artisan Logiciel Libre
 http://cartosm.eu - Intégration de carte libre sur site web
 Blog : 
 http://blog.rodolphe.**quiedeville.org/http://blog.rodolphe.quiedeville.org/


 __**_
 dev-fr mailing list
 dev-fr@openstreetmap.org
 http://lists.openstreetmap.**org/listinfo/dev-frhttp://lists.openstreetmap.org/listinfo/dev-fr

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


Re: [OSM-dev] Status of the Mapnik stylesheets

2012-11-14 Thread Yves CAINAUD
There is anyway an issue with the current Trac instance :

source: subversion/applications/rendering/mapnik/osm.xml @ 28049
HTML preview not available, since the file size exceeds 102400 bytes.

Could somebody increase this limit to 200-300K ? According to the wiki it's
in /var/lib/trac/conf/trac.ini on Shenron.

[mimeviewer]
max_preview_size = 30

Yves

2012/11/14 Kai Krueger kakrue...@gmail.com

 Tom MacWright wrote
  The biggest problem with the Mapnik stylesheet right now is that it's in
  SVN. Not the technology, but the fact that this gives people without
  commit
  access to that repository no clear way to contribute. There is no way to
  'just do it' until the style is actually maintained in GitHub, actually
  welcomes contributions, and has active maintainers. Until then we're just
  talking.

 I though SVN actually worked better than github for projects that don't
 have
 a maintainer. The SVN repository used to have a very inclusive account
 policy. I.e. basically anyone could get an account and then commit to any
 part of the repository.

 So people could just do it and commit their patches to the master branch
 of a project even if there was no clear or active maintainer. So people
 didn't even have to wait for someone to pull their patch into the
 maintainers repository. Whether those changes would then actually get
 deployed to the OSMF tileserver is another matter, but that is the same
 issue with any github repository too.

 But yes, I agree that currently the lack of a maintainer for the osm mapnik
 style sheet is probably the main problem.

 Kai




 --
 View this message in context:
 http://gis.19327.n5.nabble.com/Status-of-the-Mapnik-stylesheets-tp5735606p5735694.html
 Sent from the Developer Discussion mailing list archive at Nabble.com.

 ___
 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] 404 from Apache2/mod_tile

2012-11-09 Thread Yves CAINAUD
(Sorry, was meant to the list)
I may have been the same issue until now.
Adding the general apache directive 'TimeOut 10' in the same virtualhost
seems to help (if 10 seconds are enough). Can you confirm ?

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


Re: [OSM-dev] Modtile issue

2012-06-28 Thread Yves CAINAUD
Thanks Frederik, while your remarks make sense, it's not enough I'm afraid.
Is there any way to log how mod_tile handles requests?

apachectl -t -D DUMP_MODULES
/usr/sbin/apachectl: line 87: ulimit: open files: cannot modify limit:
Operation not permitted
[Thu Jun 28 08:49:47 2012] [notice] Loading tile config default at
/osm_tiles2/ for zooms 0 - 18 from tile directory /var/lib/mod_tile with
extension .png and mime type image/png
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 status_module (shared)
 tile_module (shared)
Syntax OK

2012/6/28 Frederik Ramm frede...@remote.org

 Hi,


 On 06/27/2012 09:48 PM, yvecai wrote:

 AddTileConfig /osm_tiles2/ Default
 LoadTileConfigFile /etc/renderd.conf


 Try a lower-case D in default, and leave out the LoadTileConfigFile
 line altogether. (You would normally use either one AddTileConfig line for
 each style you have, or a single LoadTileConfig line.)

 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/devhttp://lists.openstreetmap.org/listinfo/dev

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


[OSM-dev] Tile list

2011-12-27 Thread Yves CAINAUD
Hi Admins !
Is it possible to obtain a tile list of the rendered tiles on
openstreetmap.org for zoom 14 and 15?
This would be a very usefull info to have at
http://wiki.openstreetmap.org/wiki/Tile_Disk_Usage.

We are trying to setup a tile server for Osmand, however we need to seed
the cache efficiently, hence the need for such a list to pre-render this
zoom level. Our server is not that strong, and rendering at zoom 14 can
last several minutes.

Also, a apache log extract would be very appreciated to check the tiles
requests from Osmand and dimension properly our server.

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


Re: [OSM-dev] Fwd: Tile list

2011-12-27 Thread Yves CAINAUD
If you look at http://wiki.openstreetmap.org/wiki/Tile_Disk_Usage, we can
see that only 32% of z14 and 15% of z15 are viewed, and I'd like to
pre-render them.
Subsequent zoom level are pretty fast to render, but z14 and z15 are too
big to be completely pre-rendered in cache.
Hence my request for the tile-list of rendered tile at this zoom levels on
Yevaud.
Then I can ask renderd to render them, without waiting for the user to have
the patience to request them.
Yves


2011/12/27 Serge Wroclawski emac...@gmail.com

 Forgot to CC the list. Ooops


 -- Forwarded message --
 From: Serge Wroclawski emac...@gmail.com
 Date: Tue, Dec 27, 2011 at 10:42 AM
 Subject: Re: [OSM-dev] Tile list
 To: Yves CAINAUD yve...@gmail.com


 On Tue, Dec 27, 2011 at 5:29 AM, Yves CAINAUD yve...@gmail.com wrote:
  Hi Admins !
  Is it possible to obtain a tile list of the rendered tiles on
  openstreetmap.org for zoom 14 and 15?

 I'm not an admin, but the list of rendered tiles changes as requests come
 in.

 If you read mod_tile and renderd, you see how it works.

  We are trying to setup a tile server for Osmand, however we need to seed
 the
  cache efficiently, hence the need for such a list to pre-render this zoom
  level. Our server is not that strong, and rendering at zoom 14 can last
  several minutes.

 If your server is so slow, then I suggest using a commercial tile
 rendering service instead of your own.

 - Serge

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

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