Re: [OSM-talk] Custom rendering of a small map

2010-06-14 Thread Nick Black
Agree - thanks for pointing this out.  We'll work on making the TCs
easier to understand.

--
Nick

On Wed, Jun 9, 2010 at 2:11 PM, Gervase Markham gerv-gm...@gerv.net wrote:
 On 09/06/10 19:47, Nick Black wrote:
 Sorry you've hit problems with our TCs  - its certainly not our
 intention to block your use.  So long as you respect the terms of
 CC-by-SA and don't exceed the limits on the use of our Vector Stream
 Server, posted here:
 http://support.cloudmade.com/answers/specialist-tools - there will be
 no problems.

 Hi Nick,

 Thanks - that's good to know. Although you may want to consider
 revisiting the way you present your Ts and Cs, considering some of the
 more detailed comments I made on them elsewhere in this thread, to try
 and help people who _do_ care about the legality of their use to
 understand what your requirements are without having to digest six
 pagest of legalese. :-)

 Gerv


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




-- 
-- 
Nick Black
twitter.com/nick_b

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Gervase Markham
On 05/06/10 10:09, Gervase Markham wrote:
 My first effort involved an SVG export of the Mapnik image from the main
 website. This is pretty good; the only problem is that the roads are
 unnecessarily narrow and so the road names are small and hard to read.

In the end, I went with this. I would have been willing to spare 30 
minutes to get a tool working to improve this, but I've already spent a 
lot more than that. Thanks to everyone for their suggestions :-)

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Gervase Markham
On 07/06/10 20:32, Colin Marquardt wrote:
 FWIW, these icons here are awesome: http://www.sjjb.co.uk/mapicons/

Those _are_ awesome.

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Gervase Markham
On 07/06/10 11:49, Gervase Markham wrote:
 It was me who said that, actually. Here are a few comments, mostly in
 relation to the Mapnik style:

Oops. That is, in comparison to the Mapnik style. The comments are, of 
course, about Osmarender.

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Sam Vekemans
Thanks Colin,
I'll be able to enhance the map renderings, when i take the screenview
 of HikeBikeMap.de / Cyclemap / mapnik / (anymap) and just manually
plop in those icons overtop of where they currently render (but just
at a different zoom).

Awesome, i'll also be able to create a custom style set for just the
icons that are needed for my tourist maps :)  I'd take the biggest
version, and when you shrink it, you cant really tell the quality
difference.  And it's not that hard to combine the icon symbols to
make different ones.

Sweet!
I was waiting to find this for some time now :-)


On Mon, Jun 7, 2010 at 12:32 PM, Colin Marquardt
cmarq...@googlemail.com wrote:
 2010/6/7 Gary68 g...@gary68.de:
 regarding mapgen:
 - the icon issues could be solved quickly by the user (by drawing or
 using new ones)

 FWIW, these icons here are awesome: http://www.sjjb.co.uk/mapicons/
 (they are the successor/evolution of the svg-twotone ones that OSM's
 Mapnik style uses, CC-0, authored by Brian Quinion).

 Cheers
  Colin

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


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread John Smith
On 8 June 2010 05:32, Colin Marquardt cmarq...@googlemail.com wrote:
 FWIW, these icons here are awesome: http://www.sjjb.co.uk/mapicons/
 (they are the successor/evolution of the svg-twotone ones that OSM's
 Mapnik style uses, CC-0, authored by Brian Quinion).

Does anyone know of any suitably licensed icons that could depict an
office? I'd like to file a request for a generic office icon to be
rendered for any office=* tags...

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Dane Springmeyer

On Jun 9, 2010, at 12:44 AM, Gervase Markham wrote:

 On 05/06/10 10:09, Gervase Markham wrote:
 My first effort involved an SVG export of the Mapnik image from the main
 website. This is pretty good; the only problem is that the roads are
 unnecessarily narrow and so the road names are small and hard to read.
 
 In the end, I went with this. I would have been willing to spare 30 
 minutes to get a tool working to improve this, but I've already spent a 
 lot more than that. Thanks to everyone for their suggestions :-)
 
 Gerv
 
 

Gerv, The Mapnik project currently leverages Cairo to output this SVG. There 
are a variety of limitations to this SVG output that make post-processing 
difficult, as you've noticed.

We have preliminary plans to write a custom SVG rendering backend for Mapnik in 
the future that will address things such as embedded fonts, selectable layers, 
etc. 

But things such as the road widths and font sizes are always going to be 
controlled by the styles used to render. User configurability of styles sent to 
Mapnik (by non-programmers) is something that a current Google Summer of Code 
project is looking into. See: 

http://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2010/AcceptedProjects/EasyPrintableMaps

Dane

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


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Nick Black
Hi Gerv,

