SlideShare une entreprise Scribd logo
1  sur  16
What I’d like to do with mapnik Steve Chilton we’d © OpenStreetMap contributors, CC-BY-SA
With thanks to:  Artem, Dane, Lennard, Jon www.mapnik.org
Problems in non-manual cartography ,[object Object],[object Object]
Respect the layer tag implicitly © OpenStreetMap contributors, CC-BY-SA
Not place labels of underlying roads on bridges © OpenStreetMap contributors, CC-BY-SA
Iterate alternative label placements
Apply point-in-polygon to text placement © OpenStreetMap contributors, CC-BY-SA
Allow rotation of icons © Richard Fairhurst
Accept SVG icons © OpenStreetMap contributors, CC-BY-SA
Apply variable width to canals/rivers © OpenStreetMap contributors, CC-BY-SA
Apply vignettes inside polygons Ordnance Survey © Crown copyright 2010
Produce spread text labels Ordnance Survey © Crown copyright 2010
Different casing either side of roads Ordnance Survey © Crown copyright 2010
Text labels either side of a line © OpenStreetMap contributors, CC-BY-SA
Add more Natural Earth data at low zooms © 2010. Natural Earth. All rights reserved
Steve Chilton Email:  [email_address] Twitter: steev8 What I’d like to do with mapnik I’m going © 2010. Natural Earth. All rights reserved

Contenu connexe

Similaire à What I’d like to do with mapnik

TechniCity - Assignment 1 - Project Plan
TechniCity - Assignment 1 - Project PlanTechniCity - Assignment 1 - Project Plan
TechniCity - Assignment 1 - Project PlanNicole Kusold
 
PoliMappers - Introduction to OpenStreetMap
PoliMappers - Introduction to OpenStreetMapPoliMappers - Introduction to OpenStreetMap
PoliMappers - Introduction to OpenStreetMapFederica Gaspari
 
OpenStreetMap Brighton 0.9999
OpenStreetMap Brighton 0.9999OpenStreetMap Brighton 0.9999
OpenStreetMap Brighton 0.9999mikel_maron
 
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...duncanbain
 
ITE RP Presentation (Part 1 Of 3)
ITE RP Presentation (Part 1 Of 3)ITE RP Presentation (Part 1 Of 3)
ITE RP Presentation (Part 1 Of 3)jdaisa
 
Reducing Risk and Liability in Infrastructure Projects
Reducing Risk and Liability in Infrastructure ProjectsReducing Risk and Liability in Infrastructure Projects
Reducing Risk and Liability in Infrastructure ProjectsVirtual ULI
 
2016 AEC Excellence - Infrastructure Submissions
2016 AEC Excellence - Infrastructure Submissions 2016 AEC Excellence - Infrastructure Submissions
2016 AEC Excellence - Infrastructure Submissions Teresa Elliott
 
Capstone_Presentation
Capstone_PresentationCapstone_Presentation
Capstone_PresentationMatthew Ward
 
Presentation - Theunis Bridge - Dynamo BIM
Presentation - Theunis Bridge - Dynamo BIM Presentation - Theunis Bridge - Dynamo BIM
Presentation - Theunis Bridge - Dynamo BIM tekenstudio 3D
 
MapQuest: How OSM Benefits & Vice Versa
MapQuest: How OSM Benefits & Vice VersaMapQuest: How OSM Benefits & Vice Versa
MapQuest: How OSM Benefits & Vice VersaRandy Meech
 
Mobile Social Location (Web 2.0 NYC edition)
Mobile Social Location (Web 2.0 NYC edition)Mobile Social Location (Web 2.0 NYC edition)
Mobile Social Location (Web 2.0 NYC edition)Matt Biddulph
 
Introduction To OpenStreetMap Fosscon2010
Introduction To OpenStreetMap Fosscon2010Introduction To OpenStreetMap Fosscon2010
Introduction To OpenStreetMap Fosscon2010rweait
 
OpenStreetMap: The Wikipedia of Maps
OpenStreetMap: The Wikipedia of MapsOpenStreetMap: The Wikipedia of Maps
OpenStreetMap: The Wikipedia of MapsHarry Wood
 
A First Step Towards Stream Reasoning at FIS 2008
A First Step Towards Stream Reasoning at FIS 2008A First Step Towards Stream Reasoning at FIS 2008
A First Step Towards Stream Reasoning at FIS 2008Emanuele Della Valle
 
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...ElisabethStemmler
 
