[OSM-talk] Local map making - truncating ways on boundary?
Frederik Ramm
frederik at remote.org
Thu Apr 3 20:51:16 BST 2008
Hi,
> I'm trying to put to together a procedure for making an overview map of a
> local area. I can use XAPI to get appropriate data, but some ways cross
> the specified boundary (bbox or bpoly) and continue 'outside the box'.
>
> Is there a method for truncating ways at the boundary?
None that I know of, but Osmosis will at least truncate ways at the
first node outside of the specified box/polygon (or at the last node
inside...? not sure ATM). I know that one of the Osmosis guys,
probably Karl Newman, wanted to implement something like proper
truncation with phantom nodes or so in order to prepare data for
Garmin imports.
> I'd even consider using a method to truncate the SVG output from
> osmarender, however with the number of layers produced that's not terribly
> easy either.
You know that if you specify a proper <bounds> element in the
Osmarender rules file, Osmarender will create SVG clipping for the
specified area?
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the talk
mailing list