Sorry you've hit problems with our TCs  - its certainly not our
intention to block your use.  So long as you respect the terms of
CC-by-SA and don't exceed the limits on the use of our Vector Stream
Server, posted here:
http://support.cloudmade.com/answers/specialist-tools - there will be
no problems.

--
Nick


On Sat, Jun 5, 2010 at 2:09 AM, Gervase Markham gerv-gm...@gerv.net wrote:
 Hi,

 I'd like to render a map of about a square mile or so of the town of
 Bromley, in Kent, for the information sheet for my wedding in August (yay!).
 http://osm.org/go/0EEBWURG
 I want to make the map, then remove a few bits which I don't need and
 add stuff to it like bigger labels on some important POIs like the
 church and the nearest station. I want it to look professional.

 This is just the sort of thing OSM should be good for, or so I hope :-)

 My first effort involved an SVG export of the Mapnik image from the main
 website. This is pretty good; the only problem is that the roads are
 unnecessarily narrow and so the road names are small and hard to read.
 I'd like pretty much that map, except with wider roads and bigger text.
 It would take an age to change it all manually in the SVG. What are my
 options for a custom render?

 - Mapnik: requires an incredible amount of setup, according to the wiki
   page.

 - Osmarender: It's ugly. Sorry, but it is.

 - mapgen.pl: Same.

 - Kosmos: I'm on Linux, and it only really runs on Windows.

 - Cobra: development seems dead.

 - Cartagen: It does road labels square on, which I don't like.

 - Cloudmade: initially, this seemed really promising. They have a
   variety of styles, and I probably could make
   one with wider roads, but the Terms of Service are so long and
   complex, and say don't do anything with this data that isn't your
   own personal use about three times in different ways, so I assume I
   can't use it.

 Any ideas? Is there an online service to which one can submit a Mapnik
 style sheet and get back a rendering of a small area?

 Gerv


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




-- 
-- 
Nick Black
twitter.com/nick_b

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-09 Thread Gervase Markham
On 09/06/10 19:47, Nick Black wrote:
 Sorry you've hit problems with our TCs  - its certainly not our
 intention to block your use.  So long as you respect the terms of
 CC-by-SA and don't exceed the limits on the use of our Vector Stream
 Server, posted here:
 http://support.cloudmade.com/answers/specialist-tools - there will be
 no problems.

Hi Nick,

Thanks - that's good to know. Although you may want to consider 
revisiting the way you present your Ts and Cs, considering some of the 
more detailed comments I made on them elsewhere in this thread, to try 
and help people who _do_ care about the legality of their use to 
understand what your requirements are without having to digest six 
pagest of legalese. :-)

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-07 Thread Gervase Markham
On 06/06/10 17:46, Gary68 wrote:
 could you please be a little bit more precise what you don't like at
 osmarender and especially mapgen.pl?

It was me who said that, actually. Here are a few comments, mostly in 
relation to the Mapnik style:

http://www.openstreetmap.org/?lat=51.40961lon=0.01101zoom=16layers=0B00FTF

* Bus stop icons are big and ugly
* In fact, many icons have too few colours
* Lots of text rendering has letters overlapping themselves
* Text in different categories overlaps (e.g. road names/train station
   names/POI names)
* Font is probably 1-2 px too big to fit nicely in the roads
* Road names overlap one way arrows
* Road ends are square
* Choice of POIs to render seems not as good as Mapnik

Example of lots of overlapping text:
http://www.openstreetmap.org/?lat=51.40711lon=0.01398zoom=17layers=0B00FTF

Hope that's a useful start... My suspicion is that some of this stuff, 
like text rendering, cannot be fully fixed with the technology choices 
inherent in the way OSMARender works. But I'd love to be proved wrong.

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-07 Thread Gary68
hi,

thanks for the information. i thought that some issues were related to
the style file but of course some are technology inherent - and might
need heavy thinking and development before being solved. at least
speaking for mapgen.pl

regarding mapgen:
- the icon issues could be solved quickly by the user (by drawing or
using new ones)
- it is true that way and poi labels might overlap. but not inside a
group. that is a street label will not overlap another street label
- font sizes can easily be adapted
- oneway arrows share the space with way labels ;-)
- road ends are not square :-)
- choice of pois is done in style sheet 

cheers 

gerhard
gary68