DDMA / Mapscape: Datakwaliteit
DDMA / Mapscape: DatakwaliteitDDMA / Mapscape: Datakwaliteit
DDMA / Mapscape: DatakwaliteitDDMA
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US RoutingMapQuest
 

Similaire à What I’d like to do with mapnik (20)

SNEAPA 2013 Thursday b3 10_30_visualizing_brt
SNEAPA 2013 Thursday b3 10_30_visualizing_brtSNEAPA 2013 Thursday b3 10_30_visualizing_brt
SNEAPA 2013 Thursday b3 10_30_visualizing_brt
 
TechniCity - Assignment 1 - Project Plan
TechniCity - Assignment 1 - Project PlanTechniCity - Assignment 1 - Project Plan
TechniCity - Assignment 1 - Project Plan
 
PoliMappers - Introduction to OpenStreetMap
PoliMappers - Introduction to OpenStreetMapPoliMappers - Introduction to OpenStreetMap
PoliMappers - Introduction to OpenStreetMap
 
OpenStreetMap Brighton 0.9999
OpenStreetMap Brighton 0.9999OpenStreetMap Brighton 0.9999
OpenStreetMap Brighton 0.9999
 
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...
The Gorbals in Relief: Experiments in OpenStreetMap and Architectural Practic...
 
ITE RP Presentation (Part 1 Of 3)
ITE RP Presentation (Part 1 Of 3)ITE RP Presentation (Part 1 Of 3)
ITE RP Presentation (Part 1 Of 3)
 
Reducing Risk and Liability in Infrastructure Projects
Reducing Risk and Liability in Infrastructure ProjectsReducing Risk and Liability in Infrastructure Projects
Reducing Risk and Liability in Infrastructure Projects
 
2016 AEC Excellence - Infrastructure Submissions
2016 AEC Excellence - Infrastructure Submissions 2016 AEC Excellence - Infrastructure Submissions
2016 AEC Excellence - Infrastructure Submissions
 
Capstone_Presentation
Capstone_PresentationCapstone_Presentation
Capstone_Presentation
 
Presentation - Theunis Bridge - Dynamo BIM
Presentation - Theunis Bridge - Dynamo BIM Presentation - Theunis Bridge - Dynamo BIM
Presentation - Theunis Bridge - Dynamo BIM
 
MapQuest: How OSM Benefits & Vice Versa
MapQuest: How OSM Benefits & Vice VersaMapQuest: How OSM Benefits & Vice Versa
MapQuest: How OSM Benefits & Vice Versa
 
Mobile Social Location (Web 2.0 NYC edition)
Mobile Social Location (Web 2.0 NYC edition)Mobile Social Location (Web 2.0 NYC edition)
Mobile Social Location (Web 2.0 NYC edition)
 
Introduction To OpenStreetMap Fosscon2010
Introduction To OpenStreetMap Fosscon2010Introduction To OpenStreetMap Fosscon2010
Introduction To OpenStreetMap Fosscon2010
 
OpenStreetMap: The Wikipedia of Maps
OpenStreetMap: The Wikipedia of MapsOpenStreetMap: The Wikipedia of Maps
OpenStreetMap: The Wikipedia of Maps
 
A First Step Towards Stream Reasoning at FIS 2008
A First Step Towards Stream Reasoning at FIS 2008A First Step Towards Stream Reasoning at FIS 2008
A First Step Towards Stream Reasoning at FIS 2008
 
Manoj_Jawale_CV
Manoj_Jawale_CVManoj_Jawale_CV
Manoj_Jawale_CV
 
SRC_Resume
SRC_ResumeSRC_Resume
SRC_Resume
 
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...
Software-Cluster Internationalisation focsing on Silicon Valley: R+D project ...
 
DDMA / Mapscape: Datakwaliteit
DDMA / Mapscape: DatakwaliteitDDMA / Mapscape: Datakwaliteit
DDMA / Mapscape: Datakwaliteit
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US Routing
 

Plus de Steve Chilton (20)

From SUC to SoC
From SUC to SoCFrom SUC to SoC
From SUC to SoC
 
Damien Demaj
Damien DemajDamien Demaj
Damien Demaj
 
Julia Stirnemann
Julia StirnemannJulia Stirnemann
Julia Stirnemann
 
