[OSM-talk] osmarender bounding box cropping
Thom Shannon
thom at glow-internet.com
Tue Oct 30 17:47:21 GMT 2007
> > http://wiki.openstreetmap.org/index.php/Osmarender/Options#Bounds
>
> this seems to be an option to the renderer, correct?
>
yes it is
> clearly there's an architectural issue here that i don't understand yet.
>
Yes I think that would be a big overhead on the server, the data in an
osm file is litterally straight out of the database. To clip the ways it
would have to calculate which ways cross the boundaries of the box and
create new nodes at the point for the way to stop at, these new nodes
wouldn't reflect the data in the database, they'd be some kind of
virtual node.
Another issue is that I dont think a way crossing over the boundary box
will ever be seen if it has no nodes in the box. For example a long
stretch of motorway running in a straight line across the corner, the
two nodes either end of the line may be outside the box. Since it works
by pulling out all nodes in the area, then finding ways using those
nodes, then finding other nodes for those ways.
anyone feel free to correct me on all that!
> thanks...
>
> paul
> =---------------------
> paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 53.6 degrees)
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
>
>
--
*** OPEN COFFEE 6 - with FACT - http://upcoming.yahoo.com/event/307022 ***
Glow New Media
t: 0151 707 9770
m: 07730 987 574
www.glow-internet.com
Suite 712 Gostins Building
32-36 Hanover Street
Liverpool
L1 4LN
Map: http://tinyurl.com/2f5nxd
More information about the talk
mailing list