On Mon, 2010-06-07 at 11:49 +0100, Gervase Markham wrote:
 On 06/06/10 17:46, Gary68 wrote:
  could you please be a little bit more precise what you don't like at
  osmarender and especially mapgen.pl?
 
 It was me who said that, actually. Here are a few comments, mostly in 
 relation to the Mapnik style:
 
 http://www.openstreetmap.org/?lat=51.40961lon=0.01101zoom=16layers=0B00FTF
 
 * Bus stop icons are big and ugly
 * In fact, many icons have too few colours
 * Lots of text rendering has letters overlapping themselves
 * Text in different categories overlaps (e.g. road names/train station
names/POI names)
 * Font is probably 1-2 px too big to fit nicely in the roads
 * Road names overlap one way arrows
 * Road ends are square
 * Choice of POIs to render seems not as good as Mapnik
 
 Example of lots of overlapping text:
 http://www.openstreetmap.org/?lat=51.40711lon=0.01398zoom=17layers=0B00FTF
 
 Hope that's a useful start... My suspicion is that some of this stuff, 
 like text rendering, cannot be fully fixed with the technology choices 
 inherent in the way OSMARender works. But I'd love to be proved wrong.
 
 Gerv
 
 
 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk



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


Re: [OSM-talk] Custom rendering of a small map

2010-06-07 Thread Frederik Ramm
Gerv,

Gervase Markham wrote:
 I'd like to render a map of about a square mile or so of the town of 
 Bromley, in Kent, for the information sheet for my wedding in August (yay!).

I guess by now you have an idea of the kind of trouble you're signing up 
to by getting married ;-)

If you

* are geek enough to think that you can fiddle with a Mapnik stylesheet
* have a bit of money to spare

but

* are not willing to go through the whole Mapnik setup yourself

you could set up an Amazon cloud thingie (billed by the hour, thus 
affordable) and install the stuff from tiledrawer.com which gets you a 
ready-made tile server. Then play around with the style sheet until you 
like it (simply preview in web browser), and finally make a screenshot 
or even better, run an SVG export.

This still requires hacking the XML but you get the PostGIS and Mapnik 
setup delivered right to your Amazon machine.

Bye
Frederik


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-07 Thread Colin Marquardt
2010/6/7 Gary68 g...@gary68.de:
 regarding mapgen:
 - the icon issues could be solved quickly by the user (by drawing or
 using new ones)

FWIW, these icons here are awesome: http://www.sjjb.co.uk/mapicons/
(they are the successor/evolution of the svg-twotone ones that OSM's
Mapnik style uses, CC-0, authored by Brian Quinion).

Cheers
  Colin

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


[OSM-talk] Custom rendering of a small map

2010-06-06 Thread Seventy 7
 Yes, Maperitive would be ideal. Although the SVG export is not yet done,
quality (ie large) bitmaps can be done with a scale command to smooth
out pixellation.
http://maperitive.net/
Join the Google group and we'll help you out! :-)
You might also like to have a look at Maposmatic
http://www.maposmatic.org/ as it has SVG export.
Steve 

   

  From: talk-boun...@openstreetmap.org
  [mailto:talk-boun...@openstreetmap.org] On Behalf Of Igor Brejc
  Sent: 06 June 2010 06:06
  To: Gervase Markham
  Cc: talk@openstreetmap.org
  Subject: Re: [OSM-talk] Custom rendering of a small map

   

  - Maperitive: it runs on Linux too, and in a few weeks I hope I'll be
  able to finish the SVG export functionality.

  Regards,
  Igor

  On Sat, Jun 5, 2010 at 11:09 AM, Gervase Markham gerv-gm...@gerv.net
  wrote:

  Hi,

  I'd like to render a map of about a square mile or so of the town of
  Bromley, in Kent, for the information sheet for my wedding in August
  (yay!).
  http://osm.org/go/0EEBWURG
  I want to make the map, then remove a few bits which I don't need and
  add stuff to it like bigger labels on some important POIs like the
  church and the nearest station. I want it to look professional.

  This is just the sort of thing OSM should be good for, or so I hope
  :-)

  My first effort involved an SVG export of the Mapnik image from the
  main
  website. This is pretty good; the only problem is that the roads are
  unnecessarily narrow and so the road names are small and hard to
  read.
  I'd like pretty much that map, except with wider roads and bigger
  text.
  It would take an age to change it all manually in the SVG. What are
  my
  options for a custom render?

  - Mapnik: requires an incredible amount of setup, according to the
  wiki
    page.

  - Osmarender: It's ugly. Sorry, but it is.

  - mapgen.pl: Same.

  - Kosmos: I'm on Linux, and it only really runs on Windows.

  - Cobra: development seems dead.

  - Cartagen: It does road labels square on, which I don't like.

  - Cloudmade: initially, this seemed really promising. They have a
    variety of styles, and I probably could make
    one with wider roads, but the Terms of Service are so long and
    complex, and say don't do anything with this data that isn't your
    own personal use about three times in different ways, so I assume
  I
    can't use it.

  Any ideas? Is there an online service to which one can submit a
  Mapnik
  style sheet and get back a rendering of a small area?

  Gerv


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

   

-- 
___
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread Gervase Markham
On 06/06/10 13:52, Seventy 7 wrote:
 Yes, Maperitive would be ideal. Although the SVG export is not yet done,
 quality (ie large) bitmaps can be done with a scale command to smooth
 out pixellation.

I got as far as getting it running (it needs System.Window.Forms; on 
Ubuntu, run
sudo apt-get install libmono-winforms*
) and managed, through typing zoom-out and zoom-in about 50 times 
each, to get to the right area of the map, and downloaded the OSM data. 
But, not wanting to knock the hard work of you or others, even before I 
looked at making style changes, it seemed fairly clear that the text 
rendering wasn't nearly as nice as Mapnik's.

I'm developing a whole new appreciation of how hard it is to write a map 
renderer which produces beautiful maps!

 You might also like to have a look at Maposmatic
 http://www.maposmatic.org/ as it has SVG export.

That seems just to produce SVG of the default Mapnik style, which I can 
already get from http://www.openstreetmap.org/.

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread john whelan
You actually get a lot of control but it isn't user friendly out of the
box.  I've done a write up here on how to run it from a .bat file and you
can edit the rules off line with this method.

http://wiki.openstreetmap.org/wiki/Maperitive#How_to

Cheerio John

On 6 June 2010 10:44, Gervase Markham gerv-gm...@gerv.net wrote:

 On 06/06/10 13:52, Seventy 7 wrote:
  Yes, Maperitive would be ideal. Although the SVG export is not yet done,
  quality (ie large) bitmaps can be done with a scale command to smooth
  out pixellation.

 I got as far as getting it running (it needs System.Window.Forms; on
 Ubuntu, run
 sudo apt-get install libmono-winforms*
 ) and managed, through typing zoom-out and zoom-in about 50 times
 each, to get to the right area of the map, and downloaded the OSM data.
 But, not wanting to knock the hard work of you or others, even before I
 looked at making style changes, it seemed fairly clear that the text
 rendering wasn't nearly as nice as Mapnik's.

 I'm developing a whole new appreciation of how hard it is to write a map
 renderer which produces beautiful maps!

  You might also like to have a look at Maposmatic
  http://www.maposmatic.org/ as it has SVG export.

 That seems just to produce SVG of the default Mapnik style, which I can
 already get from http://www.openstreetmap.org/.

 Gerv


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

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread Gary68

dear ian,

could you please be a little bit more precise what you don't like at
osmarender and especially mapgen.pl?

of course a lot of appearance is defined in the style file and the
symbols being used - i didn't spend much time there! (i was challenged
by the render engine). it (mapgen) is not aimed to be a fully blown
renderer - however if it's possible i might implement some improvements.

cheers

gerhard
gary68
 


On Sat, 2010-06-05 at 07:53 -0500, Ian Dees wrote:
 n Sat, Jun 5, 2010 at 4:09 AM, Gervase Markham gerv-gm...@gerv.net
 wrote:
 Hi,
 
 I'd like to render a map of about a square mile or so of the
 town of
 Bromley, in Kent, for the information sheet for my wedding in
 August (yay!).
 http://osm.org/go/0EEBWURG
 I want to make the map, then remove a few bits which I don't
 need and
 add stuff to it like bigger labels on some important POIs like
 the
 church and the nearest station. I want it to look
 professional.
 
 This is just the sort of thing OSM should be good for, or so I
 hope :-)
 
 My first effort involved an SVG export of the Mapnik image
 from the main
 website. This is pretty good; the only problem is that the
 roads are
 unnecessarily narrow and so the road names are small and hard
 to read.
 I'd like pretty much that map, except with wider roads and
 bigger text.
 It would take an age to change it all manually in the SVG.
 What are my
 options for a custom render?
 
 - Mapnik: requires an incredible amount of setup, according to
 the wiki
   page.
 
 - Osmarender: It's ugly. Sorry, but it is.
 
 - mapgen.pl: Same.
 
 - Kosmos: I'm on Linux, and it only really runs on Windows.
 
 - Cobra: development seems dead.
 
 - Cartagen: It does road labels square on, which I don't like.
 
 - Cloudmade: initially, this seemed really promising. They
 have a
   variety of styles, and I probably could make
   one with wider roads, but the Terms of Service are so long
 and
   complex, and say don't do anything with this data that
 isn't your
   own personal use about three times in different ways, so I
 assume I
   can't use it.
 
 Any ideas? Is there an online service to which one can submit
 a Mapnik
 style sheet and get back a rendering of a small area?
 
 
 
 I'm interested in this, too, because I want to draw OSM data in my car
 computer as a sort of GPS satnav/realtime editor.
 
 
 Dane (of Mapnik fame) suggested I use Mapnik with the OSM data plugin.
 That cuts out the majority of the setup time due to PostGIS install
 and import of OSM data.
 
 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk



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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread Seventy 7
 I got as far as getting it running and managed, through typing zoom-out and 
 zoom-in about 50 times each, to get to the right area of the map, and 
 downloaded the OSM data.