Tim Alder
Tim AlderTim Alder
Tim Alder
 
Arlette Meneguette
Arlette MeneguetteArlette Meneguette
Arlette Meneguette
 
'It's a hill, get over it' book launch
'It's a hill, get over it' book launch'It's a hill, get over it' book launch
'It's a hill, get over it' book launch
 
Is there a new cartography? - icc2013
Is there a new cartography? - icc2013Is there a new cartography? - icc2013
Is there a new cartography? - icc2013
 
Whats neo?
Whats neo?Whats neo?
Whats neo?
 
Keynote2 D Law
Keynote2 D LawKeynote2 D Law
Keynote2 D Law
 
Track L Killick
Track L KillickTrack L Killick
Track L Killick
 
Track K Dean
Track K DeanTrack K Dean
Track K Dean
 
Track J Spencer
Track J SpencerTrack J Spencer
Track J Spencer
 
Track I Reid
Track I ReidTrack I Reid
Track I Reid
 
Track G Karsan
Track G  KarsanTrack G  Karsan
Track G Karsan
 
Track F Moustakas
Track F MoustakasTrack F Moustakas
Track F Moustakas
 
Track E L Smith
Track E L SmithTrack E L Smith
Track E L Smith
 
Track D K Smith
Track D K SmithTrack D K Smith
Track D K Smith
 
Track B Sund
Track B SundTrack B Sund
Track B Sund
 
Track A O'Donoghue
Track A O'DonoghueTrack A O'Donoghue
Track A O'Donoghue
 
Keynote1 Chris Shiel
Keynote1 Chris ShielKeynote1 Chris Shiel
Keynote1 Chris Shiel
 

Dernier

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

What I’d like to do with mapnik

