[Tilesathome] minsize support in or/p

Knut Arne Bjørndal bob+osm at cakebox.net
Tue Aug 12 11:15:56 BST 2008


On Tue, Aug 12, 2008 at 12:07:01PM +0200, Jiri Klement wrote:
> > While experimenting I had a small problem with the symbols directory. I
> > had or/p and osmarender6 checked out from underneath
> > applications/rendering (i.e. not inside t at h), and ran or/p with
> >
> > perl orp.pl -r ../osmarender6/osm-map-features-z12.xml myfile.osm
> >
> > then received the error message that "../osmarender/symbols/peak.svg"
> > was not found (note osmarender without "6"). It seems as if someone,
> > somewhere makes an assumption that only works inside t at h (where
> > osmarender is named without the "6"). May well be my own mistake, but I
> > don't have time to investigate right now as my flight is about to depart
> > and I'll be offline until Sunday.
> 
> It was me who hardcoded path to osmarender in orp. The path to symbols
> should be relative to location of stylesheet, but t at h client modifies
> stylesheets and move it to working directory. I will have to either
> make client move symbols dir as well (which would require client to
> parse stylesheet) or change client to use unmodified stylesheets.

As far as I know the only change done to the stylesheet is to insert a
bounds element? If so you could change it do delete all bounds
elements in the .osm file and put it there instead. That would also
make it change only one file instead of all the stylesheets.

PS: Please make sure to remove all existing bounds elements if you do
this, some other things might work at present but I plan to change
some things related to <bounds> parsing soon.

-- 
Knut Arne Bjørndal
aka Bob Kåre
bob+osm at cakebox.net
bobkare at irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4167 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080812/a256db51/attachment.bin>


More information about the Tilesathome mailing list