I wouldn't know about Linux, but on Windows you just click on the map, drag it 
around and zoom in and out using the mousewheel.

 But, not wanting to knock the hard work of you or others, even before I 
 looked at making style changes, it seemed fairly clear that the text 
 rendering wasn't nearly as nice as Mapnik's.

I wouldn't disagree but it depends what you mean. You are looking at the 
default rules, don't forget, and they sometimes lag behind the features 
available (like offsetting the text from an icon, for instance).

 I'm developing a whole new appreciation of how hard it is to write a map 
 renderer which produces beautiful maps!

Quite! :-)

It's still very much a work in progress. I think if you were to join the Google 
group we could take the conversation offline. Igor has prioritised his 
development work in the past when people have had specific requirements - he's 
a helpful guy and wants to make it a success!

Regards,
Steve 

 -Original Message-
 From: talk-boun...@openstreetmap.org [mailto:talk-boun...@openstreetmap.org]
 On Behalf Of Gervase Markham
 Sent: 06 June 2010 15:45
 To: talk@openstreetmap.org
 Subject: Re: [OSM-talk] Custom rendering of a small map
 
 On 06/06/10 13:52, Seventy 7 wrote:
  Yes, Maperitive would be ideal. Although the SVG export is not yet done,
  quality (ie large) bitmaps can be done with a scale command to smooth
  out pixellation.
 
 I got as far as getting it running (it needs System.Window.Forms; on
 Ubuntu, run
 sudo apt-get install libmono-winforms*
 ) and managed, through typing zoom-out and zoom-in about 50 times
 each, to get to the right area of the map, and downloaded the OSM data.
 But, not wanting to knock the hard work of you or others, even before I
 looked at making style changes, it seemed fairly clear that the text
 rendering wasn't nearly as nice as Mapnik's.
 
 I'm developing a whole new appreciation of how hard it is to write a map
 renderer which produces beautiful maps!
 
  You might also like to have a look at Maposmatic
  http://www.maposmatic.org/ as it has SVG export.
 
 That seems just to produce SVG of the default Mapnik style, which I can
 already get from http://www.openstreetmap.org/.
 
 Gerv
 
 
 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk




-- 
___
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread Sam Vekemans
Hi everyone,

FYI  WikiTravel offers instructions on how to create a 'WikiTravel
Style'   Map  (using OSM data)

http://wikitravel.org/en/Wikitravel:How_to_create_a_map

(the instructions require super-human powers, that i dont have yet,
but others might be able to translate it to WikiMap for Dummies :-)

And thank you Gervase for pointing out that you can export a SVG from OSM.
And using Inkscape to play.   You can also SaveAs an OpenOffice file,
then play with it a bit more in OpenOffice Draw and add in map keys 
other map stuff.   (changing colour of the polygons   line types
etc.)  breaking apart  grouping the areas etc.

I use Marble Desktop as it has a nice Mapnik Legend that is easy to
copy  move it round the page (using 'PrtScr' button on the keyboard
with Windows paint (or Equivenent Linux program) and paste it there
and just select what you like  paste it in the OpenOffice Draw
document to work with.

Hope that helps,
Cheers,
Sam

On Sun, Jun 6, 2010 at 9:46 AM, Gary68 g...@gary68.de wrote:

 dear ian,

 could you please be a little bit more precise what you don't like at
 osmarender and especially mapgen.pl?

 of course a lot of appearance is defined in the style file and the
 symbols being used - i didn't spend much time there! (i was challenged
 by the render engine). it (mapgen) is not aimed to be a fully blown
 renderer - however if it's possible i might implement some improvements.

 cheers

 gerhard
 gary68



 On Sat, 2010-06-05 at 07:53 -0500, Ian Dees wrote:
 n Sat, Jun 5, 2010 at 4:09 AM, Gervase Markham gerv-gm...@gerv.net
 wrote:
         Hi,

         I'd like to render a map of about a square mile or so of the
         town of
         Bromley, in Kent, for the information sheet for my wedding in
         August (yay!).
         http://osm.org/go/0EEBWURG
         I want to make the map, then remove a few bits which I don't
         need and
         add stuff to it like bigger labels on some important POIs like
         the
         church and the nearest station. I want it to look
         professional.

         This is just the sort of thing OSM should be good for, or so I
         hope :-)

         My first effort involved an SVG export of the Mapnik image
         from the main
         website. This is pretty good; the only problem is that the
         roads are
         unnecessarily narrow and so the road names are small and hard
         to read.
         I'd like pretty much that map, except with wider roads and
         bigger text.
         It would take an age to change it all manually in the SVG.
         What are my
         options for a custom render?

         - Mapnik: requires an incredible amount of setup, according to
         the wiki
           page.

         - Osmarender: It's ugly. Sorry, but it is.

         - mapgen.pl: Same.

         - Kosmos: I'm on Linux, and it only really runs on Windows.

         - Cobra: development seems dead.

         - Cartagen: It does road labels square on, which I don't like.

         - Cloudmade: initially, this seemed really promising. They
         have a
           variety of styles, and I probably could make
           one with wider roads, but the Terms of Service are so long
         and
           complex, and say don't do anything with this data that
         isn't your
           own personal use about three times in different ways, so I
         assume I
           can't use it.

         Any ideas? Is there an online service to which one can submit
         a Mapnik
         style sheet and get back a rendering of a small area?



 I'm interested in this, too, because I want to draw OSM data in my car
 computer as a sort of GPS satnav/realtime editor.


 Dane (of Mapnik fame) suggested I use Mapnik with the OSM data plugin.
 That cuts out the majority of the setup time due to PostGIS install
 and import of OSM data.

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



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


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-06 Thread Igor Brejc
On Sun, Jun 6, 2010 at 4:44 PM, Gervase Markham gerv-gm...@gerv.net wrote:

 But, not wanting to knock the hard work of you or others, even before I
 looked at making style changes, it seemed fairly clear that the text
 rendering wasn't nearly as nice as Mapnik's.


