Re: [OSM-dev] [GSoC] OpenStreetMapWidget
On Tue, Jun 19, 2012 at 3:30 AM, Aleksandra Milanovic sandraa.milano...@gmail.com wrote: Hi, Posting my first update. The project: http://wiki.openstreetmap.org/wiki/Google_Summer_of_Code/2012/OSM_widget_constructor The actual project :) : http://sandra-milanovic.github.com/OpenStreetMapWidget/ Hi Sandra, Its working good and interface is also seems to be pretty good. I want to know which method you have opted for tracking the location, as it has asked me to allow to track your location but tracked at the wrong place. Almost 80km difference from where I am currently living. Thanks. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Projects Announcement
On Tue, Apr 24, 2012 at 3:34 AM, Graham Jones grahamjones...@gmail.com wrote: Anomaly Detection Engine (Velkei Adam Istvan) [Mentored by Derick Rethans] Improved Support for non-Latin Languates in mapnik (Hermann Krauss) [Mentored by Dane Springmayer] Improvements to Vespucci (Jan Schejbal) [Mentored by Marcus Wolschon] OSM Widget Creator ( Aleksandra Milanovic) [Mentored by Kate Chapman] Tile Data Service (Michael Daines) [Mentored by Darafei Praliaskouski (Komzpa)] Video Based Speed Limit and Road Sign Detector plugin for JSOM (Nikhil Upadhye) [Mentored By Kai Krueger] Congratulations to all the selected students and mentors with there projects. Good Luck :) -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Updating own tile server
On Thu, Apr 12, 2012 at 12:06 PM, Anwar Azulfa an...@troyans.net wrote: I fount http://www.hyperionreactor.net/blog/how … r-database Is your map server working now, If not then before running osmosis, That should be working. But when i execute ./osmosis --read-replication-interval-init workingDirectory=/mnt/changesets/ i got error messages like bellow : snip org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type read-replication-interval-init doesn't exist. Have you made changesets directory or edited that file according to you. Hope it will help. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [GSoC 2012] Question about video based speed limit detector
2012/3/30 Graham Jones grahamjones...@gmail.com: Hi Graham, The little 'test' we added to the application is just to show a general understanding of how OSM works. This is good idea to know that if applicant is known to OSM or not. I would like to ask, Are there any bug list of which students can submit patches so that they can show their programming skill or showing the previous work is enough. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] StyleSheet Generator for OSM [GSoC'12]
On Tue, Mar 27, 2012 at 1:42 PM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, I like the idea of making it easy for less technical users to create their own maps. You are right that it is now (relatively) easy to set up a tile server given the work that has been done packaging the main tools, but creating a map style is quite a task, and even customising the default OSM one is daunting. Therefore I think a project based on helping people create custom map styles is a good thing. Thanks To turn your idea into a good proposal, I think you need to address the following: How will this work - is it a text file that the user edits manually, or will there be a graphical interface? Yeah for sure, providing easy UI will be its first preference. If it is a graphical system, is it a desktop application or a web based one? I will prefer to make it web based, to make it System Independent. I have worked on a project of university following the same concepts to generate files with PHP In either case, how will you go about it? Will it work on mapnik XML style sheets, or carto CSS ones.or maybe the CSS style used by KothicJS and others? If we take entries from users into database, then we can generate any type of file from database. XML or CSS by fetching all the variable values from the database. It would be good to compare your ideas to TileMill, which is going a long way to doing what you are proposing, but I think we lack a tilemill (carto) base style for OSM data to customise (I have some very simple ones, but they are way off the complexity of the standard OSM mapnik style). One of last year's Mapnik GSoC projects may have created an XML to carto converter, which could help? Yeah I am checking that. Therefore one possibility may be to use tilemill as a base for the project. Is it mean to do improvements in tilemil? The simplest step forward, which I think would be useful would be to extend the use of entities in the existing XML stylesheet so that all of the styles for drawing the various components are defined in a single place, separated from the more complicated bits, but I have not looked at how feasible this is given the support for various zoom levels in the style sheet - it may not be much simpler (but could maybe have a file for each zoom level?). Not got this point, Can you please elaborate it a bit more? Anyway, these are just a few thoughts to help you put together a proposal which you would like to work on, and are confident in being able to achieve in the GSoC timescale. Thank You very much for replying back and for suggestions :) -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] StyleSheet Generator for OSM [GSoC'12]
On Tue, Mar 27, 2012 at 2:10 PM, Darafei Praliaskouski m...@komzpa.net wrote: Hi Darafei, Something similar exists. http://wiki.openstreetmap.org/wiki/Komap Nice to see that. It is mapcss-to-mapnik and mapcss-to-kothicjs stylesheet converter. The idea behind it is to have a single stylesheet that can be used in JOSM, Potlatch, Mapnik, Kothic and a bunch of other renderers. There are a lot of improvements that can be done to it: Yeah, Its also written on their project page, that it is not available for daily use. - reformat all hacks to some real mapcss structures, i.e. invent a nice syntax for dem coloring, hillshading parameters, layering model. Is it mean that should I go for rebuilding it with following all the coding standards and concept? - add at east some support for cascading for non-cascaded renderers like mapnik (i.e. allow structures like: way{color: black; font-face: Arial} way[highway]{casing-width:1; color: red} way[highway=primary]{width:3; text:name} ) - add more rendering backends, from popular demand - maperitive, geoserver; probably also some mobile apps like osmand / gpsmid; - some more crazy ideas? integrate it with some renderer (kothic js? maperitive?) and make a easy map generator software, with simple buttons edit stylesheet, publish for web, make tiles, make pdf for printing, make svg for further editing. That seems a nice job, but if we have to generate tiles it should be some desktop application preferably, because I have tried to generate tiles through web browsers and faces lot of security issues in that. Thank You for suggestions :) -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] StyleSheet Generator for OSM [GSoC'12]
On Wed, Mar 28, 2012 at 10:20 AM, Graham Jones grahamjones...@gmail.com wrote: I am not sure where the database idea comes into it - the xml style file is very complicated - are you proposing to include all the parts of that in a database to re-generate it? As I thought, to take values from the user of their choice and then to move all that values to a database. and then we can generate any type of file from that. As I have looked into the style file of osm.xml, it looks like a easy pattern followed in it. Kompza also mentioned a tool to convert between style types, which would be worth looking at. Yeah I have checked it, A similar idea. I think it is a bit simple for what you have in mind, but XML allows you to define entities (~=named constants as far as I can tell). Look at the main OSM style - there is an inc/entities.xml.inc file that defines quite a lot. Got it, Thanks. There is not a lot of 'code' in this idea though, so it may not be a good GSoC project on its own, unless it were linked to something else to make it easier for users to make their own maps. okay, So I think I should look at some other idea from Ideas list as the time is very less to submit early proposal. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] StyleSheet Generator for OSM [GSoC'12]
On Wed, Mar 28, 2012 at 10:46 AM, Graham Jones grahamjones...@gmail.com wrote: Sorry parveen I have confused you. Its ok, I have got your point. The thing that is probably too simple for a gsoc project is my last point about converting the style file to use entities. Yeah, It will be easy one. The idea of a graphical style editor is fine. Thanks, But I have thought to work on some other idea because there is already similar works done in Komap (Kothic MapCSS processor.) So I am want to propose some potential and feasible idea. If graphical style editor can be one, I will be happy to work on that. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSOC 2012: CycleStreets project proposals
On Fri, Mar 9, 2012 at 6:38 PM, Martin - CycleStreets list-osm-...@cyclestreets.net wrote: We've posted some proposals to the GSOC 2012 page at: http://wiki.openstreetmap.org/wiki/GSoC_Project_Ideas_2012#Routers - Live routing (immediacy) - Less wiggly routes - Internationalisation - Cyclescape - Scale up to whole planet with cycle routes - Why-routing - 'why has the router chosen that route?' Any comments would be welcome. Thanks Martin, Its good to see some potential ideas over there, which has made our application stronger. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Direct Map to my Own tile server (brewmap)
On Thu, Jan 26, 2012 at 8:00 AM, Anwar Azulfa an...@troyans.net wrote: What do you mean i must extract data from database ? Hi Anwar, It means to show data which you want to show specifically show on the map. How i can extract data from database on specific location because my map is around the world? my db is postgresql. Check this file and https://github.com/jones139/BrewMap/blob/master/server/BrewMap.cfg and SQL queries in it, According to me you have to modify these queries to show data of particular city etc. Hope it will help. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] helping #switch2osm
On Fri, Jan 13, 2012 at 8:15 PM, Kai Krueger kakrue...@gmail.com wrote: We should try and get more of the rendering tool stack into the standard repositories of Ubuntu and Feodora. That would probably make it easier to install a tile server. There are already a bunch of osm programs in the ubuntu repositories (e.g. josm and osm2pgsql, although the later is rather old), but programs like mod_tile, renderd and tirex are still missing. I wanted to see if I can do that, but then didn't get around to it. So if anyone else wants to try this it would be great. However, to get it into the next long term release 12.04, one would probably need to do this very soon. Hi Kai, I am interested to o this task to include it in the Ubuntu repositary, moreover we can also provide a add on feature of customised map tiles according to the choice of the users rather than the default tiles. Please let me know what should I need to do and what should I need to know? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] ER Diagram of OSM Database
Hi All, I was searching for ER Diagram of OpenStreetMap's Database to understand completely, So I would like to know If there is any available or not? I found one component diagram http://wiki.openstreetmap.org/wiki/Component_overview But I want one only of database? or Please let me know how to generate it automatically from PostGreSQL Database? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] ER Diagram of OSM Database
On Mon, Dec 12, 2011 at 1:26 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Hi, Hi Mayeul, This might be what you want: http://wiki.openstreetmap.org/wiki/The_Rails_Port/Railroad_diagrams This seems to be the database of whole website, But I just particularly wants the diagram of data file stored in database, I want to know how different tags, nodes, relations are being stored in the database, how they are related to each other. Is there any of this kind available? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] ER Diagram of OSM Database
On Mon, Dec 12, 2011 at 4:14 PM, Andreas Hubel a...@saerdnaer.de wrote: Hello Parveen, Am 12.12.2011 um 19:50 schrieb Parveen Arora: I was searching for ER Diagram of OpenStreetMap's Database to understand completely, I think the best way is to understand the different parts step by step and not to try to understand everything at the first time. I found one component diagram http://wiki.openstreetmap.org/wiki/Component_overview But I want one only of database? There is not one database. The main services provided by the foundation actually use two different databases, as shown in the component overview you already found. Green: PostgreSQL backend aliases: api db, main db, core db Yellow: PostGIS aliases: osm2pgsql db, Mapnik db Yes, I want to have the diagram Yellow:PostGIS, the diagram of database of osm file stored using osm2pgsql. We should definitely discuss about using uniform names in future. Yes, I realized this lately after posting the email, I will take care of it from next time. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Script for Installing Mapnik2
Hi All, I was searching for the script to install Mapnik2, Is there any available? If Yes, Please let me know. Thank You very much. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Invitation to connect on LinkedIn
On Sun, Oct 9, 2011 at 12:49 AM, Achintya Prakash achint.prak...@gmail.com wrote: Dear All, I am so sorry about that. Please ignore that email. My sincerest apologies. Its ok, But take care of it for future and unsubscribe your self from the updates of the linkdIn or revoke the permissions of sending emails, because most times it linkdin automatically send reminders about the Invitation. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] How to check for database updates after minutely Mapnik Installation?
Hello All, I have installed minutely mapnik which I think is working and updating database of postgresql. But can anyone help me in checking that How to check the last and latest updates in the database, and when and what changes has been made last time. also minutely mapnik is updating the database, I have installed OSM Tile Server but I am not using mod_tile or tirex. So I want to know how tiles will be generated automatically.? Do I need to write any script for it or is there any procedure available? -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] How to check for database updates after minutely Mapnik Installation?
On Fri, Aug 19, 2011 at 5:10 PM, Peter Körner osm-li...@mazdermind.de wrote: Well, the obvious think may be: change sth. in your area and check it gets distributed to your database. You may also open one of the latest osc files on planet.osm.org and take a look if is reflected in your database. Is there any query to check the latest changes in the database? You can instruct osm2pgsql to create a so-called dirty-tile-list which then What is the meaning of dirty tiles this term always confuses me. gets fed to another tool that modifies the mtime of the tiles on disk. Which tool will do this work? mod_tile sends tiles that have been modified like this to tirex where they get re-rendered. Actually I am making a package to install OSM Tile Server automatically in which I have not included tirex. So Can I do that without using tirex or I need to include it and use it? If your tileset is small, you may go another route. means something like to write a script and put that in corn for automatic updates. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Automatic Map Plotting in OpenStreetMap
Hello All, Please see the my city map of jalandhar on the openstreetmap.org http://www.openstreetmap.org/?lat=31.2841lon=75.5262zoom=12layers=M I know there was nothing much just a few days back, and no one can map so much of data in very short time. Same is I noticed for other cities also that how they are mapped automatically. According to me there must be some technique like Image Processing for doing this due to which it has been possible. Do anyone know how it has been possible or how it can be? Please let me know. If this is possible this is going to be a drastic change in the data of openstreetmap which is very good sign of opestreetmap improvements. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Automatic Map Plotting in OpenStreetMap
On Sun, Aug 14, 2011 at 7:10 PM, Stephan Knauss o...@stephans-server.de wrote: you are cross-posting. This is usually considered bad style. Sorry for cross posting, I thought of both list can have different users except some. So I posted it on both dev. and talk list. But I will take care of it from now onward. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] How to get bbox data of OSM export feature to a file
Hello All, I need to export the data which is in form of latitudes and longitudes when we click on the export feature of openstreetmap.org Actually I am making a Web Interface to generate tiles of the area as selected by the user after going on the osm export, But I don't know how to take only those values from there to anywhere else in the file or in the-database. My intention is to provide a interface that user can select the area of his interest to generate tiles from the openstreetmap.org Please give me suggestions about how to do that? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm2pgsql fails on pbf file
On Fri, Jul 22, 2011 at 5:02 AM, Stephan Knauss o...@stephans-server.de wrote: Hi, I tried osm2pgsql svn head revision. compiles fine. When trying to process asia.osm.pbf from geofabrik it fails: Reading in file: ../asia.osm.pbf error parsing member id of DenseNodes error parsing member dense of PrimitiveGroup error parsing member stringtable of PrimitiveBlock Error unpacking PrimitiveBlock message Error occurred, cleaning up Which osm2pgsql version you are using, According to my information only the latest version of osm2pgsql 0.70 or above supports the import of pbf files. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Where to define the directory of generating tiles?
On Fri, Jul 15, 2011 at 11:37 AM, Graham Jones grahamjones...@gmail.com wrote: Parveen, Have a look at the first bit of the source code. I think the default location is specified there. I think my first reply was wrong - it is an environment variable, not a command line parameter, but you will see that when you look at the top of the file. OK, I got it. Its in the set-mapnik-env Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Where to define the directory of generating tiles?
Hello Everyone, I was generating tiles for OSM Tile Server, by default tiles are being generated into /home/username/bin/mapnik From which file I can change the path to generate them in some other directory? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Where to define the directory of generating tiles?
On Fri, Jul 15, 2011 at 10:14 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, You do not say which program you are using to generate your tiles, so it is difficult to answer. I think you are using generate_tiles.py? Yes, I am using generate_tiles.py In which case there is a command line parameter to specify the output directory. Can we define Inside the generate_tiles.py that where to generate tiles.? -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Where to place world boundaries when mapnik is installed through synaptic package manager
Hello Everyone, Till now I was using mapnik after compiling its code, and making a directory of world_boundaries for using them. But now I have installed it through synaptic package manager, so I do not know where to place these world boundaries. Please let me know where to place them and how they will work from that directory? -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Where to place world boundaries when mapnik is installed through synaptic package manager
On Sun, Jul 3, 2011 at 1:39 PM, Graham Jones grahamjones...@gmail.com wrote: Parveen, I think your problem may not be where to place the world boundary shapefiles, but compatibility of the OSM mapnik stylesheet with the version of mapnik included in Ubuntu. I just had a quick go and the error I got was about the stylesheet needing mapnik 0.7. I think the Ubuntu 10.04 one is 0.6? python-mapnik and libmapnik0.7 is available in Ubuntu 10.04 But the one avaible to compile is 0.7.1 Is that the same error that you were getting? I have not checked it yet, may be I will also got the same error. But before that I am unable to get files installed by mapnik through ubuntu repository. -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Is there any Debian package of osmosis available?
Hello All, I have searched through Synaptic Package Manager in Ubuntu for osmosis but found nothing. But I need it to include in Tile-Server Automatic setup tool-chain. Please let me know If there is any available or how to get that? Otherwise is there anyway to install it along-with a debian package that installs every software and dependency required to set up Tile Server. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Is there any Debian package of osmosis available?
On Sat, Jul 2, 2011 at 2:31 AM, John Smith deltafoxtrot...@gmail.com wrote: On 2 July 2011 04:07, Parveen Arora o...@parveenarora.in wrote: Otherwise is there anyway to install it along-with a debian package that installs every software and dependency required to set up Tile Server. No idea why you have trouble finding the osmosis package: http://packages.ubuntu.com/natty/osmosis I think its only for natty Ubuntu, But I need it for Ubuntu 10.04 for higher which not seems to be available. Sorry for not mentioning this information in my previous email. Can you also find it in the syanptic package manager? -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Is there any Debian package of osmosis available?
On Sat, Jul 2, 2011 at 2:46 AM, John Smith deltafoxtrot...@gmail.com wrote: It doesn't look like it appears in lucid-backports so you will most likely need to make your own package. Yes, I also think so. That is only as useful as the repositories you have configured. OK Thanks to all of you for responding and helping me :) -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Mapnik2 in Tirex?
On Wed, Jun 29, 2011 at 12:57 AM, M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: Is there a way to run mapnik2 (current trunk) with tirex? I am now able to render the test tiles (checkerboard) in batch ,mode but mapnik ends with segfault (there is only mapnik2 on the system and my stylesheet is for mapnik2): Sorry for interrupting you in-between. Are you talking about svn co http://svn.openstreetmap.org/applications/rendering/mapnik Is it of mapnik 2, and how is mapnik2 different from mapnik. I also dont know what exactly the tirex is and what is the purpose of using it. Because I usually do rendering using simply mapnik. as I am setting a automatic tile rendering system as a project, this will help me to clear all the concepts and to use any tool if required. Jun 28 21:09:21 GAUSS kernel: [ 1546.416119] mapnik[4611]: segfault at 0 ip 00436d9a sp 7fffc912e410 error 4 in mapnik[40+63000] Jun 28 21:09:21 GAUSS kernel: [ 1546.417631] mapnik[4612]: segfault at 0 ip 00436d9a sp 7fffa82518d0 error 4 in mapnik[40+63000] Segmentation fault normally means programming error. Wrong use of pointer, memory issue. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Mapnik2 in Tirex?
sorry, I got this wrong, I was talking about the mapnik library, the link above is leading to the osm stylesheet on the main page. svn co http://svn.mapnik.org/trunk mapnik2 I think Mapnik2 is not available ubuntu repositary or any other ppa. But I need to install it with debian package by defining it as dependency and for this mapnik 0.70 is available. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Mapnik2 in Tirex?
On Wed, Jun 29, 2011 at 6:57 AM, M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: 2011/6/28 Parveen Arora m...@parveenarora.in: Is it of mapnik 2, and how is mapnik2 different from mapnik. there is some changes in the rules syntax and some features, e.g. support for svg-icons. More in the mapnik wiki http://trac.mapnik.org/wiki/Mapnik2 I also dont know what exactly the tirex is and what is the purpose of using it. it is a rendering system which lets you schedule and check rendering jobs with flexible priority. More info in the wiki. http://wiki.openstreetmap.org/wiki/Tirex Thank You. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm2pgsql installs default.style to /usr/share/osm2pgsql but searches in /usr/share
On Sun, Jun 26, 2011 at 7:47 PM, John Smith deltafoxtrot...@gmail.com wrote: On 27 June 2011 00:08, Graham Jones grahamjones...@gmail.com wrote: Sorry for asking a dumb question, but how do you use the osm2pgsql source to build a debian package? I see a deban/rules file...but don't know what to do with it - there doesn't seem to be a 'make deb' option or equivalent in the makefile? a simple way is to run ./debian/rules binary What should be the output of it. I got an error message: root@linux:~/bin/osm2pgsql# ./debian/rules binary dpatch apply-all make: dpatch: Command not found make: *** [patch-stamp] Error 127 -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm2pgsql installs default.style to /usr/share/osm2pgsql but searches in /usr/share
On Thu, Jun 23, 2011 at 9:15 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: Hello, I have the following problem: $ ls -l /usr/share/osm2pgsql/ -rw-r--r-- 1 root root 726 2011-06-23 17:23 900913.sql -rw-r--r-- 1 root root 5179 2011-06-23 17:23 default.style $ osm2pgsql -U gisuser /tmp/map.osm osm2pgsql SVN version 0.70.5 Using projection SRS 900913 (Spherical Mercator) Couldn't open style file '/usr/share/default.style': No such file or directory Error occurred, cleaning up Someone here who could fix this? I have always used osm2pgsql by compiling the source, and I don't remember I have faced any problem like that till now, But in case If I had may be i had placed the file to its correct location to get it worked. Version we install through apt-get install osm2pgsql is old than the source available to compilation If I am not wrong. I don't know if its latest version is available through debian package. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm2pgsql installs default.style to /usr/share/osm2pgsql but searches in /usr/share
On Sun, Jun 26, 2011 at 8:12 PM, John Smith deltafoxtrot...@gmail.com wrote: On 27 June 2011 00:22, Parveen Arora m...@parveenarora.in wrote: I got an error message: root@linux:~/bin/osm2pgsql# ./debian/rules binary dpatch apply-all make: dpatch: Command not found make: *** [patch-stamp] Error 127 apt-get install dpatch It Works :) Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Can we do Optimisation of data to be imported in database?
Hello Everyone, As we can import the OSM data file into the database using osm2pgsql, I want to know that can we optimise that data before importing. Means If I need only the Information of National Highways, what is the need of storing all the data in the database. So can I optimise the data before importing to the database. Please let know how can I do this? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Do we need world boundaries for small areas?
Hello Everyone, One thing I know about world boundaries is that Mapnik uses prepared files to generate coastlines and ocean for small scale maps. This is faster than reading the entire database to render zoom levels from zero to nine. But If I have to generate tiles for a small area or let us say for a city that does not include world boundaries, In that case do we need them? -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Do we need world boundaries for small areas?
On Mon, Jun 20, 2011 at 7:49 PM, Frederik Ramm frede...@remote.org wrote: If you're not rendering any oceans, simply change the map background colour from blue to gray and do away with the shape files. Thank You, Means I do not need to Include them. Is it only for the oceans or also for the world boundaries that doesn't include in any ocean. Means are these are fixed boundaries of world map, that are fix? -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Do we need world boundaries for small areas?
On Mon, Jun 20, 2011 at 9:22 PM, Frederik Ramm frede...@remote.org wrote: I think the shapes also include world boundaries and populated areas, but only for the very low zoom levels (like 1-5 or so) which I understood you would not use anyway. Okay, Got it now. Actually I have imported India file, and generated Indian tiles. But before generating tiles I had generated the Image that was of England. So I was confused how that Image has been generated as I don't have the data of that area. So means that image was generated from that world boundaries. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Do we need world boundaries for small areas?
On Mon, Jun 20, 2011 at 9:54 PM, M∡rtin Koppenhoefer dieterdre...@gmail.com wrote: Hi Koppenhoefer The shapefiles are used in this layer (in inc/ ): http://svn.openstreetmap.org/applications/rendering/mapnik/inc/layer-shapefiles.xml.inc As you can see the simple boundaries are used only in z1-3 and the populated areas in z3 and 4. There is also a shape called built-up used in z8-10 which I am not sure what it is, but it might be also populated areas. Above z10 there is only OSM-Data (and coastlines) used. So means that all are required to generate the map below z10. There are files of populated places, admin boundary lines, processed, shoreline and world boundaries spherical. what is the meaning by spherical world boundaries. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [OSM-talk] Invitation for Hack the Map A online Mapping Event
On Wed, Jun 15, 2011 at 12:37 PM, Saphy Mo saphy...@yahoo.com wrote: Dear Parveen, thank you for invitation. Before I contribute to this event, I would like to prepare my system based on that. please let me know, about download link of Stylesheet.xml for mapnik as you will use it. Of course the resources like png files and boundaries are necessary too. It would be very kind from you, if you let me know where i could download those. glad to know that you are interested in joining us, You just need to install JOSM Software anywhere on Linux and Windows. You can also edit online using online editor portlatch2 available on the osm.org website. Here are some video tutorials available to edit online. http://www.parveenarora.in/edit_maps_on_osm There are also good number of tutorials available on youtube etc. to how to use JOSM. Thank You. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 2:15 PM, John Smith deltafoxtrot...@gmail.com wrote: On 15 June 2011 17:14, Frederik Ramm frede...@remote.org wrote: Is the style you made for Sydney open source? What changes did you make to support z20? I used the default OSM mapnik style sheet, instead of using renderd/mod_tile I used slightly modified generate_image.py to generate tiles, you can find a copy here: http://www.archive.org/download/SharedMap2/generate_image.py Thanks for sharing it, can you please tell that which main editing is done in this file and whats the purpose of that? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 10:10 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, Do you mean resolution (pixels per inch) or level of detail (which icons appear at which zoom level?). Yes I meant to pixels per inch. You can change the resolution if you use mapnik2, but that is something you would want to do for printed output rarher than a web based map? Yes, someone asked me to print them for his area, but one I printed is not of good quality. So I wants to increase the resolution of tiles for local OSM Tile Server. To change which icons appear at which zoom levels you need to alter the mapnik style file. You will see minzoomevel and maxzoomlevel statements which set this. OK, Thank You. -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Can we have higher resolution tiles?
Hello Everyone, I want to know that can we produce higher resolution tiles for a tile server, means a resolution bit more than of default produced tiles. Please let me know the procedure of it, If any available? -- Parveen Arora www.parveenarora.in E-Mail: o...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Can we have higher resolution tiles?
On Wed, Jun 15, 2011 at 9:13 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: yes you can http://www.archive.org/download/SharedMap2/index.html here john made zoom level 20 for sydney mike Thanks Mike, But can we have a the quality of tiles a bit better at lesser zoom levels? ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Wed, Jun 1, 2011 at 1:49 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Hi, Hello Mayeul For rendering with very easy customization of advanced styles, have you looked at the coming qgis 1.7.0? It allows to define styles with rules based on multiple attributes and scale levels, and it includes a fastcgi webserver nd a full javascript web frontend. Some demo for the backend styling: http://www.youtube.com/watch?v=NBBYtH2svw0 Thanks for help and suggestion. Will it be used in place of Mapnik and mod_tile Some live demo for server and js frontend: http://gis.uster.ch/ Seems very Interesting. It would be great to have this packaged in your solution as well! I wrote several of the steps for this to work here: http://www.qgis.org/wiki/Using_OpenStreetMap_data It seems good, i wll try to include it, So please be in contact. I will be need some help in using it with my package. So please keep in contact with me. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Wed, Jun 1, 2011 at 11:15 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Yes, it is an alternative to Mapnik (but styles and layer definition using a GUI with the mouse). You define your layers and styles with the mouse (desktop standalone app), then move the .qgs project in the fastcgi folder, and your server is done. I have proposed to make web based system to edit style sheets, to add icons and fonts, hows that idea? I have to test this application before use, So I will try my best to include it with the package. Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Wed, Jun 1, 2011 at 11:42 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Le mercredi 01 juin 2011 à 23:20 +0530, Parveen Arora a écrit : On Wed, Jun 1, 2011 at 11:15 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Yes, it is an alternative to Mapnik (but styles and layer definition using a GUI with the mouse). You define your layers and styles with the mouse (desktop standalone app), then move the .qgs project in the fastcgi folder, and your server is done. I have proposed to make web based system to edit style sheets, to add icons and fonts, hows that idea? Yes, I have seen this. If you ask my personal opinion (nothing more), why not, but since QGIS is multiplatform, it is very easy to have it on any computer and it already does many of the things that are on your TODO list. If this, I would like to surely include it. Then I think I only need to integrate all the things at one pace after making a Debian package for default tile server. debain package will be like: $apt-get install meramap (MeraMap is the name we assigned to the project) I have designed a working model image, please check and comment. https://github.com/ParveenArora/MeraMap/raw/master/OSMWorkingModel.jpg if I will be able to successfully install the Quantum GIS then I will only need to integrate it instead of customisation part. IMHO, packaging all the rest would be very useful (but maybe this is not your original idea). It can be very helpful for me, Thank You very much. Anyway, I can provide the icons and QGIS stylesheets I created to render this: http://www.qgis.org/wiki/OpenStreetMap_data_rendered_with_QGIS Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Thu, May 26, 2011 at 11:51 AM, Stephan Knauss o...@stephans-server.de wrote: Hello Parveen, Hello Sir, Your site names a few potential users of your project. I have the feeling that for most of them the hardware requirements would be too high. By serving only part of the world, for example just a single country the needed resources are a lot less than the figures mentioned in the wiki. Yes Figures mentioned in the wiki are for whole planet, Its my mistake that I forgot to mention there. and its also right that users with lesser area will require less hardware. I have take reference about hardware from Richard Weait's blog. Is there any wiki page to describing the hardware requirements according to the area, as we have also to include it in the project and to suggest users while installing the Customised Tile Server. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Thu, May 26, 2011 at 12:39 PM, John Smith deltafoxtrot...@gmail.com wrote: I did a howto the other day on what to do to render smaller areas, as a test run I used the South American data file on Geofabrik in a virtual machine and only 6G was used in total (world boundaries + osm data etc). http://wiki.sharedmap.org/wiki/Rendering_At_Home The trick with small machines is to cache the tiles else where. Thank's for the suggestion. It will surely help me, please let me know If you have missed something in it and want to add in it now, so that we can lead to a better product. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Thu, May 26, 2011 at 10:42 PM, Parveen Arora m...@parveenarora.in wrote: On Thu, May 26, 2011 at 11:51 AM, Stephan Knauss o...@stephans-server.de wrote: Hello Parveen, Hello Sir, Your site names a few potential users of your project. I have the feeling that for most of them the hardware requirements would be too high. By serving only part of the world, for example just a single country the needed resources are a lot less than the figures mentioned in the wiki. Yes Figures mentioned in the wiki are for whole planet, Its my mistake that I forgot to mention there. and its also right that users with lesser area will require less hardware. I have take reference about hardware from Richard Weait's blog. Is there any wiki page to describing the hardware requirements according to the area, as we have also to include it in the project and to suggest users while installing the Customised Tile Server. Please also suggest me that should I use Mapnik or Mod_Tile for rendering the tiles, but later I will include both options i.e user will be able to render tiles with his selected method. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] GSoC Project Update (Fast Track Deployment of Customised OSM Tile Server)
On Thu, May 26, 2011 at 11:10 PM, John Smith deltafoxtrot...@gmail.com wrote: On 27 May 2011 03:22, Parveen Arora m...@parveenarora.in wrote: Thank's for the suggestion. It will surely help me, please let me know If you have missed something in it and want to add in it now, so that we can lead to a better product. I too want a simple front end web based GUI to control the rendering process, I won't exactly be crying if you beat me to getting something coded. Thank You for your support :D ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] About Confirmation of GSoC Proposal Submit
Hello All, I have submitted my proposal on Fast Track Deployment of Customised OSM Tile Server But I have not received any comment on that, and I am also unable to see any pending message there. Please Let me know If it has been submitted successfully, and mentors are able to watch it. Thank you. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM Server Developer's Platform An Idea for GSoC
On Wed, Apr 6, 2011 at 12:13 AM, Graham Jones grahamjones...@gmail.com wrote: Hi Parveen, I like this idea - getting the toolchain(s) working is quite tedious, and is a significant learning curve for new users. Thank You. I think that you need to develop your idea into a proposal (pretty quickly - I do not think there is much time left for GSoC applications? you need to check the time table!). Yes I will submit my proposal on April7, 2011 and last date for submitting proposal is April8. A few comments from me on your idea: You need to be clear what it is that you are proposing to build 'OSM Server' can mean a few different things from an API server to use for your own version of OSM, or I think you might mean a map rendering tile server? I think an easy set up for a map rendering system would be good. It would be really nice if on my ubuntu system I could type sudo apt-get install osm_mapnik2_tileserver and it sets up the database etc. Exactly the same. It will be a tile server with database and will do rendering automatically. Which operating systems would this work on? A linux variant like ubuntu would be the easiest, but it is also the easiest system to get it working on manually. I will preferably do it with ubuntu. But It had taken mine 20 to 25 days when I have installed it first time, and again next time with the same overhead but in 5 days approximately with doing so many things manually. I would recommend using the operating system's package management system to avoid writing too much yourself, but there should be a fair amount of coding required to set up all of the right installation paths for the various tools etc. Thank's for the suggestion. As to whether this exists already or not, I have not found it, but someone did once say there was a 'liveCD' for some of this, which may have some of what you are proposing if you can find it. Regards I think having a liveCD and easy installation package are different things, as we can make the liveCD of any working system or server and can Install it anywhere on other system. I have also made on liveCD which also works as Installation CD using remastersys tool in Ubuntu. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] OSM Server Developer's Platform An Idea for GSoC
2011/4/6 Matthias Meißer dig...@arcor.de: Hi Parveen, I absolutly agree, that the process of setting up a OSM DB is somewhat crude. As far as I understand your pproposal 'OSM Server' means a DB, renderer and Tile server? Yes It will be a Tile Server We can also name it as: Fast Deployment of Customized Tile Server Means It will be a easy interface to render map with your own choice of colors. But AFAIK this aren't things that developers need, but some kind of service proverders. In my eyes, Devs would enjoy prepared packages that simplify the process of data processing http://wiki.openstreetmap.org/wiki/GSoC_Project_Ideas_2011#Prepared_global_Data_excepts But I heared that setting up a Rails port (completely OSM portal, DB,...) instance is quite difficult, so this would be another idea? How It will be different, Can you please explain It a little more or give me the relative link to this. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] OSM Server Developer's Platform An Idea for GSoC
Hello All, I want to submit the proposal for GSoC with Openstreet Map Organisatiion. So I have written my Idea to write on their wiki page. http://wiki.openstreetmap.org/wiki/GSoC_Project_Ideas_2011#OSM_Server_Developer.27s_Platform Please let me know If any thing like this already exists, or please discuss or give suggestions what else can I do with this, also If this Idea requires any changes. All the Suggestions will be welcomed. Is there also any separate list for doing GSoC discussions for OSM. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] generate_xml.py is not running
On Sun, Jan 30, 2011 at 3:38 PM, Graham Jones grahamjones...@gmail.com wrote: Parveen, It sounds as though either the osm2pgsql import did not work, or you imported the data into a different database to the one mapnik is using (I did that once and got very confused...). I would check what is in your database with a few simple queries from the command line. Try: psql -d gis assuming gis is the database you used for the osm2pgsql import \d \d should list all the tables in the database - on my computer I get: List of relations Schema | Name | Type | Owner ++--+ public | contours | table | graham public | contours_gid_seq | sequence | graham public | geometry_columns | table | graham public | planet_osm_line | table | graham public | planet_osm_nodes | table | graham public | planet_osm_point | table | graham public | planet_osm_polygon | table | graham public | planet_osm_rels | table | graham public | planet_osm_roads | table | graham public | planet_osm_ways | table | graham public | spatial_ref_sys | table | graham (11 rows) Here I hot like this: gis=# \d List of relations Schema | Name | Type | Owner +--+---+- public | geometry_columns | table | parveen public | spatial_ref_sys | table | parveen (2 rows) (but you will not have the contours ones). If you do not have something like this, then osm2pgsql has failed - I would I have installed osm2pgsql using some files of previous 3.0.0 version after compilation try the import again with a very small area - just download a bit of a local town and import that so it is quicker than a whole country - and look out for any errors. I also have tried to that but it has only imported country's file instead of small area then error was like this: Going over pending ways processing way (0k)*** glibc detected *** ./osm2pgsql: double free or corruption (out): 0x7fffed43dd70 *** === Backtrace: = /lib/libc.so.6(+0x775b6)[0x7fe3a0cbd5b6] /lib/libc.so.6(cfree+0x73)[0x7fe3a0cc3e83] /usr/lib/libgeos-3.1.0.so(_ZNK4geos4geom7Polygon8apply_roEPNS0_23GeometryComponentFilterE+0x1c)[0x7fe3a1c5fa9c] ./osm2pgsql[0x40551e] ./osm2pgsql[0x40a22e] ./osm2pgsql[0x40d9f1] ./osm2pgsql[0x40817d] ./osm2pgsql[0x4104d5] /lib/libc.so.6(__libc_start_main+0xfd)[0x7fe3a0c64c4d] ./osm2pgsql[0x404309] === Memory map: 0040-0042 r-xp 08:01 8526402 /home/parveen/bin/osm2pgsql/osm2pgsql If the tables do exist you can do some simple queries like: select osm_id,name from planet_osm_polygon where leisure='playground'; to see if the data looks reasonable. It has not worked, may be you are right osm2pgsql installation is not correct. -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Relation is not loading to osm2pgsql
On Sun, Jan 30, 2011 at 5:54 PM, Parveen Arora parveenarora...@gmail.com wrote: While loading the india.osm.bz2 file to database with osm2pgsql Node and ways are loading but relation is not loading. It has given error : Processing: Node(3170k) Way(198k) Relation(0)Segmentation fault I have reinstalled the osm2pgsql and changed the planet file i ws using and also created new database but the problem is still same. after giving command: ./osm2pgsql -S default.style --slim -d gis -C 2048 /home/parveen/india.osm.bz2 the error is: osm2pgsql SVN version 0.70.5 Using projection SRS 900913 (Spherical Mercator) Setting up table: planet_osm_point NOTICE: table planet_osm_point does not exist, skipping NOTICE: table planet_osm_point_tmp does not exist, skipping Setting up table: planet_osm_line NOTICE: table planet_osm_line does not exist, skipping NOTICE: table planet_osm_line_tmp does not exist, skipping Setting up table: planet_osm_polygon NOTICE: table planet_osm_polygon does not exist, skipping NOTICE: table planet_osm_polygon_tmp does not exist, skipping Setting up table: planet_osm_roads NOTICE: table planet_osm_roads does not exist, skipping NOTICE: table planet_osm_roads_tmp does not exist, skipping Mid: pgsql, scale=100, cache=2048MB, maxblocks=262145*8192 Setting up table: planet_osm_nodes NOTICE: table planet_osm_nodes does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_nodes_pkey for table planet_osm_nodes Setting up table: planet_osm_ways NOTICE: table planet_osm_ways does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_ways_pkey for table planet_osm_ways Setting up table: planet_osm_rels NOTICE: table planet_osm_rels does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_rels_pkey for table planet_osm_rels Reading in file: /home/parveen/planet/indi.osm.bz2 Processing: Node(3170k) Way(198k) Relation(0)Segmentation fault Please let me know what this problem actually is? -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] osm2pgsql segmentation fault
Hello to all, I am trying to import mapfile.osm.bz2 to database postgresql with using osm2pgsql. nodes and ways are Importing well but it is showing segmentation fault to import relations into the databse. For this I am using Ubuntu10.04 and following tutorial http://weait.com/content/build-your-own-openstreetmap-server After using command: ./osm2pgsql -S default.style --slim -d nos -C 2048 /home/parveen/planet/india.osm.bz2 The error I got is osm2pgsql SVN version 0.70.5 Using projection SRS 900913 (Spherical Mercator) Unknown flag 'hard' line 37, ignored Setting up table: planet_osm_point NOTICE: table planet_osm_point does not exist, skipping NOTICE: table planet_osm_point_tmp does not exist, skipping Setting up table: planet_osm_line NOTICE: table planet_osm_line does not exist, skipping NOTICE: table planet_osm_line_tmp does not exist, skipping Setting up table: planet_osm_polygon NOTICE: table planet_osm_polygon does not exist, skipping NOTICE: table planet_osm_polygon_tmp does not exist, skipping Setting up table: planet_osm_roads NOTICE: table planet_osm_roads does not exist, skipping NOTICE: table planet_osm_roads_tmp does not exist, skipping Mid: pgsql, scale=100, cache=2048MB, maxblocks=262145*8192 Setting up table: planet_osm_nodes NOTICE: table planet_osm_nodes does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_nodes_pkey for table planet_osm_nodes Setting up table: planet_osm_ways NOTICE: table planet_osm_ways does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_ways_pkey for table planet_osm_ways Setting up table: planet_osm_rels NOTICE: table planet_osm_rels does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_rels_pkey for table planet_osm_rels Reading in file: /home/parveen/planet/india.osm.bz2 Processing: Node(3250k) Way(198k) Relation(0)Segmentation fault Relation(0) Indicates relation is not loading Why this is happening? Please let me know If I am doing somthing wrong -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] osm2pgsql segmentation fault
On Sun, Jan 30, 2011 at 9:17 PM, Parveen Arora parveenarora...@gmail.com wrote: Hello to all, I am trying to import mapfile.osm.bz2 to database postgresql with using osm2pgsql. nodes and ways are Importing well but it is showing segmentation fault to import relations into the databse. For this I am using Ubuntu10.04 and following tutorial http://weait.com/content/build-your-own-openstreetmap-server After using command: ./osm2pgsql -S default.style --slim -d nos -C 2048 /home/parveen/planet/india.osm.bz2 The error I got is osm2pgsql SVN version 0.70.5 Using projection SRS 900913 (Spherical Mercator) Unknown flag 'hard' line 37, ignored Setting up table: planet_osm_point NOTICE: table planet_osm_point does not exist, skipping NOTICE: table planet_osm_point_tmp does not exist, skipping Setting up table: planet_osm_line NOTICE: table planet_osm_line does not exist, skipping NOTICE: table planet_osm_line_tmp does not exist, skipping Setting up table: planet_osm_polygon NOTICE: table planet_osm_polygon does not exist, skipping NOTICE: table planet_osm_polygon_tmp does not exist, skipping Setting up table: planet_osm_roads NOTICE: table planet_osm_roads does not exist, skipping NOTICE: table planet_osm_roads_tmp does not exist, skipping Mid: pgsql, scale=100, cache=2048MB, maxblocks=262145*8192 Setting up table: planet_osm_nodes NOTICE: table planet_osm_nodes does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_nodes_pkey for table planet_osm_nodes Setting up table: planet_osm_ways NOTICE: table planet_osm_ways does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_ways_pkey for table planet_osm_ways Setting up table: planet_osm_rels NOTICE: table planet_osm_rels does not exist, skipping NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index planet_osm_rels_pkey for table planet_osm_rels Reading in file: /home/parveen/planet/india.osm.bz2 Processing: Node(3250k) Way(198k) Relation(0)Segmentation fault Relation(0) Indicates relation is not loading Why this is happening? Please let me know If I am doing somthing wrong I have also find a thead of this mailing list. http://www.mail-archive.com/dev@openstreetmap.org/msg05559.html Is this the same problem as mine and had somebody faced or witnessed the same problem. Then please help me If possible. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Error While Installing osm2pgsql
Hello Dear List, I have followed the following procedure to install osm2pgsql cd ~/bin svn co http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/ cd osm2pgsql ./autogen.sh ./configure make But after make command I got the following error: make all-recursive make[1]: Entering directory `/home/parveen/bin/osm2pgsql' Making all in gazetteer make[2]: Entering directory `/home/parveen/bin/osm2pgsql/gazetteer' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/parveen/bin/osm2pgsql/gazetteer' make[2]: Entering directory `/home/parveen/bin/osm2pgsql' g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/postgresql -I/usr/include/libxml2 -I/usr/include -I/usr/include -I/usr/include -DOSM2PGSQL_DATADIR='/usr/local/share' -g -O2 -MT build_geometry.o -MD -MP -MF .deps/build_geometry.Tpo -c -o build_geometry.o build_geometry.cpp In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:21:40: error: geos/noding/SegmentString.h: No such file or directory In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: ‘geos::noding::SegmentString’ has not been declared /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: expected ‘;’ before ‘segStrings’ make[2]: *** [build_geometry.o] Error 1 make[2]: Leaving directory `/home/parveen/bin/osm2pgsql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/parveen/bin/osm2pgsql' make: *** [all] Error 2 What this error indicates and what should I do now? Thank's in advance. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Error While Installing osm2pgsql
On Sat, Jan 29, 2011 at 10:31 PM, strk s...@keybit.net wrote: On Sat, Jan 29, 2011 at 10:27:31PM +0530, Parveen Arora wrote: On Sat, Jan 29, 2011 at 10:16 PM, strk s...@keybit.net wrote: On Sat, Jan 29, 2011 at 10:09:04PM +0530, Parveen Arora wrote: make[2]: Entering directory `/home/parveen/bin/osm2pgsql' g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/postgresql -I/usr/include/libxml2 -I/usr/include -I/usr/include -I/usr/include -DOSM2PGSQL_DATADIR='/usr/local/share' -g -O2 -MT build_geometry.o -MD -MP -MF .deps/build_geometry.Tpo -c -o build_geometry.o build_geometry.cpp In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:21:40: error: geos/noding/SegmentString.h: No such file or directory Which version of GEOS do you have ? I am following this http://weait.com/content/build-your-own-openstreetmap-server tutorial. I think I have not installed any GEOS yet. You must have, or you wouldn't have /usr/include/geos/geom/prep/PreparedPolygon.h either. Maybe is partial or otherwise corrupted install. I have removed the error thank's for your Information. My system needs to be install following dependencies $ sudo apt-get install build-essential libxml2-dev libgeos-dev libpq-dev libbz2-dev proj Now Its ok. Thank you very much -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Planet file not loading to osm2pgsql
I have osm2pgsql Installed I am trying following to load planet file $cd ~/bin/osm2pgsql $./osm2pgsql -S default.style --slim -d gis -C 2048 ~/planet/planet-100217.osm.bz2 But the Error is: bash: ./osm2pgsql: No such file or directory I really don't have any osm2pgsql file, but there is default.style file in osm2pgsql folder. What should I do to run above command? -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Planet file not loading to osm2pgsql
On Sun, Jan 30, 2011 at 12:16 AM, Graham Jones grahamjones...@gmail.com wrote: Parveen, It sounds as though you have not compiled osm2pgsql? I don't know which operating system you are using, so I would suggest going through the instructions at http://wiki.openstreetmap.org/wiki/Osm2pgsql. It has always compiled easily for me on my Ubuntu based machines. Yes I am also using Ubuntu10.04 I had compiled osm2pgsql, and It was also successful But now I once again tried to compile it, and It is also giving the same problem as it was previously giving. Error during compilation is: make make all-recursive make[1]: Entering directory `/home/parveen/bin/osm2pgsql' Making all in gazetteer make[2]: Entering directory `/home/parveen/bin/osm2pgsql/gazetteer' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/parveen/bin/osm2pgsql/gazetteer' make[2]: Entering directory `/home/parveen/bin/osm2pgsql' g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/postgresql -I/usr/include/libxml2 -I/usr/include -I/usr/include -I/usr/include -DOSM2PGSQL_DATADIR='/usr/local/share' -O2 -march=native -fomit-frame-pointer -MT build_geometry.o -MD -MP -MF .deps/build_geometry.Tpo -c -o build_geometry.o build_geometry.cpp In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:21:40: error: geos/noding/SegmentString.h: No such file or directory In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: ‘geos::noding::SegmentString’ has not been declared /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: expected ‘;’ before ‘segStrings’ make[2]: *** [build_geometry.o] Error 1 make[2]: Leaving directory `/home/parveen/bin/osm2pgsql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/parveen/bin/osm2pgsql' make: *** [all] Error 2 -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Planet file not loading to osm2pgsql
On Sun, Jan 30, 2011 at 12:49 AM, Graham Jones grahamjones...@gmail.com wrote: Parveen, Sounds odd - on my Ubuntu 10.10 system the missing file is there (/usr/include/geos/noding/SegmentString.h), the same file is also missing here, should I get it from 10.10 now? because I am using 10.04 now but I have another machine that runs Ubuntu 10.04 and sure enough /usr/include/geos does not include a 'noding' directory, so this sounds like it should have the same problem as yours). Yes here also there is no noding directory in that path I assume that this is a difference in the libgeos version (10.10 uses libgeos 3.2.0, but 10.04 has libgeos 3.1.0). But I have compiled osm2pgsql on it before - in fact I have just re-compiled it now to check. I wonder if it is an issue with the version of osm2pgsql - the one I have just re-compiled successfully is old-ish (svn revision 20565 from March 2010). Should I also compile older version now? -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Error While Installing osm2pgsql
On Sun, Jan 30, 2011 at 1:02 AM, Frederik Ramm frede...@remote.org wrote: Hi, Parveen Arora wrote: In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:21:40: error: geos/noding/SegmentString.h: No such file or directory This is due to geos packages on a number of Ubuntu releases (I *think* it is jaunty, karmic, and lucid) being broken. (There may be breakage on Debian as well but I've only witnessed on Ubuntu.) For example, the above file is not included in the geos-dev package in jaunty: $ dpkg -L libgeos-dev|grep SegmentString $ but if you apt-get source geos-dev, then sure enough $ find geos-3.0.0 -name SegmentString.h geos-3.0.0/source/headers/geos/noding/SegmentString.h I have tried to compile the geos-3.0.0 version, but this is also giving error: DoubleBits.cpp: In static member function 'static double geos::index::quadtree::DoubleBits::powerOf2(int)': DoubleBits.cpp:51: error: 'memcpy' was not declared in this scope DoubleBits.cpp: In constructor 'geos::index::quadtree::DoubleBits::DoubleBits(double)': DoubleBits.cpp:94: error: 'memcpy' was not declared in this scope make[3]: *** [DoubleBits.lo] Error 1 make[3]: Leaving directory `/home/parveen/geos-3.0.0/source/index/quadtree' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/parveen/geos-3.0.0/source/index' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/parveen/geos-3.0.0/source' make: *** [all-recursive] Error 1 but I got SegmentString.h at following path ~/geos-3.0.0/source/headers/geos/noding# i.e. these files are not copied into the geos-dev package. You can fix the problem by copying them from the source manually, or put them into your osm2pgsql directory and modify the include path. I have put that SegmentString.h into osm2pgsql folder and this time it shows at end is: make[2]: Leaving directory `/home/parveen/bin/osm2pgsql' make[1]: Leaving directory `/home/parveen/bin/osm2pgsql' -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Planet file not loading to osm2pgsql
On Sun, Jan 30, 2011 at 8:39 AM, H.S.Rai hardeep@gmail.com wrote: On Sun, Jan 30, 2011 at 12:07 AM, Parveen Arora parveenarora...@gmail.com wrote: $./osm2pgsql -S default.style --slim -d gis -C 2048 ~/planet/planet-100217.osm.bz2 Try without ./ It has worked with using ./ I have compiled geos-3.0.0 the older version and copied the necessary files to newer one. It has been start loading -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] generate_xml.py is not running
To render the map I have tried to run genrate_xml.py with following command $./generate_xml.py --dbname gis --user parveen --accept-none but the error is: Usage: generate_xml.py [template xml] [output xml] parameters Full help: $ generate_xml.py -h (or --help for possible options) Read 'osm.xml' and print resulting xml to stdout: $ generate_xml.py osm.xml Read template, save output xml, and pass variables as options $ generate_xml.py osm.xml my_osm.xml --dbname spain --user postgres --host '' generate_xml.py: error: The 'inc' path you gave is bogus! I think their is some problem in the command i am running How to use it correctly? -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Problem In Updating Map Data
I am trying to update my map data as suggest by this community members. with the help of Minutely Map with the following link: http://wiki.openstreetmap.org/wiki/Minutely_Mapnik But i am unable to go with it. First of all i have done the initialization Step export WORKDIR_OSM=$HOME/.osmosis then mkdir $WORKDIR_OSM now directory created But the next step I am unable to understand osmosis --read-replication-interval-init workingDirectory=$WORKDIR_OSM error: Command not found I have also got this state.txt file with wget http://toolserver.org/~mazder/replicate-sequences/?2010-03-04T10:00:00Z -O $WORKDIR_OSM/state.txt but next step is again showing same error osmosis --read-replication-interval workingDirectory=$WORKDIR_OSM --simplify-change --write-xml-change changes.osc.gz Please do not consider me a highly professional developer of OSM Because I am a student, and I am not able to solve my problems so I am mailing here. -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem In Updating Map Data
On Mon, Sep 6, 2010 at 12:40 AM, Stephan Plepelits sk...@xover.htu.tuwien.ac.at wrote: On Mon, Sep 06, 2010 at 12:31:49AM +0530, Parveen Arora wrote: But the next step I am unable to understand osmosis --read-replication-interval-init workingDirectory=$WORKDIR_OSM error: Command not found Looks like osmosis is either not installed or not in your path. Try to give the whole path to your osmosis-binary. e.g.: /home/user/software/osmosis-0.36/bin/osmosis --read... yes i was giving the wrong path now i have given /home/hsrai/osmosis-0.31/bin/osmosis --read-replication-interval-init workingDirectory=$WORKDIR_OSM and it's working output is 6 Sep, 2010 12:48:48 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Osmosis Version 0.31 6 Sep, 2010 12:48:49 AM org.openstreetmap.osmosis.core.Osmosis run INFO: Preparing pipeline. 6 Sep, 2010 12:48:49 AM org.openstreetmap.osmosis.core.Osmosis main SEVERE: Execution aborted. org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type read-replication-interval-init doesn't exist. at org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactoryRegister.getInstance(TaskManagerFactoryRegister.java:60) at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.buildTasks(Pipeline.java:50) at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:112) at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:79) at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:30) But I have not clearly understand that what this process is? and Thank's a lot for your support -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem In Updating Map Data
On Mon, Sep 6, 2010 at 1:03 AM, Stephan Plepelits sk...@xover.htu.tuwien.ac.at wrote: But I have not clearly understand that what this process is? Congrats, osmosis is working. But you are using a fairly old version, apparently 0.31. This version didn't have support for replication. Try it with the newest available version, you'll see it will work much better :) ok, will it automatically replaced by the old one 0.31? and now only the last command has not worked osm2pgsql --append [my customized arguments] changes.osc.gz error is again command not found osm2pgsql is installed. you can see my work at http://202.164.53.116/~parveen/map -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Problem In Updating Map Data
On Mon, Sep 6, 2010 at 1:03 AM, Stephan Plepelits sk...@xover.htu.tuwien.ac.at wrote: But I have not clearly understand that what this process is? Congrats, osmosis is working. But you are using a fairly old version, apparently 0.31. This version didn't have support for replication. Try it with the newest available version, you'll see it will work much better :) I have got and placed the osmosis 0.36 in my home directory. At first I have installed the map with the help of weait.com's tutorial and also worked with the osmosis according to their instructions: http://weait.com/content/make-your-first-map now the following command time ./osm2pgsql --slim -d gis GreatLakes.osm.gz and it is giving the following error: osm2pgsql SVN version 0.69-21750 Using projection SRS 900913 (Spherical Mercator) Couldn't open style file '/usr/local/share/osm2pgsql/default.style': No such file or directory Error occurred, cleaning up -- With Kind Regards Parveen Arora ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Automatic update of Map Data
On Wed, Sep 1, 2010 at 12:23 PM, Peter Körner osm-li...@mazdermind.de wrote: Am 31.08.2010 05:26, schrieb Parveen Arora: Hello Dear List, I want to automatically update data of my Map, I have done it manually, by taking the .osm file of my area and after giving manual instructions. But i want to make a script and run it on cron job So Please help me to do it. Thank's in advance. There's a lot about this on the wiki, eg. http://wiki.openstreetmap.org/wiki/Minutely_Mapnik http://wiki.openstreetmap.org/wiki/DE:HowTo_minutely_hstore Thank's Sir, Now i will report here when i got any problem during doing this. -- With Kind Regards Parveen Arora www.parveenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Automatic update of Map Data
Hello Dear List, I want to automatically update data of my Map, I have done it manually, by taking the .osm file of my area and after giving manual instructions. But i want to make a script and run it on cron job So Please help me to do it. Thank's in advance. -- With Kind Regards Parveen Arora www.parvenarora.in ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Change Stylesheet of Map
Hello Everyone, I want to change the style-sheet of the map to change its colors according to me. But i don't know howto do it. Please give your suggestions to change its style I have a idea that i have to change the .xml files but don't know and how to see the changes after changing the style-sheet or i required to render the tiles again. Thank's in advance -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Search is not working on own map
On Fri, Aug 20, 2010 at 12:48 PM, Stephan Knauss o...@stephans-server.de wrote: That string is not terminated: http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}/${y}.png, Now the string is terminated is above link incorrect or how to terminate it ? But even then: You don't have tiles served at this address. The tile are here at this address: http://202.164.53.116/~hsrai/OSM/tiles no, they are not. http://202.164.53.116/~hsrai/OSM/tiles/2/2/2.png I am not working on all the planet file so please check image is available here http://202.164.53.116/~hsrai/OSM/tiles/2/2/1.png or simply all images are here http://202.164.53.116/~hsrai/OSM/tiles Either you statically pre-render all tiles or you have to set up dynamic creation of files. i have pre-rendered all the tiles The first is easier, can take up more disk space but the webserver can be simpler. The URL is there originally multiple times to cope with the connection limit in browsers. Now url is only once in the file and a good news is here the Map starts working :) Thank's a ton all the developers :) Specialy: Stephan Knauss, bernhard zwischenbrugger, Peter Körner for helping me. http://202.164.53.116/~parveen/map/map1.html -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Search is not working on own map
On Thu, Aug 19, 2010 at 4:01 PM, Peter Körner osm-li...@mazdermind.de wrote: Am 19.08.2010 11:49, schrieb Parveen Arora: http://202.164.53.116/~parveen/OpenLayers.js You don't have to change this file ok, i have not changed it now http://202.164.53.116/~parveen/OpenStreetMap.js i have tried to to change the url here, and give our server's url but the map stops working immediately after changing any url var url = [ http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x};, http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x};, http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}; ]; Don't specify th url more than once. You URL is missing the ${y} placeholder. Please take another look at [1] to see a simple example. now i have write here only one url in the file, and have insert the ${y} But Still not working, http://202.164.53.116/~parveen/map/map1.html and Thank's for your support -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Search is not working on own map
On Fri, Aug 20, 2010 at 12:21 AM, Stephan Knauss o...@stephans-server.de wrote: Parveen Arora wrote: now i have write here only one url in the file, and have insert the ${y} But Still not working, http://202.164.53.116/~parveen/map/map1.html You should not blindly copy easymap, alter it and then wonder why it's not working. ok Your Javascript is malformed. This error pops up the moment you load the page. How can i remove the errors from javascript, i have taken it from openlayers and tried to serve our map by changing the urls That string is not terminated: http://202.164.53.116/~hsrai/OSM/tiles/${z}/${x}/${y}.png, is above link incorrect or how to terminate it ? But even then: You don't have tiles served at this address. The tile are here at this address: http://202.164.53.116/~hsrai/OSM/tiles The URL is there originally multiple times to cope with the connection limit in browsers. should i include the url only one time? Are you sure you want your own tiles? Yes, i want to serve own tiles In your page you are referring to style.css. This is missing as well. You might consider starting with some easy example and then step by step move forward. Please give me any suggestion or any help, from where should i start and Thank's a lot for your support. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] [OSM-Dev]Convert x, y co-ordinates in Lat,Lon
Hello Everyone, I have data in postgis database in x,y co-ordinates format. for e.g. in data lat =39623724 lon =361580468 But i want to convert these into , lat= 75.2635 lon=25.6585 Please tell me that How to convert it? If there any postGis Function to do this? -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [OSM-Dev]Convert x, y co-ordinates in Lat,Lon
On Tue, Jul 13, 2010 at 11:16 PM, Stephen Cavilia aili...@gmail.com wrote: The actual transformation math depends on what projection the coordinates are stored in, but there is a SQL function to transform geometries between spatial reference systems. If the geometry column is stored with SRID information, you can just call ST_Transform(geometry, 4326) to transform to WGS84 geodetic. http://postgis.refractions.net/documentation/manual-1.5/ST_Transform.html Sir thanks for your quick help, Now i am trying to apply this solution,and I will report you soon. Thanks again :-) -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Update Rendered Tiles and Map
Hello Every One, I have a map of serving stiles, i have rendered the tiles when i have configured it. Now i want to update my map, But i don't know how to do it. Is their any script render only the updated area or i have to render all the map again ? Please help me. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Update Rendered Tiles and Map
On Tue, Jul 13, 2010 at 12:28 AM, Stephan Knauss o...@stephans-server.de wrote: Please have a look at the documentation in the wiki: http://wiki.openstreetmap.org/wiki/Minutely_Mapnik Thanks for your help. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[osmosis-dev] [OSM-dev]Setting Mapnik for Rendering Tiles in Localized Language
Dear List, Hello, I have tried to add my localized language to my map.But it has not working. I have added my localized fonts in /usr/share/fonts/ After it i edited the ~/mapnik/osm-fonts-template.xml FontSet name=”bold-fonts” Font face_name=”Gurmukhi”/Font /FontSet FontSet name=”book-fonts” Font face_name=”Gurmukhi”/Font /FontSet FontSet name=”Gurmukhi” Font face_name=”Gurmukhi”/Font /FontSet Gurmukhi is my localized language. But the map is not rendering tiles in Gurmukhi language. Please help me. Thanks in advance. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev
Re: [OSM-dev] Show Image of Data not Available where Tiles are Empty
Thank You for your Help, Dear List, Hi! You can take a look at [1] where this script is used. I have tried by changing the position of script, but there is no effect Is there any other way to show the default image in empty tiles ? Please Help.. It seems this is done by the code snippet around OpenLayers.Util.onImageLoadError. There is a if-switch that uses this.src. to limit the error-image to tiles loaded from *.openstreetmap.org. You could override this behaviour by putting a script /-Tag after the script /-Tag that loads OpenStreetMap.js like this: script type=text/javascript OpenLayers.Util.onImageLoadError = function() { this.src = /url/to/your/error.png }; /script I have edited the file by the code given below: script type=text/javascript OpenLayers.Util.onImageLoadError=function(){ http://www.openstreetmap.org/openlayers/OpenStreetMap.js= http://www.openstreetmap.org/openlayers/img/404.png }; /script but this is also not working. Please check is there any mistake in my code Peter [1] http://toolserver.org/~osm/styles/ -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Show Image of Data not Available where Tiles are Empty
On Fri, Jul 9, 2010 at 3:28 PM, Mitja Kleider mi...@kleider.name wrote: Am Freitag, den 09.07.2010, 01:38 +0200 schrieb Peter Körner: Am 09.07.2010 00:07, schrieb PARVEEN ARORA: I am trying to show a default image of data not available or data coming soon where tiles are empty or not available with the help of following script: http://www.openstreetmap.org/openlayers/OpenStreetMap.js I have added this script to my index.html page but this script is not working or i do not know how it can work correctly. You can take a look at [1] where this script is used. Just a short remark: OpenLayers.Layer.OSM is now part of OpenLayers 2.9, utilizing OpenLayers.Layer.XYZ http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Layer/XYZ-js.html I am unable to view this link.This link is not opening. You will still need to configure the empty tiles. How to configure Empty Tiles, I am unable yo understand . Please help me. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Display Boundary area using postgresql database
Instead of setting a background colour in the mapnik style sheet, you can set it to transparent, then you just do a limited subset, then load it as a non-base layer in openlayers and see it in action here: http://toolserver.org/~osm/styles/?zoom=2lat=0lon=0layers=B000T0FFF0FFF This is good style for showing different things. I want to use overlays structure from here because i want to show the schools, restaurants, etc. of my area like showing here in overlays. How to do it? But I don't want to change base layer. i want to search the geographical information from the database(PostGIS) and show it as boundary of a area. for e.g. like i want to show the boundary of my college on the map. Peter -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Show Image of Data not Available where Tiles are Empty
It's very hard to read your emails and to see what has been written by you and what not. I am Sorry , if there is any problems in my mails.As i am newbie to lists OSM-dev,So i have a little Knowledge of asking questions and reply back to the list. I will try to not to do any mistakes again. I'd suggest you should first learn a little javascript syntax and then try again as this is no javascript list. Ok, i will give a look at javascript. In my last mail i have asked you that the syntax i wrote to embed script in my map file is correct or not. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] [OSM-Dev]Add Geometry Column in PostgreSQl
Dear List, Hi I am unable to create a Geometry table in phpPgAdmin Firstly i have given the following query to create a table: CREATE TABLE roads (id INT4, name VARCHAR(128)); It was successful and has create two columns. But when i tried to add a coulmn of geometry by following query its not working. SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY',2); Please tell me how to create a Geometry coulmn With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [OSM-Dev]Add Geometry Column in PostgreSQl
On Sat, Jul 10, 2010 at 2:37 AM, PARVEEN ARORA parveenarora...@gmail.comwrote: Dear List, Hi I am unable to create a Geometry table in phpPgAdmin Firstly i have given the following query to create a table: CREATE TABLE roads (id INT4, name VARCHAR(128)); It was successful and has create two columns. But when i tried to add a coulmn of geometry by following query its not working. SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY',2); the error genrated by above query is: *SQL error:* ERROR: function addgeometrycolumn(unknown, unknown, integer, unknown, integer) does not exist LINE 1: SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY',2); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. * In statement:* SELECT AddGeometryColumn('roads', 'geom', -1, 'GEOMETRY',2); Please tell me how to create a Geometry column. With Kind Regards Parveen Arora osmpunjab.co.cc -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [OSM-Dev]Add Geometry Column in PostgreSQl
You would get that error if you have not loaded the postgis extension into your database. You need to do something like this, where 'gis' is the name of the database. This needs to be done as the 'postgres' user: # for Ubuntu =9.10: psql -d gis -f /usr/share/postgresql-8.3-postgis/lwpostgis.sql # for Ubuntu =10.04: psql -d gis -f /usr/share/postgresql/8.4/contrib/postgis.sql For more details about how to setup a typical postgis-enabled DB see http://wiki.openstreetmap.org/wiki/Mapnik/PostGIS Thank You for your help, i am using ubuntu 10.04 so i have run the command given by you after login to postgresql but after creating some funstions this command also ends up with some errors for e.g. psql:/usr/share/postgresql/8.4/contrib/postgis.sql:6826: ERROR: current transaction is aborted, commands ignored until end of transaction block psql:/usr/share/postgresql/8.4/contrib/postgis.sql:6944: ERROR: current transaction is aborted, commands ignored until end of transaction block psql:/usr/share/postgresql/8.4/contrib/postgis.sql:6949: ERROR: current transaction is aborted, commands ignored until end of transaction block ROLLBACK -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Display Boundary area using postgresql database
I am able to retrieve data from postgresql OSM database , but i am not able to understand , how to display boundary by using geometry value which is used to display boundary of particular area . for example geometry field is used by OSM :- 01032031BF0D000100050066861916604148E17A749F7B4B415C8FC2851A16604148E17A74E97B4B418FC2F5302C166041A4703D4AE37B4B419AC12A166041B81E85CB967B4B4166861916604148E17A749F7B4B41 what does this mean ? basically i am using manual code to display boundary of particular area. geometries = new Array();geometries.push(drawPolygon([[75.864724156579,30.860439826446],[75.864337918481,30.856976864185],[75.863951680383,30.856718979014],[75.863844392022,30.855816375452],[75.863265034875,30.855687431392],[75.863179204187,30.85495060487],[75.862363812646,30.85502428],[75.859617230615,30.857418951437],[75.859402653894,30.865050889913]],{strokeColor:\#FF\,strokeWidth: 3,fillColor: \#FF\,fillOpacity: .4}));; but i want to use database for display boundary of particular area. so please help. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Display Boundary area using postgresql database
First of all Thank's for your help, if you are using osm2pgsql it's almost 100% going to be x,y projection rather than lat/lon. Yes sir i am using osm2pgsql, and i will look for that functions of postGIS. Also, instead of using openlayers to plot a polygon, you can generate transparent tiles in mapnik and just display them over the top of a base layer... and sir what are transparent layers, and how can i use them. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Show Image of Data not Available where Tiles are Empty
Dear List, I am trying to show a default image of data not available or data coming soon where tiles are empty or not available with the help of following script: http://www.openstreetmap.org/openlayers/OpenStreetMap.js I have added this script to my index.html page but this script is not working or i do not know how it can work correctly. Is there any other way to show the default image in empty tiles ? Please Help.. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] [OSM-Dev] Better Search Option
Hello Everyone, I Have to make Search option for search locations on the map with the flexibility that it will also find the matching words that are entered by User. Please Help me in Developing this and also suggest me how it can be possible. Thanks in Advance -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] [OSM-Server]Setting Up Tile server
Hello Everyone, I am setting up a tile server for Punjab. I have successfully done with the first step of rendering image with the following tutorial http://weait.com/content/build-your-own-openstreetmap-server and with the help of openstreetmap community. So thanks to all for helping.. Now Please suggest me what should be the further steps to set up a complete tile server for our state.. -- With Kind Regards Parveen Arora osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] [OSM-server setup]
On Fri, Jun 18, 2010 at 3:38 AM, Jon Burgess jburgess...@gmail.com wrote: On Thu, 2010-06-17 at 14:28 +0530, PARVEEN ARORA wrote: Reading in file: /home/oops/planet/india.osm.bz2 Processing: Node(2720k) Way(0k) Relation(0k)COPY_END for COPY planet_osm_nodes FROM STDIN; failed: ERROR: duplicate key value violates unique constraint planet_osm_nodes_pkey CONTEXT: COPY planet_osm_nodes, line 420565: 245638625190055831 843698439\N Error occurred, cleaning up Please help me how to remove this error: or suggest me any other way to load planet into database with osm2pgsql .. That error indicates that the india.osm.bz2 file has multiple copies of a node, often two different versions. One simple way which should fix it is to drop the --slim from the osm2pgsql command line. This isn't the best solution but is simple and should work (provided the machine has a few GB of RAM). The better solution is to fix up the duplicate data in the file by passing it through osmosis using the steps listed here: http://lists.openstreetmap.org/pipermail/dev/2010-January/018345.html Jon Thank You Sir , Thank You Very Much for your help ... I have rendered the map image successfully in setting up of a tile server.. Now Please suggest me what should be next steps to completely set up a tile server... Thanks in Advance With Regards: Parveen Arora http://www.osmpunjab.co.cc ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[osmosis-dev] Need Help
Hello Every one, I am Parveen Arora .An engineering student. I am doing a project of setting osm -server for Our state punjab in India and to develop its and features of Main OpenStreetMap. i have followed the instruction given at the following website. http://weait.com/content/build-your-own-openstreetmap-server But it has not wrked upto end. The follwing command is not working. cd ~/bin/osm2pgsql ./osm2pgsql -S default.style --slim -d gis -C 2048 ~/planet/planet-100217.osm.bz2 Please help me and give suggesions that what should i do move forward. - Regards Parveen Arora www.osmpunjab.co.cc ___ osmosis-dev mailing list osmosis-...@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev
Re: [OSM-dev] [OSM-server setup]
On Fri, Jun 11, 2010 at 5:12 PM, Mike N. nice...@att.net wrote: The follwing command is not working. cd ~/bin/osm2pgsql ./osm2pgsql -S default.style --slim -d gis -C 2048 ~/planet/planet-100217.osm.bz2 What kind of error message comes from this command? osm2pgsql SVN version 0.69-21640 Connection to database failed: FATAL: Ident authentication failed for user user_name ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev