Opened 10 years ago

Closed 4 years ago

#959 closed enhancement (worksforme)

[landcover] render quarries

Reported by: openstreetmap@… Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: mapnik render quarries Cc:

Description

currently mapnik does not render quarries (landuse=quarry).
i recommend a grey area with some layered stone (resembling limestone layers)

ascii art:

+-----+-----+-----+

/ / / /

+--+--+--+--+--+--+--+

/ / / /

+-----+-----+-----+

Attachments (2)

quarry.png (963 bytes) - added by nigelbee 9 years ago.
Pattern for rendering quarries (30px*30px png format)
quarry_rendering_test.png (17.6 KB) - added by nigelbee 9 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 10 years ago by openstreetmap@…

  • Priority changed from major to minor

well the ascii art isn't the way i typed it and the priority isn't really "major" but "minor"

sorry for that

comment:2 Changed 10 years ago by tom@…

  • Owner changed from tom@… to steve8@…

Passed to Steve.

comment:3 Changed 10 years ago by openstreetmap@…

comment:5 Changed 10 years ago by openstreetmap@…

thankyou very much for implementing it!

but i still have one objection to the way you have done it...
there is currently a "Q" rendered in the area which is maybe good in anglophone countries. but i think even in germany where almost every kid learns english in school, the word "quarry" would be all greek to them.
so i propose to use a pictogram like in printed maps that could be understood more easily. or a fillpattern like this:

  +-----+-----+-----+
  /    /     /     /
 +--+--+--+--+--+--+--+
   /     /     /     /
  +-----+-----+-----+

comment:6 Changed 9 years ago by nigelbee

The Mapnik rule:

    <Rule>
      <Filter>[landuse] = 'quarry'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "c:/mapnik/symbols/quarry2.png" type="png" width="30" height="30"/>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
	<CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>

needs to be replaced with:

    <Rule>
      <Filter>[landuse] = 'quarry'</Filter>
      <MaxScaleDenominator>500000</MaxScaleDenominator>
      <PolygonPatternSymbolizer file= "c:/mapnik/symbols/quarry3.png" type="png" width="30" height="30"/>
      <LineSymbolizer>
        <CssParameter name="stroke">grey</CssParameter>
	<CssParameter name="stroke-width">0.5</CssParameter>
      </LineSymbolizer>
    </Rule>

I am submitting a 30px*30px quarry3.png file, built by tracing the Ascii design shown above.

Changed 9 years ago by nigelbee

Pattern for rendering quarries (30px*30px png format)

Changed 9 years ago by nigelbee

comment:7 Changed 9 years ago by nigelbee

I have attached a file which illustrates how the new Mapnik quarry rendering will appear. I have explained how I did this rendering test here:

http://wiki.openstreetmap.org/wiki/Mapnik_Example

comment:8 Changed 8 years ago by Ldp

  • Owner changed from steve8@… to mapnik-team@…

comment:9 Changed 7 years ago by Ldp

  • Resolution set to fixed
  • Status changed from new to closed

Closing as a stale issue. Haven't we gotten used to the 'Q' by now? :)

comment:10 Changed 7 years ago by xylome

  • Resolution fixed deleted
  • Status changed from closed to reopened

I still think another representation for quarries should be used than the letter "Q", as this is language specific and openstreetmap is an international project.
A different rendering once was active (not using a letter), but magically dissapeared little time later.

comment:11 Changed 7 years ago by LM_1

I agree that Q is not the best option. Maybe two crossed hammers would be more appropriate. Something like http://www.clker.com/clipart-72998.html.

comment:12 Changed 5 years ago by ingalls

I second the crossed hammers!

comment:13 Changed 4 years ago by math1985

  • Summary changed from [mapnik] render quarries to [landcover] render quarries

comment:14 Changed 4 years ago by math1985

  • Resolution set to worksforme
  • Status changed from reopened to closed

This has been resolved in the meanwhile.

Note: See TracTickets for help on using tickets.