I know about text rendering problems on Linux. This is a problem with Mono's
implementation of .NET drawing engine. I'll try to improve things in the
future.

Anyway, once the SVG export is done, this will no longer be relevant, since
you'll have a vector image which doesn't depend on any Mono or other stuff
(and also you'll be able to fix any rendering problems manually).

And don't let the command-line tex tbox confuse you, you can still use a
mouse ;)

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


[OSM-talk] Custom rendering of a small map

2010-06-05 Thread Gervase Markham
Hi,

I'd like to render a map of about a square mile or so of the town of 
Bromley, in Kent, for the information sheet for my wedding in August (yay!).
http://osm.org/go/0EEBWURG
I want to make the map, then remove a few bits which I don't need and 
add stuff to it like bigger labels on some important POIs like the 
church and the nearest station. I want it to look professional.

This is just the sort of thing OSM should be good for, or so I hope :-)

My first effort involved an SVG export of the Mapnik image from the main 
website. This is pretty good; the only problem is that the roads are 
unnecessarily narrow and so the road names are small and hard to read. 
I'd like pretty much that map, except with wider roads and bigger text. 
It would take an age to change it all manually in the SVG. What are my 
options for a custom render?

- Mapnik: requires an incredible amount of setup, according to the wiki
   page.

- Osmarender: It's ugly. Sorry, but it is.

- mapgen.pl: Same.

- Kosmos: I'm on Linux, and it only really runs on Windows.

- Cobra: development seems dead.

- Cartagen: It does road labels square on, which I don't like.

- Cloudmade: initially, this seemed really promising. They have a
   variety of styles, and I probably could make
   one with wider roads, but the Terms of Service are so long and
   complex, and say don't do anything with this data that isn't your
   own personal use about three times in different ways, so I assume I
   can't use it.

Any ideas? Is there an online service to which one can submit a Mapnik 
style sheet and get back a rendering of a small area?

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Jochen Topf
On Sat, Jun 05, 2010 at 10:09:15AM +0100, Gervase Markham wrote:
 - Cloudmade: initially, this seemed really promising. They have a
variety of styles, and I probably could make
one with wider roads, but the Terms of Service are so long and
complex, and say don't do anything with this data that isn't your
own personal use about three times in different ways, so I assume I
can't use it.

Cloudmade uses OSM like everybody else under CC-BY-SA. They can't change that
license, they can't restrict what you can do with it.

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.remote.org/jochen/  +49-721-388298


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Gervase Markham
On 05/06/10 12:12, Jochen Topf wrote:
 Cloudmade uses OSM like everybody else under CC-BY-SA. They can't change that
 license, they can't restrict what you can do with it.

But if I use their stylesheets and their site to generate maps, they can 
restrict what I can do with the resulting renderings, right?

http://cloudmade.com/terms_conditions :

CloudMade grants you permission to use the CloudMade Site as set forth 
in these Terms, provided that and for so long as (i) you use the 
CloudMade Site solely for your personal use; (ii) except as expressly 
permitted or indicated in these Terms, you do not download, reproduce, 
redistribute, retransmit, publish, resell, distribute, publicly display 
or otherwise exploit any portion of the CloudMade Site in any medium 
without CloudMade's prior written authorization;...

