Opened 11 years ago

Closed 5 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 10 years ago.
Pattern for rendering quarries (30px*30px png format)
quarry_rendering_test.png (17.6 KB) - added by nigelbee 10 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 11 years ago by openstreetmap@…

Priority: majorminor

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 11 years ago by Tom Hughes

Owner: changed from Tom Hughes to steve8@…

Passed to Steve.

comment:3 Changed 11 years ago by openstreetmap@…

comment:5 Changed 11 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 10 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 10 years ago by nigelbee

Attachment: quarry.png added

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

Changed 10 years ago by nigelbee

Attachment: quarry_rendering_test.png added

comment:7 Changed 10 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 9 years ago by Ldp

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

comment:9 Changed 8 years ago by Ldp

Resolution: fixed
Status: newclosed

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

comment:10 Changed 8 years ago by xylome

Resolution: fixed
Status: closedreopened

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 8 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 7 years ago by ingalls

I second the crossed hammers!

comment:13 Changed 5 years ago by math1985

Summary: [mapnik] render quarries[landcover] render quarries

comment:14 Changed 5 years ago by math1985

Resolution: worksforme
Status: reopenedclosed

This has been resolved in the meanwhile.

Note: See TracTickets for help on using tickets.