Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Nico Mandery
Lukasz Szybalski schrieb: On Wed, Oct 22, 2008 at 8:03 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 5:16 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 22 Oct 2008, at 21:38, Lukasz Szybalski wrote: You've been pointed at a web page that tells you

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread spaetz
On Wed, Oct 22, 2008 at 12:21:30PM -0500, Lukasz Szybalski wrote: I still can't find an example of openstreet layers that uses google style URL mapping (aka mapnik style)? Why don't you just go to informationfreeway.org and have a look at the source of that one page. it contains all you need.

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Shaun McDonald
On 23 Oct 2008, at 03:51, Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 8:03 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 5:16 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 22 Oct 2008, at 21:38, Lukasz Szybalski wrote: You've been pointed at a web page that

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Lukasz Szybalski
On Thu, Oct 23, 2008 at 10:02 AM, Shaun McDonald [EMAIL PROTECTED] wrote: On 23 Oct 2008, at 03:51, Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 8:03 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 5:16 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 22 Oct 2008,

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Shaun McDonald
On 23 Oct 2008, at 16:12, Lukasz Szybalski wrote: Is there an example where I could overwrite the url variable in the OpenStreetMap.js outside of that file? . (Because the way its delivered that file is more of a library file so I would like to keep any changes to it outside of that file if

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Lukasz Szybalski
On Thu, Oct 23, 2008 at 10:44 AM, Shaun McDonald [EMAIL PROTECTED] wrote: On 23 Oct 2008, at 16:12, Lukasz Szybalski wrote: Is there an example where I could overwrite the url variable in the OpenStreetMap.js outside of that file? . (Because the way its delivered that file is more of a

Re: [OSM-talk] mapnik and openlayers?

2008-10-23 Thread Shaun McDonald
On 23 Oct 2008, at 17:16, Lukasz Szybalski wrote: On Thu, Oct 23, 2008 at 10:44 AM, Shaun McDonald [EMAIL PROTECTED] wrote: On 23 Oct 2008, at 16:12, Lukasz Szybalski wrote: Is there an example where I could overwrite the url variable in the OpenStreetMap.js outside of that file? .

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Chris Jones
Lukasz Szybalski wrote: On Tue, Oct 21, 2008 at 7:56 PM, Grant Slater [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: Hello, I am trying to use the turbogears widget for openlayers and I'm having hard time figuring out how to point to openstreetmaps.org tiles. One of the

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Grant Slater
Lukasz Szybalski wrote: So its safe to assume that TMS is what mapnik provides? (only) and if I want WMS I would have to create that service on my server? Your server yes. OSM's tile servers do TMS only. Mapnik WMS support. http://trac.mapnik.org/wiki/OgcServer / Grant

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 4:51 AM, Chris Jones [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: On Tue, Oct 21, 2008 at 7:56 PM, Grant Slater [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: Hello, I am trying to use the turbogears widget for openlayers and I'm having hard time figuring

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Ed Loach
Lucas wrote: So now what is the layer name for this url? I know the image is png: http://www.openlayers.org/dev/examples/tms.html I replaced the url with http://tile.openstreetmap.org/; what is the layer_name? Is this url working for you? What options you have selected? What you're

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
/dev/examples/sundials-osm.html Ed -Original Message- From: [EMAIL PROTECTED] [mailto:talk- [EMAIL PROTECTED] On Behalf Of Lukasz Szybalski Sent: 22 October 2008 14:51 To: Grant Slater Cc: OSM Talk Subject: Re: [OSM-talk] mapnik and openlayers? On Wed, Oct 22, 2008 at 8:29 AM

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Nico Mandery
use? http://www.openlayers.org/dev/examples/sundials-osm.html Ed -Original Message- From: [EMAIL PROTECTED] [mailto:talk- [EMAIL PROTECTED] On Behalf Of Lukasz Szybalski Sent: 22 October 2008 14:51 To: Grant Slater Cc: OSM Talk Subject: Re: [OSM-talk] mapnik and openlayers

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Tom Hughes
Lukasz Szybalski wrote: ok so I kind of got this url working: http://www.openlayers.org/dev/examples/tms.html url:http://tile.openstreetmap.org/ image:png layer_name: .. (two dots because 1.0.0 gets added to the url http://tile.openstreetmap.org/1.0.0/...) I've been told that

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
ok so I kind of got this url working: http://www.openlayers.org/dev/examples/tms.html url:http://tile.openstreetmap.org/ image:png layer_name: .. (two dots because 1.0.0 gets added to the url http://tile.openstreetmap.org/1.0.0/...) I've been told that mapnik/openstreetmap.org uses flipped TMS

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 10:22 AM, Tom Hughes [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: ok so I kind of got this url working: http://www.openlayers.org/dev/examples/tms.html url:http://tile.openstreetmap.org/ image:png layer_name: .. (two dots because 1.0.0 gets added to the url

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Tom Hughes
Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:22 AM, Tom Hughes [EMAIL PROTECTED] wrote: Mapnik is just a rendering engine - where you put the tiles that it generates and how your web server maps URLs to those tiles is nothing to do with mapnik. Our mapnik tile server uses mod_tile to

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 10:43 AM, Tom Hughes [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:22 AM, Tom Hughes [EMAIL PROTECTED] wrote: Mapnik is just a rendering engine - where you put the tiles that it generates and how your web server maps URLs to those tiles

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Tom Hughes
Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:43 AM, Tom Hughes [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:22 AM, Tom Hughes [EMAIL PROTECTED] wrote: Mapnik is just a rendering engine - where you put the tiles that it generates and how your web server

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 11:50 AM, Tom Hughes [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:43 AM, Tom Hughes [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: On Wed, Oct 22, 2008 at 10:22 AM, Tom Hughes [EMAIL PROTECTED] wrote: Mapnik is just a rendering

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Tom Hughes
Lukasz Szybalski wrote: I'm not really sure what you mean in above. I'm not that knowledgeable yet in technical details of map layers you use at openstreetmap.org. Right now I just want to display the openstreetmap.org tiles on my map and be able to zoom in etc then Here is what I

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
I know nothing about Turbo Gears, but if you can give an example of a Turbo Gears page that uses OL we can probably show you how to modify it to display an OSM layer. Right now I need to know how can I configure openlayers to use tile.openstreetmap.org or how to configure mapnik to render

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Tom Hughes
Lukasz Szybalski wrote: I know nothing about Turbo Gears, but if you can give an example of a Turbo Gears page that uses OL we can probably show you how to modify it to display an OSM layer. Right now I need to know how can I configure openlayers to use tile.openstreetmap.org or how to

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
You've been pointed at a web page that tells you how to do that. Please go and read it. So I've looked at the source code for the tw.openlayers which should correspond to openlayers java script file. http://toscawidgets.org/hg/tw.openlayers/file/387a2f19c67a/tw/openlayers/layer.py from layer

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Shaun McDonald
On 22 Oct 2008, at 21:38, Lukasz Szybalski wrote: You've been pointed at a web page that tells you how to do that. Please go and read it. So I've looked at the source code for the tw.openlayers which should correspond to openlayers java script file.

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 5:16 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 22 Oct 2008, at 21:38, Lukasz Szybalski wrote: You've been pointed at a web page that tells you how to do that. Please go and read it. So I've looked at the source code for the tw.openlayers which should

Re: [OSM-talk] mapnik and openlayers?

2008-10-22 Thread Lukasz Szybalski
On Wed, Oct 22, 2008 at 8:03 PM, Lukasz Szybalski [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 5:16 PM, Shaun McDonald [EMAIL PROTECTED] wrote: On 22 Oct 2008, at 21:38, Lukasz Szybalski wrote: You've been pointed at a web page that tells you how to do that. Please go and read it.

Re: [OSM-talk] mapnik and openlayers?

2008-10-21 Thread Grant Slater
Lukasz Szybalski wrote: Hello, I am trying to use the turbogears widget for openlayers and I'm having hard time figuring out how to point to openstreetmaps.org tiles. One of the examples they have: ol = WMS(name=OpenLayers WMS, url=[http://labs.metacarta.com/wms/vmap0;],

Re: [OSM-talk] mapnik and openlayers?

2008-10-21 Thread Lukasz Szybalski
On Tue, Oct 21, 2008 at 7:56 PM, Grant Slater [EMAIL PROTECTED] wrote: Lukasz Szybalski wrote: Hello, I am trying to use the turbogears widget for openlayers and I'm having hard time figuring out how to point to openstreetmaps.org tiles. One of the examples they have: ol =