(b) Any use by you of any of the CloudMade Materials and CloudMade Site 
other than for your personal use is strictly prohibited. You agree not 
to reproduce, duplicate, copy, sell, trade, resell, distribute, or 
exploit any portion of the CloudMade Site, use of the CloudMade Site, 
access to the CloudMade Site, or Non-CloudMade Content obtained through 
the CloudMade Site, for any purpose other than for your personal use.

Also, I object to any company which has terms which say you must agree 
to break the web:

(k) You agree not to deep-link to the CloudMade Site and will promptly 
remove any links that CloudMade finds objectionable in its sole discretion.

That page is utterly user-unfriendly. If it said at the top Stuff You 
Can Do and Stuff You Can't Do (Without Asking Us), and had a couple 
of short lists with common things, that would be much better.

Gerv


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread John Smith
On 5 June 2010 22:10, Gervase Markham gerv-gm...@gerv.net wrote:
 On 05/06/10 12:12, Jochen Topf wrote:
 Cloudmade uses OSM like everybody else under CC-BY-SA. They can't change that
 license, they can't restrict what you can do with it.

 But if I use their stylesheets and their site to generate maps, they can
 restrict what I can do with the resulting renderings, right?

Because the underlying data is CC-by-SA some people think this extends
to map tiles as well, and that the copyright on the data exceeds any
TC, I'm not a lawyer etc etc etc, nor am I expressing an opinion.

It has also been stated that the ODBL clarifies this issue and the
license is specific to the data only, and doesn't extend to derivative
products from the data.

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Jochen Topf
Hi!

 But if I use their stylesheets and their site to generate maps, they can 
 restrict what I can do with the resulting renderings, right?

No. Its a derived work from OSM and as such falls under the CC-BY-SA and
only the CC-BY-SA.

They can restrict the use of their site, but not of the map. So they can say:
Only Person X can download a map from our site. Thats ok. But once the map is
downloaded they can't restrict what Person X is doing with the map. Its the
whole point of the CC-BY-SA that it grants you those freedoms and they can
never get taken away.

Note that with the new license (ODbL) this would be ok. Maybe the lawayers
writing this thought it would come sooner. :-)

 http://cloudmade.com/terms_conditions :
 
 CloudMade grants you permission to use the CloudMade Site as set forth 
 in these Terms, provided that and for so long as (i) you use the 
 CloudMade Site solely for your personal use; (ii) except as expressly 
 permitted or indicated in these Terms, you do not download, reproduce, 
 redistribute, retransmit, publish, resell, distribute, publicly display 
 or otherwise exploit any portion of the CloudMade Site in any medium 
 without CloudMade's prior written authorization;...

Thats the site not the maps, as I see it. So thats ok.

 (b) Any use by you of any of the CloudMade Materials and CloudMade Site 
 other than for your personal use is strictly prohibited. You agree not 
 to reproduce, duplicate, copy, sell, trade, resell, distribute, or 
 exploit any portion of the CloudMade Site, use of the CloudMade Site, 
 access to the CloudMade Site, or Non-CloudMade Content obtained through 
 the CloudMade Site, for any purpose other than for your personal use.

Everything in there is ok, because they can have any restrictions they
like on their own content, but Non-CloudMade Content obtained through
the CloudMade Site is not ok. Because that would include OSM stuff,
which they clearly have on their site. If they try to put those restriction
on it they are in violation of the license.

 Also, I object to any company which has terms which say you must agree 
 to break the web:
 
 (k) You agree not to deep-link to the CloudMade Site and will promptly 
 remove any links that CloudMade finds objectionable in its sole discretion.

I don't like these kinds of terms either. They are probably unenforcable
anyway. At least in Germany this clause is not valid.

 That page is utterly user-unfriendly. If it said at the top Stuff You 
 Can Do and Stuff You Can't Do (Without Asking Us), and had a couple 
 of short lists with common things, that would be much better.

Terms  Conditions tend to be that way... :-(

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.remote.org/jochen/  +49-721-388298


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Ian Dees
n Sat, Jun 5, 2010 at 4:09 AM, Gervase Markham gerv-gm...@gerv.net wrote:

 Hi,

 I'd like to render a map of about a square mile or so of the town of
 Bromley, in Kent, for the information sheet for my wedding in August
 (yay!).
 http://osm.org/go/0EEBWURG
 I want to make the map, then remove a few bits which I don't need and
 add stuff to it like bigger labels on some important POIs like the
 church and the nearest station. I want it to look professional.

 This is just the sort of thing OSM should be good for, or so I hope :-)

 My first effort involved an SVG export of the Mapnik image from the main
 website. This is pretty good; the only problem is that the roads are
 unnecessarily narrow and so the road names are small and hard to read.
 I'd like pretty much that map, except with wider roads and bigger text.
 It would take an age to change it all manually in the SVG. What are my
 options for a custom render?

 - Mapnik: requires an incredible amount of setup, according to the wiki
   page.

 - Osmarender: It's ugly. Sorry, but it is.

 - mapgen.pl: Same.

 - Kosmos: I'm on Linux, and it only really runs on Windows.

 - Cobra: development seems dead.

 - Cartagen: It does road labels square on, which I don't like.

 - Cloudmade: initially, this seemed really promising. They have a
   variety of styles, and I probably could make
   one with wider roads, but the Terms of Service are so long and
   complex, and say don't do anything with this data that isn't your
   own personal use about three times in different ways, so I assume I
   can't use it.

 Any ideas? Is there an online service to which one can submit a Mapnik
 style sheet and get back a rendering of a small area?


