<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
scrap that! I just found this<br>
<a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/index.php/Osmarender/Options#Bounds">http://wiki.openstreetmap.org/index.php/Osmarender/Options#Bounds</a><br>
<br>
(I'm just sending all this to the list for the sake of the archives)<br>
<br>
Thom Shannon wrote:
<blockquote cite="mid:472762C9.2040008@glow-internet.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Just come up with a much simpler idea! Add a couple of nodes to the osm
data with a made up tag, add a render rule for the tag, build the SVG
then read out the coords of those nodes, they can then be removed from
the svg.<br>
<br>
Thom Shannon wrote:
<blockquote cite="mid:472757DA.2070206@glow-internet.com" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Yes I am basically building a custom tile maker here! I should probably
just hack a copy of tiles@home, I used to do a lot of perl so I'll have
a crack at that. Thanks<br>
<br>
Dirk-Lüder Kreie wrote:
<blockquote cite="mid:47275586.9000903@deelkar.net" type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thom Shannon schrieb:
</pre>
<blockquote type="cite">
<pre wrap="">When you download your osm data based on a bounding box you get the
whole of any ways with nodes in that box, which is of course quite
sensible. But when you render your SVG, the map you were hoping up ends
up down in the corner somewhere because of a big bit of coast or
motorway sticking out.
I'm thinking if I go through the nodes in the osm data and find the
extreme outer points in all four directions, then work backwards I can
figure out the coordinates in the SVG document where my original
bounding box would be. The only problem is I'm not sure what kind
projection osmarender uses to convert the lat/lon coords to a grid.
Any ideas on the best way to do this?
</pre>
</blockquote>
<pre wrap=""><!---->
This is the exact same problem tilesAtHome has solved already. I'd have
to look at the code to tell you what exactly is done. to get the right
bbox...
- --
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>
iD8DBQFHJ1WGFUbODdpRVDwRAt4VAKCfnNgKHmdWo1LLJcei3Ahac0FWJwCdFScM
eQgAdxR3DGahJK45eEekCYs=
=5ZPA
-----END PGP SIGNATURE-----
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
*** OPEN COFFEE 6 - with FACT - <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://upcoming.yahoo.com/event/307022">http://upcoming.yahoo.com/event/307022</a>
***<br>
<br>
Glow New Media<br>
t: 0151 707 9770<br>
m: 07730 987 574<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.glow-internet.com">www.glow-internet.com</a><br>
<br>
Suite 712 Gostins Building<br>
32-36 Hanover Street<br>
Liverpool<br>
L1 4LN<br>
<br>
Map: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://tinyurl.com/2f5nxd">http://tinyurl.com/2f5nxd</a> </div>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
talk mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
*** OPEN COFFEE 6 - with FACT - <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://upcoming.yahoo.com/event/307022">http://upcoming.yahoo.com/event/307022</a>
***<br>
<br>
Glow New Media<br>
t: 0151 707 9770<br>
m: 07730 987 574<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="http://www.glow-internet.com">www.glow-internet.com</a><br>
<br>
Suite 712 Gostins Building<br>
32-36 Hanover Street<br>
Liverpool<br>
L1 4LN<br>
<br>
Map: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://tinyurl.com/2f5nxd">http://tinyurl.com/2f5nxd</a>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk</a>
</pre>
</blockquote>
<br>
</body>
</html>