Notes de l'éditeur

  1. Artem Dane Lennard
  2. Who was at SOTM07? Remember what I said at end of my talk? I’ll refresh you ….
  3. Respect the layer tag implicitly ds: No way to do this quite yet. But, we are half way there. Mapnik2 now has the ability to use “expressions” to pull values out the data for each feature and put those to use in determining symbolizer behavior. So currently it is now possible in Mapnik2 to pull the 'layer' tag . Next step will be thinking through how/if that could be used to determine paint order. Will need more thought. Ldp: it’s not so easy as it sounds. The order of <Layer> appearances is what drives object rendering order. The OSM stylesheet is split over dozens of layers, and ordering can currently only work within a <Layer>. Osmarender takes the approach of pulling every object (from the .osm file) and sorting them by layer=*, and then iterates a huge list of object styles. The advantage is that sorting by layer=* is global. Quite the opposite of what we are doing in the mapnik OSM stylesheet. We could mimic their way, but we’d then have only a single <Layer> with a huge <Style> for every geographic object. I don’t think that’s the direction we want to go. ?
  4. Understand bridges and not place incorrect labels on them Ldp: invisible dummy text on bridges, or any other geometric feature that we don’t want text to render on, before we render the actual road names. This puts the extent of the bridge in the ´collision list´ and other road names would then avoid it. Instead of an invisible dummy text, explicit support from mapnik to be able to place a line feature into the collision list would be an eventual goal. This would also work for canal names. Currently, we render them very early on, but any bridges (or tunnels) now overpaint the canal name. If we could swap this to 1 ) render canal way 2) render bridge and any regular name that would apply to it 3) declare any remaining bridges that have no text yet as off-limits to further text placement 4) render canal names. These now avoid the bridges. Basically, the idea is to be able to involve <LineSymbolizer> into the placement algorythms. ?
  5. Apply a displacement when naming nodes/areas For example if a collision occurs iterate through other possible placements. Would be complicated, but there are algorithms out there. Ds: not yet possible, but we have a patch for it from a russian cartography group: http://trac.mapnik.org/ticket/463 . So, I could see this happening sometime in the next year (limit is just developer availability and funding, since this requires quite a bit of coding) Ldp: this is a feature that I would dearly like to see . N
  6. Place text labels for polygons more intelligently For instance at the moment the name for a crescent shaped area fill will be placed at the centre of gravity of the shape, which can easily be outside the area itself. Ds: not yet possible, but we are currently discussing adding support for “point_on_surface” algorithm for point in polygon placement, that would ensure the label is within the polygon. Ldp: exactly. We could already have a secondary geometry column in the polygon table, and have PostGIS calculate the ST_PointOnSurface (either through triggers or explicitly from osm2pgsql), but explicit support from mapnik is more flexible, as it would also work for other input plugins.. ?
  7. Apply a rotation to an icon Based on the orientation of the node/way in the db or could be used for viewpoint when tagged with viewing angle, or to align a mountain pass symbol ds:we are planning on adding this soon . Basically, this requires the “expressions” work as noted above to be able to pull rendering directives directly from the database, so we are most of the way there. Rotation for the PointSymbolizer or LineSymbolizer , or both? I'd assume both! Ldp: PointSymbolizer. Two things I’d like to see. 1) Basic rotation by defining a rotation angle in the symbolize. Either explicitly or using the new expressions engine to make it dynamic based on the data. The example shown is for locks, but it applies equally to mountain passes, where you’d want to rotate the symbol to align with an underlying way. Currently, the point and the way are completely separate concepts , and when rendering a lock_gate node, it doesn’t know about the direction of the canal, nor that it’s even *in* the canal way Something would have to be found to take the node, take a way, find out if they are related, and then translate that into a rotation angle. Quite tricky. ?
  8. Accept SVG icons At the moment PNG resolution is OK on screen but is let down when you use, for instance, PDF export - whereby lines and text are vectors but icons still are bitmaps ds: Artem has actually been working on this in the last two weeks . So, ability to READ svg icons is near. Having the ability to keep icons as SVG/Vectors in PDF output is not yet possible (not sure when it will be implemented), but at least the ability to read SVG (and render to PNG) will help ensure they are not pixellated in PDF output because they can be scaled up or down (depending of course on output size/resolution) ?
  9. Apply variable widths to canals and rivers Based on the width=tag. At highest zooms, rivers and canals should be able to be displayed proportional to their actual width (if recorded). ds: great idea. This is not possible yet, but I know how to implement , so we can add in the future. Ldp: again, we could probably translate the width=* tag into a LineSymbolizer width , depending on scale, but I fear the result would not work as nicely as you’d want. For example, what would you do at the spot where width=* changes? Abruptly change the visual width , or have a short span where it gradually changes width? The latter would require mapnik support. ?
  10. Produce vignettes for areas An example might be a National Park which encompasses a large area and many other landuses within it. ds: cannot do this yet . Ldp: The vignette is the shaded border inside the outer extent of a large area. This should taper off the further from the outside you get. There is one way we could already build this, using Postgis to build a specific geometry for where we want the vignette , but the tapering off would not be possible then. Also, building a geometry is much more cumbersome and slower than doing it in mapnik’s pixel space. Having random symbol placement within polygons is something else, but also good to have. N
  11. Produce spread text An example might be naming a country or a mountain range, which extends over a wide area Ds: This can be done in Mapnik 0.7.1, but not yet for lines . See the parameter 'character_spacing' here:http://trac.mapnik.org/wiki/TextSymbolizer Ldp: The current support is static. What would be needed in future is a way to make the font size and character/line spacing dependent on the extent of the feature. Could again be done with a bit of SQL (we already have the way_area column from osm2pgsql), but a more generic way might be better. Using only way_area would also not work for long an narrow features. ?
  12. Put a casing on one side of a way, or different on either side OS: Unfenced roads or tracks This might be what was required in the case of cycleway which appears on only one side of a highway, or on a road with verge on one side only ds: Not yet possible, but I have been working on adding support for Parallel lines: http://trac.mapnik.org/ticket/180 . I hope to find time to work on this in the future, but not sure when. It will still not work properly for roads that need to be cased, but we can give that more thought. N
  13. Put two text labels on either side of a line An example might be the names of adjacent counties/parishes being shown either side of the administrative boundary ds: great idea. This could be tricky , I will think more about it! Ldp: I really don’t think this is hard to do. Although keeping the labels on either side aligned to each other is the actual hard part . We also have the issue that a boundary could hold several labels , one each for the various administrative levels involved. Country vs region vs municipality vs place, for instance. ?
  14. Use more of the Natural Earth data for low zooms JonB: There are some obvious glitches around the anti-meridian but I think it looks nice . I have not attempted to render anything other than the Natural Earth raster image. The TIF file to render this is about 460MB and seems to render OK up to around zoom level 6 before it starts becoming pixelated. Y
  15. OK, anyone what is the map in the background? Any questions – either now or in network time after the session.