I'm interested in this, too, because I want to draw OSM data in my car
computer as a sort of GPS satnav/realtime editor.

Dane (of Mapnik fame) suggested I use Mapnik with the OSM data plugin. That
cuts out the majority of the setup time due to PostGIS install and import of
OSM data.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Tim Teulings
Hello!
 I'm interested in this, too, because I want to draw OSM data in my car 
 computer as a sort of GPS satnav/realtime editor.

See libosmscout.sf.net. It is designed as a library for offline map 
drawing (however not editing) in mobile devices. It is a renderer (and 
router) optimized for minimum data size and speed.
 Dane (of Mapnik fame) suggested I use Mapnik with the OSM data plugin. 
 That cuts out the majority of the setup time due to PostGIS install 
 and import of OSM data.

Since libosmsocut uses cairo internally and cairo has SVG export this 
would should work with it, too. But I assume it needs some more time to 
get the required drawing quality to be usable for generating printable 
maps (but it is already worth a try :-)).

-- 
Gruß...
Tim


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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Lennard
On 5-6-2010 14:53, Ian Dees wrote:

 Dane (of Mapnik fame) suggested I use Mapnik with the OSM data plugin.
 That cuts out the majority of the setup time due to PostGIS install and
 import of OSM data.

However, the time you save by not having to set up PostGIS will be spent 
on creating your own stylesheet to use with the OSM input plugin. The 
standard osm.xml stylesheet is tuned for postgis and will not work with 
the OSM plugin.

-- 
Lennard

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Richard Fairhurst

Gervase Markham wrote:
 It would take an age to change it all manually in the SVG. What are 
 my options for a custom render?

FWIW: Halcyon, the Flash rendering engine used in Potlatch 2, uses a simple
CSS-like style language called MapCSS and would be an easy way right now to
produce a bitmap for screen display. There is, however, as yet no vector
export. PDF export is planned for the medium term.

cheers
Richard
-- 
View this message in context: 
http://gis.638310.n2.nabble.com/Custom-rendering-of-a-small-map-tp5142386p5144171.html
Sent from the General Discussion mailing list archive at Nabble.com.

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


Re: [OSM-talk] Custom rendering of a small map

2010-06-05 Thread Igor Brejc
- Maperitive: it runs on Linux too, and in a few weeks I hope I'll be able
to finish the SVG export functionality.

Regards,
Igor

On Sat, Jun 5, 2010 at 11:09 AM, Gervase Markham gerv-gm...@gerv.netwrote:

 Hi,

 I'd like to render a map of about a square mile or so of the town of
 Bromley, in Kent, for the information sheet for my wedding in August
 (yay!).
 http://osm.org/go/0EEBWURG
 I want to make the map, then remove a few bits which I don't need and
 add stuff to it like bigger labels on some important POIs like the
 church and the nearest station. I want it to look professional.

 This is just the sort of thing OSM should be good for, or so I hope :-)

 My first effort involved an SVG export of the Mapnik image from the main
 website. This is pretty good; the only problem is that the roads are
 unnecessarily narrow and so the road names are small and hard to read.
 I'd like pretty much that map, except with wider roads and bigger text.
 It would take an age to change it all manually in the SVG. What are my
 options for a custom render?

 - Mapnik: requires an incredible amount of setup, according to the wiki
   page.

 - Osmarender: It's ugly. Sorry, but it is.

 - mapgen.pl: Same.

 - Kosmos: I'm on Linux, and it only really runs on Windows.

 - Cobra: development seems dead.

 - Cartagen: It does road labels square on, which I don't like.

 - Cloudmade: initially, this seemed really promising. They have a
   variety of styles, and I probably could make
   one with wider roads, but the Terms of Service are so long and
   complex, and say don't do anything with this data that isn't your
   own personal use about three times in different ways, so I assume I
   can't use it.

 Any ideas? Is there an online service to which one can submit a Mapnik
 style sheet and get back a rendering of a small area?

 Gerv


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

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