Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considèrerons que vous acceptez l'utilisation des cookies. J'ai compris ! ou En savoir plus !.
banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

Annonce

Printemps des cartes 2024

#1 Tue 09 September 2014 10:45

SFaucher
Juste Inscrit !
Lieu: Cluny
Date d'inscription: 16 May 2013
Messages: 5

[maposmatic/ocitysmap]Problème avec l'index des rues

Bonjour,

Je souhaite pouvoir créer des plans de ville avec index des rues. Je me suis donc intéressé à Maposmatic. Or sa base de données OSM n'est pas à jour et je n'arrive pas à avoir l'emprise que je veux à partir de l'interface web. J'ai donc installer ocitysmap sur mon ordi.

J'ai installer tous les softs/bibliothèques nécessaires mais quand je génère un plan avec les layouts single_page_index_bottom ou single_page_index_side, j’obtiens un plan sans l'index des rues sad.

Voici la commande que j'utilise et les messages affichés dans la console :

Code:

./render.py --title="Cluny" --layout="single_page_index_side" --orientation="landscape" -b 46.4471,4.6387 46.4182,4.6767

Code:

DEBUG:ocitysmap:Reading OCitySMap configuration from /home/sfaucher/.ocitysmap.conf...
DEBUG:ocitysmap:Found 1 Mapnik stylesheets.
DEBUG:ocitysmap:Map represents 2911x3213m, needs at least 44.0x48.6cm on paper.
DEBUG:ocitysmap:Best fit is 68.5x54.6cm.
INFO:ocitysmap:Rendering with renderer single_page_index_side in language: fr_FR.UTF-8 (rtl: False).
INFO:ocitysmap:Connecting to database maposmatic on localhost:5432 as maposmatic...
DEBUG:ocitysmap:Configured statement timeout: 15min.
DEBUG:ocitysmap:Rendering in temporary directory /tmp/ocitysmap30WWxk
INFO:ocitysmap:Rendering to PDF format...
INFO:ocitysmap:Getting streets...
DEBUG:ocitysmap:Got 134 streets.
INFO:ocitysmap:Getting amenities for Places of worship/place_of_worship...
DEBUG:ocitysmap:Got 2 amenities for Places of worship/place_of_worship.
INFO:ocitysmap:Getting amenities for Education/kindergarten...
DEBUG:ocitysmap:Got 0 amenities for Education/kindergarten.
INFO:ocitysmap:Getting amenities for Education/school...
DEBUG:ocitysmap:Got 7 amenities for Education/school.
INFO:ocitysmap:Getting amenities for Education/college...
DEBUG:ocitysmap:Got 8 amenities for Education/college.
INFO:ocitysmap:Getting amenities for Education/university...
DEBUG:ocitysmap:Got 8 amenities for Education/university.
INFO:ocitysmap:Getting amenities for Education/library...
DEBUG:ocitysmap:Got 8 amenities for Education/library.
INFO:ocitysmap:Getting amenities for Public buildings/townhall...
DEBUG:ocitysmap:Got 1 amenities for Public buildings/townhall.
INFO:ocitysmap:Getting amenities for Public buildings/post_office...
DEBUG:ocitysmap:Got 2 amenities for Public buildings/post_office.
INFO:ocitysmap:Getting amenities for Public buildings/public_building...
DEBUG:ocitysmap:Got 2 amenities for Public buildings/public_building.
INFO:ocitysmap:Getting amenities for Public buildings/police...
DEBUG:ocitysmap:Got 3 amenities for Public buildings/police.
DEBUG:ocitysmap:Got 101 villages for Villages.
DEBUG:ocitysmap:Determining index area within 784x1535+1584+99 aligned right/width...
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 16', labels='DejaVu 12')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 16', labels='DejaVu 12') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 14', labels='DejaVu 10')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 14', labels='DejaVu 10') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 12', labels='DejaVu 8')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 12', labels='DejaVu 8') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 10', labels='DejaVu 7')...
DEBUG:ocitysmap:Will be able to render index in Area(Style(headers='Georgia Bold 10', labels='DejaVu 7'), 564x1535+1804+99, n_cols=2)
DEBUG:ocitysmap:Corrected bounding box from BoundingBox(46.4471,4.6387 46.4182,4.6767) to BoundingBox(46.4471,4.6333 46.4182,4.6821), ratio: 1.16.
INFO:ocitysmap:MapCanvas rendering map on 1789x1535px.
DEBUG:ocitysmap:Created layer shade in PolyShapeFile /tmp/ocitysmap30WWxk/shade.shp.
DEBUG:ocitysmap:Added shape file /tmp/ocitysmap30WWxk/shade.shp to map canvas as layer shade.
INFO:ocitysmap:Laying out grid on 3742.0x3212.9m area...
INFO:ocitysmap:Using 250.0x250.0m grid (14.9680952545x12.8516872109 squares).
DEBUG:ocitysmap:Created layer grid in LineShapeFile /tmp/ocitysmap30WWxk/grid.shp.
DEBUG:ocitysmap:Added shape file /tmp/ocitysmap30WWxk/grid.shp to map canvas as layer grid.
DEBUG:ocitysmap:Creating CSV file citymap.csv...
INFO:ocitysmap:SinglePageRenderer rendering on 841x594mm paper at 72 dpi.
DEBUG:ocitysmap:Rendering the street index within Area(Style(headers='Georgia Bold 10', labels='DejaVu 7'), 564x1535+1804+99, n_cols=2) at 72.0dpi...
DEBUG:ocitysmap:Mapnik scale: 1/10858.538855
DEBUG:ocitysmap:Actual scale: 1/5985.435890
DEBUG:ocitysmap:Using copyright logo: /home/sfaucher/ocitysmap/images/osm-logo.png.
DEBUG:ocitysmap:Writing citymap.pdf...
DEBUG:ocitysmap:Cleaning up /tmp/ocitysmap30WWxk...

J'ai mis en PJ le fichier généré.

Si quelqu'un a une idée je suis preneur.

Merci par avance pour votre futur aide wink

Hors ligne

 

#2 Tue 09 September 2014 11:03

PA
Membre
Lieu: Paris
Date d'inscription: 5 Sep 2005
Messages: 3259
Site web

Re: [maposmatic/ocitysmap]Problème avec l'index des rues

Bonjour,

La base semble être en cours de mise à jour.

Si ce n'est pas déjà fait, je vous invite à poster votre demande sur la liste osm-talk-fr
https://lists.openstreetmap.org/listinfo/talk-fr

Vous devriez être lu par les développeurs du projet.


Pierre-André Le Ny
Modérateur QGIS, Données, Coin de l'OpenSource
Aidez l'association GeoRezo !

Hors ligne

 

Pied de page des forums

Powered by FluxBB