Re: [OSM-dev] Tiles provider
Hi,Thank you for the response. I do have a offline tiles server on windows, I was just wondering if there was an easier way to download all the tiles of a big area for someone who does not want to install a tiles server. I didn't find any tiles provider in the list that allow you to download all the tiles from a large area. Everything seems to be online. Thank you,Vincent Date: Wed, 26 Mar 2014 16:58:01 +0400 From: zve...@textual.ru To: dev@openstreetmap.org CC: scream...@hotmail.com Subject: Re: Tiles provider Vince Berubey: Hi,To download the tiles from level 0 to 17 from a US state, is the only option to have an offline tiles server? Is there a company allowing you to do bulk downloading of tiles? The best option in my opinion is installing postgresql and mapnik on a local machine, and then generating tiles locally. That's what I have done last weekend instead of downloading tiles for zooms 14-15, and it turned out to be much easier that it looks. I've documented steps here: http://wiki.openstreetmap.org/wiki/User:Zverik/Tile_Server_on_Fedora_20 (Someday that page will have something on setting up a tile server, but for now I stopped at generating static tiles) All you need is a linux machine and an extract of OSM data for your state. Try here: http://download.geofabrik.de/north-america.html — you need an [.osm.pbf] file. IZ ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Tiles provider
Hi,To download the tiles from level 0 to 17 from a US state, is the only option to have an offline tiles server? Is there a company allowing you to do bulk downloading of tiles? Thank you.___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Longitude/Latitude result different from Google/Bing
Hi, If you look at this page, you will see a cell tower at: 39.184556 / -77.249806 http://www.cellreception.com/towers/details.php?id=1230956 In google map , it shows the same thing when we type 39.184556 -77.249806. But, in OpenStreetMap, you see the location of the cell tower is a little bit different: http://www.openstreetmap.org/search?query=39.184556%20-77.249806#map=18/39.18483/-77.24953 Do you have an explanation for this? Should I expect OSM to always have a longitude/latitude a little bit different that what it really is? Thank ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Longitude/Latitude result different from Google/Bing
Yes, the cell tower is located indeed at approx. 20m from the water tower. I thought that OSM was showing the CellTower, but it is the water tower, so it is fine. Thanks. Date: Tue, 18 Feb 2014 21:20:23 +0100 From: si...@poole.ch To: dev@openstreetmap.org Subject: Re: [OSM-dev] Longitude/Latitude result different from Google/Bing Am 18.02.2014 21:13, schrieb Simon Poole: that the position of the cell tower is not actually in the middle of the water tower which has a diameter of roughly 30m, but on one side of it. Actually as you see here http://mc.bbbike.org/mc/?lon=-77.24981lat=39.18456zoom=18num=2mt0=google-satellitemt1=bing-satellite it is very clear that the cell tower is a separate structure that is south west from the water tower that is mapped in OSM at a good 20m distance. Simon ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Size of tiles
Hi,using Mapnik and the python scripts, I generated tiles from zoom level 0 to 20. I was curious to find what is the exact size covered by a tile for every zoom level. .i.e: Zoom19= 20m^2 Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] osm.xml for Mapnik-v2.2.0
Hi,I use Windows 7. I had previously mapnik-0.7.1 and just installed mapnik-v2.2.0. When I run generate_xml.py osm.xml . , I get this errorRuntimeError: Must have 'face-name' set in FontSet 'book-fonts' in Font at line 9 of 'osm.xml' I know that osm.xml must be changed for the new version of Mapnik. But even with the latest version of Mapnik I got there: https://github.com/openstreetmap/mapnik-stylesheets, I still get the same error than with the osm.xml for 0.7.1 I tried to write different things at line 9, but always get the same error. ?xml version=1.0 encoding=utf-8?!DOCTYPE Map [!ENTITY % entities SYSTEM inc/entities.xml.inc%entities;]Map background-color=#b5d0d0 srs=srs900913; minimum-version=2.0.0 fontset-settings;Style name=turning_circle-casingRule --Line 9 Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm.xml for Mapnik-v2.2.0
Hi Tom,thank you for your answer. I copied all the files in a TileMill project, modified the connection string of every layer to my database, the connection string is good, but I don't see anything. Best regards. Date: Thu, 20 Jun 2013 20:56:50 +0100 From: t...@compton.nu To: scream...@hotmail.com CC: dev@openstreetmap.org Subject: Re: osm.xml for Mapnik-v2.2.0 On 20/06/13 20:31, Vince Berubey wrote: * I know that osm.xml must be changed for the new version of Mapnik. But even with the latest version of Mapnik I got there: https://github.com/openstreetmap/mapnik-stylesheets, I still get the same error than with the osm.xml for 0.7.1 That's a git mirror of the svn stylesheets I think, which is what we're currently running, but we aren't using 2.2 so it's not surprising that there may be issues. You will be better off using the new carto based stylesheet, which will be going live soon, and which is definitely working with 2.2. You can find it here: https://github.com/gravitystorm/openstreetmap-carto Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] mod_tile on windows?
Hi Sven,I was a looking for a way to generate tiles on the fly on windows, so I would not have to use the generate_tiles.py. Best regards. To: dev@openstreetmap.org From: li...@fuchsschwanzdomain.de Date: Fri, 7 Jun 2013 13:39:49 + Subject: Re: [OSM-dev] mod_tile on windows? Vince Berubey scream...@hotmail.com wrote: Has any development been done since to be compatible with Windows? Besides the fact that I do not see a particular good reason for running a tileserver on windows (mapnik works fine on windows, so style development can already take place on windows), I seriously doubt, that this will currently work. One reason for this is, that mod_tile uses a unix-domain socket to communicate with the backend (tirex/renderd). So one would need at least convert this to a tcp/socket. IMO, there is better work to do for mod_tile. One thing that comes to mind is the still unimplemented whitelist feature for tile trotteling, which I would have needed recently. This said I'm quite certain that Kai would not mind to take patches which will actaually make it work on windows. It's free software after all. Regards Sven P.S.: In this live I will probably not understand anymore, why people actually _want_ to use windows. Bad enough, that one is still forced to use it way to often. -- Those who do not understand Unix are condemned to reinvent it, poorly (Henry Spencer) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] mod_tile on windows?
The last answer I found is dated of 2009. http://old.nabble.com/Is-this-true-that-mod_tile-will-not-work-within-Windows--td26156566.html Has any development been done since to be compatible with Windows? Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] mapnik2geotools
https://github.com/dwins/mapnik2geotools Does anyone have ever tried this tool? I tried it, but it's been converting for a while. Im wondering if it takes a long time to do it or if it is just on a deadlock. Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] mapnik2geotools
Ok, I solved it. But if anynone used that tool in the past, I would like to get your feedbacks. Best regards. From: scream...@hotmail.com To: dev@openstreetmap.org Date: Tue, 4 Jun 2013 18:12:56 + Subject: [OSM-dev] mapnik2geotools https://github.com/dwins/mapnik2geotools Does anyone have ever tried this tool? I tried it, but it's been converting for a while. Im wondering if it takes a long time to do it or if it is just on a deadlock. Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] TileStache license
Hi,I'm using TileStache. I cannot find anywhere if TileStache is restricted by a license? I would assume GNU LESSER GENERAL PUBLIC LICENSE but I cannot find anything. Does anybody have information about it? Thanks. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Mapnik on Windows
Hi,I want to use the version of Mapnik that has this fix. I believe this fix is in Mapnik 2.0.1+.https://github.com/mapnik/mapnik/commit/57a3836c50d1e2fecbb76074fca9c6eb15137197 The only installation package available for windows is for the release 2.0:http://mapnik.org/news/2011/11/29/windows-binaries-progress/ What are my options here? Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] About the geographic data in a .osm file
It is very interesting Peter. I need to try the geofabrik data, but I also did a test with the cloudmade data that gave me a strange result. 1. I imported in (database1) in Postgres data from massachusset.2. I imported in (database2) in Postgres data from connecticut. Connecticut shares a border with massachusset. I generated tiles from database1, everything ok. After, I generated tiles from database2. The tiles were all generated in the same TilesCache. What happened is for some zoom level the tiles of massachusset disappeared. What I thought is that Connecticut was generating missing tiles for Massachusset. It looks like there is no way to fix that. Date: Fri, 24 May 2013 23:39:09 +0200 From: wendo...@uni-paderborn.de To: dev@openstreetmap.org Subject: Re: [OSM-dev] About the geographic data in a .osm file Just to avoid confusions: The Geofabrik extracts does not cut along the borders exactly, too. They should be better (I guess), but not exact. Exact splitting is much more expensive in terms of time and memory than splitting a rough bounding polygon. That polygon should contain the whole country, but may contain additional areas to reduce complexity. And - of course: As far as I know none of the available extract services splits ways or areas (except multipolygons probably) when exporting, so if a way crosses the border, it's usually contained completely in the extract. regards Peter Am 24.05.2013 23:16, schrieb Vince Berubey: Thanks Toby,you answered exactly what I was trying to understand. - I do understand why i'm getting blank tiles.- I wanted to know why there is data outside of delaware. I do understand know. Date: Fri, 24 May 2013 16:12:33 -0500 Subject: Re: [OSM-dev] About the geographic data in a .osm file From: toby.mur...@gmail.com To: scream...@hotmail.com CC: dev@openstreetmap.org First of all, did you notice that the cloudmade extracts are over a year old? I would suggest looking at geofabrik for up to date extracts:http://download.geofabrik.de/north-america.html As for your tiles quesion, I'm not quite sure what you mean. Are you asking why there is any data outside of Delaware? Or why you are getting blank tiles where you don't have any data? The cloudmade extracts never were too accurate on the state borders. When I first downloaded Kansas they were missing the north border by a couple of miles and had extra on the south. So it doesn't surprise me that the cloudmade extract has extra data in it. As for tile generation, the tile rendering process doesn't care about where you do/don't have data. It just renders the tiles you tell it to render. If there happens to be no data in that area then the tile will be blank. Toby On Fri, May 24, 2013 at 3:08 PM, Vince Berubey scream...@hotmail.com wrote: I have downloaded delaware.osm.bz2 http://downloads.cloudmade.com/americas/northern_america/united_states/delaware#downloads_breadcrumbs The boundary box I used when I generated my tiles from Generated_tyles.py were a little bit bigger than the Delaware region. What I don't understand is why I was able to generate tiles that were in my boundary box, but outside the Delaware area. So, the .osm file does not exactly contain only the geographic data from the region that you have downladed? Please look at this file, the red marks are the Delaware borders. I have a lot of tiles generated outside of these borders: http://postimg.org/image/ogwbjz5ln/ Thank you for any explanation about it. Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Generate tiles with generate_tiles.py
I import the data to Postgres/Postgis. Thank you for ST_Envelope, i'll give it a try. Vinc To: dev@openstreetmap.org From: li...@fuchsschwanzdomain.de Date: Fri, 24 May 2013 12:32:45 + Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py Vince Berubey scream...@hotmail.com wrote: For example, I download an .osm.bz2 from Cloudmade, the map of Ile-De-France=Paris http://downloads.cloudmade.com/europe/western_europe/france/ile-de-france#downloads_breadcrumbs I would like to call generate_tyles.py from another language. I want to pass the bounding box values as arguments, but I don't want to go in the Import Tab of OpenStreetMap and manually select the area. Are you rendering directly from the osm file or do you import the data to postgis? If so you can get the bounding box of all data from postgis using ST_Envelope. Sven -- Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär, und - dank Knut - insbesondere der Eisbär, deutlich größerer Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Generate tiles with generate_tiles.py
The final answer:- Log in SQL Shell(psql) Command: select st_extent(way) from planet_osm_point; Result: st_extent BOX(-8447534.85 4625748.42,-8354331.48 4857009.28)(1 row) Reference:http://gis.stackexchange.com/questions/14963/how-to-retrieve-the-corners-of-the-bounding-box-from-st-extent Thank you. From: scream...@hotmail.com To: li...@fuchsschwanzdomain.de; dev@openstreetmap.org Date: Fri, 24 May 2013 13:51:37 + Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py I import the data to Postgres/Postgis. Thank you for ST_Envelope, i'll give it a try. Vinc To: dev@openstreetmap.org From: li...@fuchsschwanzdomain.de Date: Fri, 24 May 2013 12:32:45 + Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py Vince Berubey scream...@hotmail.com wrote: For example, I download an .osm.bz2 from Cloudmade, the map of Ile-De-France=Paris http://downloads.cloudmade.com/europe/western_europe/france/ile-de-france#downloads_breadcrumbs I would like to call generate_tyles.py from another language. I want to pass the bounding box values as arguments, but I don't want to go in the Import Tab of OpenStreetMap and manually select the area. Are you rendering directly from the osm file or do you import the data to postgis? If so you can get the bounding box of all data from postgis using ST_Envelope. Sven -- Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär, und - dank Knut - insbesondere der Eisbär, deutlich größerer Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/) /me is giggls@ircnet, http://sven.gegg.us/ on the Web ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] About the geographic data in a .osm file
I have downloaded delaware.osm.bz2 http://downloads.cloudmade.com/americas/northern_america/united_states/delaware#downloads_breadcrumbs The boundary box I used when I generated my tiles from Generated_tyles.py were a little bit bigger than the Delaware region. What I don't understand is why I was able to generate tiles that were in my boundary box, but outside the Delaware area. So, the .osm file does not exactly contain only the geographic data from the region that you have downladed? Please look at this file, the red marks are the Delaware borders. I have a lot of tiles generated outside of these borders: http://postimg.org/image/ogwbjz5ln/ Thank you for any explanation about it. Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] About the geographic data in a .osm file
Thanks Toby,you answered exactly what I was trying to understand. - I do understand why i'm getting blank tiles.- I wanted to know why there is data outside of delaware. I do understand know. Date: Fri, 24 May 2013 16:12:33 -0500 Subject: Re: [OSM-dev] About the geographic data in a .osm file From: toby.mur...@gmail.com To: scream...@hotmail.com CC: dev@openstreetmap.org First of all, did you notice that the cloudmade extracts are over a year old? I would suggest looking at geofabrik for up to date extracts:http://download.geofabrik.de/north-america.html As for your tiles quesion, I'm not quite sure what you mean. Are you asking why there is any data outside of Delaware? Or why you are getting blank tiles where you don't have any data? The cloudmade extracts never were too accurate on the state borders. When I first downloaded Kansas they were missing the north border by a couple of miles and had extra on the south. So it doesn't surprise me that the cloudmade extract has extra data in it. As for tile generation, the tile rendering process doesn't care about where you do/don't have data. It just renders the tiles you tell it to render. If there happens to be no data in that area then the tile will be blank. Toby On Fri, May 24, 2013 at 3:08 PM, Vince Berubey scream...@hotmail.com wrote: I have downloaded delaware.osm.bz2 http://downloads.cloudmade.com/americas/northern_america/united_states/delaware#downloads_breadcrumbs The boundary box I used when I generated my tiles from Generated_tyles.py were a little bit bigger than the Delaware region. What I don't understand is why I was able to generate tiles that were in my boundary box, but outside the Delaware area. So, the .osm file does not exactly contain only the geographic data from the region that you have downladed? Please look at this file, the red marks are the Delaware borders. I have a lot of tiles generated outside of these borders: http://postimg.org/image/ogwbjz5ln/ Thank you for any explanation about it. Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Generate tiles with generate_tiles.py
To get the bounding box values from the Export tab might not the best options for us. Is there any way to get this automatically. Like a query to a table to would return the values? Best regards. Date: Wed, 22 May 2013 18:01:33 -0400 Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py From: rich...@weait.com To: scream...@hotmail.com CC: dev@openstreetmap.org On Wed, May 22, 2013 at 5:52 PM, Vince Berubey scream...@hotmail.com wrote: Hi,I would be grateful if someone could help me with this. I use generate_tyles.py to create tiles. But, in the script you need to write the bounding box values of the region from where you want to generate the tiles. Since, I was using an example I found online, they were providing these values. But, for example, if I want to get the bounding box values of Paris, how do I get them? bbox = (-180.0,-90.0, 180.0,90.0) ---render_tiles(bbox, mapfile, tile_dir, 0, 5, Paris) for kicks, try this for a start bbox = (2.2192,48.7686, 2.4747,48.9491) You could use the export tab on openstreetmap.org (and the manually select a different area, option) to find another bounding box that you like. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Generate tiles with generate_tiles.py
For example, I download an .osm.bz2 from Cloudmade, the map of Ile-De-France=Paris http://downloads.cloudmade.com/europe/western_europe/france/ile-de-france#downloads_breadcrumbs I would like to call generate_tyles.py from another language. I want to pass the bounding box values as arguments, but I don't want to go in the Import Tab of OpenStreetMap and manually select the area. This is what I want to achieve. I want to automate the process as most as I can. Thank you for the support. Date: Thu, 23 May 2013 15:13:49 +0200 From: frede...@remote.org To: dev@openstreetmap.org Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py Hi, On 05/23/13 15:06, Vince Berubey wrote: To get the bounding box values from the Export tab might not the best options for us. Is there any way to get this automatically. Like a query to a table to would return the values? Please clarify - you want to make a query where the output data is a bounding box. But what is the input data? Paris? How would the table know which Paris you mean, and how much of Paris you want? Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] issue with osm2pgsql
Hi,This is strange, I used osm2pgsql before correctly and suddenly it stops working. osm2pgsql C:\Users\vincentberube\Documents\EIDF\Settup\osm\osmdelaware.osm.bz2 -d osmDelaware -U postgres -P 5432 -S default.style --hstore Error: Connection to database failed: FATAL: password authentication failed for user vincentberubey vincentberubey is my network username. I have -U postgres, it should use that username. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Generate tiles with generate_tiles.py
Hi,I would be grateful if someone could help me with this. I use generate_tyles.py to create tiles. But, in the script you need to write the bounding box values of the region from where you want to generate the tiles. Since, I was using an example I found online, they were providing these values. But, for example, if I want to get the bounding box values of Paris, how do I get them? bbox = (-180.0,-90.0, 180.0,90.0) ---render_tiles(bbox, mapfile, tile_dir, 0, 5, Paris) Best regards. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] What about Windows 8?
Hi,Has anyone tried to use OpenStreetMap on a Windows 8 tablet? Is the multitouch feature working fine, zoom-in/zoom-out? Thank you ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev