Re: [OSM-dev] Lowzoom [EMAIL PROTECTED] patch - any takers?
Andrew McCarthy wrote: > My first post to the Dev list :) Congrats. Patches of this kind would even be more appropriate on the tilesathome mailing list, so no need to come here for that patch :-) > Following a short discussion on the [EMAIL PROTECTED] list about lowzoom, I > prepared the attached patch. It combines (a) the layers.conf changes > suggested by 'jth' on the lowzoom wiki page with (b) a change to > tilesGen.pl that confines the downloaded data for the lowzoom caption > tiles to just large placenames. Do talk to Dirk-Lüder "Deelkar" Kreie, he comes closest to a tah client owner, even if he sometimes denies this :-) > Any opinions? In my tests it worked fine for generating the caption > tiles for Ireland, and saved megabytes of bandwidth per tile. I haven't looked at the patch closely, but it looks generally OK TO ME AND if deelkar agrees, then commit it. To make sure it's not lost, do get a SVN account and commit it yourself :-). Sebastian ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
Hi, Patrick Weber wrote: > Just wanted to congratulate whoever was involved in the development of > the Export tab. +1. I guess it was TomH's work and there's no reason not to announce such a major development on the lists (for the benefit of those who don't use the trac RSS feed). If it hadn't been for Andy's mention I'd probably still tell people to download map tiles and glue them together if they want a quick bitmap ;-) Apart from being useful to create a default styled map, the Export tab gives me the excellent rebuke to anyone who says "why don't you use Google": "Sure, where's *their* Export tab?". Good work! Bye Frederik ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
On Mon, Apr 21, 2008 at 9:06 AM, Frederik Ramm <[EMAIL PROTECTED]> wrote: > Hi, > > Patrick Weber wrote: > > Just wanted to congratulate whoever was involved in the development of > > the Export tab. > > +1. I guess it was TomH's work and there's no reason not to announce > such a major development on the lists (for the benefit of those who > don't use the trac RSS feed). If it hadn't been for Andy's mention I'd > probably still tell people to download map tiles and glue them together > if they want a quick bitmap ;-) > > Apart from being useful to create a default styled map, the Export tab > gives me the excellent rebuke to anyone who says "why don't you use > Google": "Sure, where's *their* Export tab?". > > Good work! > > Bye > Frederik > Congratulations from my part as well; not to forget about the scale and the map key, which were sooo needed. Great work - so nice to see osm moving forward :) Yann ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
> - Is it possible to import the XML-file into Illustrator? Related question: Would it be possible/easy to export a shapefile, or GML, or KML, or any other professional-looking format? -- Iván Sánchez Ortega <[EMAIL PROTECTED]> Un ordenador no es un televisor ni un microondas, es una herramienta compleja. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
In message <[EMAIL PROTECTED]> Iván Sánchez Ortega <[EMAIL PROTECTED]> wrote: > >> - Is it possible to import the XML-file into Illustrator? > > Related question: > > Would it be possible/easy to export a shapefile, or GML, or KML, or any > other professional-looking format? Well, ignoring for the time being that little dig about what might or might constitute "professional looking", the problem (as I understand it) is that none of those formats is, in and off them themself, enough for an export format. What I mean is that you can't just say "export to a shapefile" on it's own - you have to define some sort of style that controls what attributes you put on objects on the shapefile (or KML or GML file) and how those are derived from the OSM data. I do have some plans for additional formats, but none of those are high on my list. If on the other hand somebody wants to provide a web service that returns such data for a given bounding box, then it is relatively easy to add them to the UI. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] openlayers permalink / editlink
2008/4/21, Tom Hughes <[EMAIL PROTECTED]>: > In message <[EMAIL PROTECTED]> > > [EMAIL PROTECTED] wrote: > > > Is there an easy way to add a second permalink to my map with the edit > > url (potlatch) ? > > I can hack an edit url with javascript and the onclick event.. but > > maybe it can be made easier.. > > > I don't really understand your question... What map are we talking > about here? Some OpenLayers map that you have created? If so then you > will have to do any links to our site by hand as I the OL permalink > control will always point back to the page it is hosted on as far > as I know, and not at us (whether at the view page or the edit page). > > Tom i want to add a link above the permalink to edit the current view in potlatch one way is to "subclass" the permalink control to point to openstreetmap.org or make a link that's updated with lat/lon when the user clicks on it.. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] openlayers permalink / editlink
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] wrote: > 2008/4/21, Tom Hughes <[EMAIL PROTECTED]>: > >> I don't really understand your question... What map are we talking >> about here? Some OpenLayers map that you have created? If so then you >> will have to do any links to our site by hand as I the OL permalink >> control will always point back to the page it is hosted on as far >> as I know, and not at us (whether at the view page or the edit page). > > i want to add a link above the permalink to edit the current view in potlatch > one way is to "subclass" the permalink control to point to openstreetmap.org > or make a link that's updated with lat/lon when the user clicks on it.. Having looked, it turns out that you can specify an alternative base URL when you create a permalink control in OpenLayers, which should do what you want. As far as I can see there is nothing in OL to stop you adding more than one permalink control to your map. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
The problem with Shapefile support is that the datamodel of OSM is not very well suited for direct translation into Shapefiles. there are several issues: A shapefile only supports one feature type. So one export would need to have at least two (ideally 3) shapefiles for points, lines, areas. Areas (polygons) are also only defined through the tagging scheme, so any converter will need to be constantly updated from the wiki page to correctly identify and convert lines to areas. The data schema with its multiple tag value pairs as well poses some problems. The shapefile will need to include columns for all tags included in the export. This impacts negatively performance importing and processing shapefiles. Also, multiple values for the same tags pose a problem in such a scenario. I have personally developed a import script for OSM XML data (obtained from the API) for the Manifold GIS software. My workaround for the performance issue with multiple columns was to only retain the OSMID in the actual Geometry layer, and save all tagging data in a separate table as OSMID, tag, value triplets. One can then join back relevant tags as needed. I dont know about the data structure of KML or GML. as these are XML as well though they might prove easier? Iván Sánchez Ortega wrote: - Is it possible to import the XML-file into Illustrator? Related question: Would it be possible/easy to export a shapefile, or GML, or KML, or any other professional-looking format? begin:vcard fn:Patrick Weber n:Weber;Patrick org:University College London adr:;;Gower Street;London;;WC1E 6BT;United Kingdom email;internet:[EMAIL PROTECTED] title:Engineering Doctorate Student tel;work:02077185430 url:http://www.ucl.ac.uk/cemi version:2.1 end:vcard ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
[OSM-dev] openlayers permalink / editlink
hi Is there an easy way to add a second permalink to my map with the edit url (potlatch) ? I can hack an edit url with javascript and the onclick event.. but maybe it can be made easier.. best regards Rob ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
Axel von Matern wrote: Yea the export tab is a great leap forward for this project! Makes it so much more useful then any other map service! Thanks (WARNING POSSIBLE FEATURE REQUEST) - Is it possible to export larger chunks of the maps at the maximum level of detail? I guess the size of the export really is a question of performance, as there's only a finite amount of processing power that can be devoted to the export functionality. If you need such larger chunks, you could try and download successive bits of the extent you need and paste them together again, or write a custom script that directly downloads the relevant tiles. Also, you could try Kosmos as an alternative rendering engine. (WARNING DWEEB QUESTIONS) - Is it possible to import the XML-file into Illustrator? - When I use this map, how can I tell the scale and projection when printing? Would it be correct just to say WGS84? And calculate the scale manually. Would that be enough to get that professional touch? The projection issue would be solved by the integration of world files or geoaware formats as proposed. I guess thats a job for phase two. begin:vcard fn:Patrick Weber n:Weber;Patrick org:University College London adr:;;Gower Street;London;;WC1E 6BT;United Kingdom email;internet:[EMAIL PROTECTED] title:Engineering Doctorate Student tel;work:02077185430 url:http://www.ucl.ac.uk/cemi version:2.1 end:vcard ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] openlayers permalink / editlink
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] wrote: > Is there an easy way to add a second permalink to my map with the edit > url (potlatch) ? > I can hack an edit url with javascript and the onclick event.. but > maybe it can be made easier.. I don't really understand your question... What map are we talking about here? Some OpenLayers map that you have created? If so then you will have to do any links to our site by hand as I the OL permalink control will always point back to the page it is hosted on as far as I know, and not at us (whether at the view page or the edit page). Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] openlayers permalink / editlink
On Mon, Apr 21, 2008 at 11:53:31AM +0100, Tom Hughes wrote: > In message <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > > 2008/4/21, Tom Hughes <[EMAIL PROTECTED]>: > > > >> I don't really understand your question... What map are we talking > >> about here? Some OpenLayers map that you have created? If so then you > >> will have to do any links to our site by hand as I the OL permalink > >> control will always point back to the page it is hosted on as far > >> as I know, and not at us (whether at the view page or the edit page). > > > > i want to add a link above the permalink to edit the current view in > > potlatch > > one way is to "subclass" the permalink control to point to openstreetmap.org > > or make a link that's updated with lat/lon when the user clicks on it.. > > As far as I can see there is nothing in OL to stop you adding more > than one permalink control to your map. Correct: we even have it on our main controls example: http://openlayers.org/dev/examples/controls.html Regards, -- Christopher Schmidt MetaCarta ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] openlayers permalink / editlink
the next code did the trick map.addControl(new OpenLayers.Control.Permalink('Editlink','http://www.openstreetmap.org/edit') ); and in the body Edit (Potlatch) ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
[OSM-dev] OpenStreetMap POI Editor error
to whom it concerns i was playing with the namefinder and found the POI Editor on http://www.free-map.org.uk/freemap/edit.php but when loging in, it complains like below Fatal error: Call to undefined function: check_osm_login() in /var/www/freemap/edit.php on line 14 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
[josm-dev] JOSM periodic bug
Keep getting the occasional bug screen. Doesn't appear to be always doing the same thing. Here is the latest. Cheers Andy Path: josm URL: http://www.openstreetmap.de/svn/josm Repository Root: http://www.openstreetmap.de/svn/josm Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 615 Node Kind: directory Last Changed Author: framm Last Changed Rev: 615 Last Changed Date: 2008-04-19 18:24:12 +0200 (Sat, 19 Apr 2008) java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(Unknown Source) at java.util.LinkedList$ListItr.next(Unknown Source) at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNode(NavigatableCo mponent.java:137) at org.openstreetmap.josm.gui.NavigatableComponent.getNearest(NavigatableCompon ent.java:240) at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:148) at java.lang.Thread.run(Unknown Source) ___ josm-dev mailing list [EMAIL PROTECTED] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
Re: [OSM-dev] [OSM-talk] New Export Tab
In message <[EMAIL PROTECTED]> Mikel Maron <[EMAIL PROTECTED]> wrote: > I'd like to see GPS export. Anyone want to work together on a mkgmap > service? Or does one exist already? I don't understand what you mean? What is GPS export? > Tom, does the Export interface allow for offline processing of requests? It > might become easier to simply add long running requests to a queue. At the > least, some email address or user id would need to be passed through, for > notification of a completed job. No, it doesn't. My original expectation was that I would have to do that, but it turned out that everything was so fast it wasn't necessary so I did the "simplest thing that works" and didn't bother with any queueing technology. Thinking about it more, if you allow requests that are so slow they have to be queued then you things get vastly more complicated because you have to start worrying about how to manage the queue and ensure you don't accept more requests than you can actually process. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
Export is a very significant feature development, going to change the nature of OSM significantly, for the better. Raddd! I'd like to see GPS export. Anyone want to work together on a mkgmap service? Or does one exist already? Tom, does the Export interface allow for offline processing of requests? It might become easier to simply add long running requests to a queue. At the least, some email address or user id would need to be passed through, for notification of a completed job. -Mikel - Original Message From: Tom Hughes <[EMAIL PROTECTED]> To: dev@openstreetmap.org Sent: Monday, April 21, 2008 2:31:39 AM Subject: Re: [OSM-dev] [OSM-talk] New Export Tab In message <[EMAIL PROTECTED]> Iván Sánchez Ortega <[EMAIL PROTECTED]> wrote: > >> - Is it possible to import the XML-file into Illustrator? > > Related question: > > Would it be possible/easy to export a shapefile, or GML, or KML, or any > other professional-looking format? Well, ignoring for the time being that little dig about what might or might constitute "professional looking", the problem (as I understand it) is that none of those formats is, in and off them themself, enough for an export format. What I mean is that you can't just say "export to a shapefile" on it's own - you have to define some sort of style that controls what attributes you put on objects on the shapefile (or KML or GML file) and how those are derived from the OSM data. I do have some plans for additional formats, but none of those are high on my list. If on the other hand somebody wants to provide a web service that returns such data for a given bounding box, then it is relatively easy to add them to the UI. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
From: Tom Hughes <[EMAIL PROTECTED]> > > I'd like to see GPS export. Anyone want to work together on a mkgmap > > service? Or does one exist already? > > I don't understand what you mean? What is GPS export? I want to put a map on my Garmin GPS. http://wiki.openstreetmap.org/index.php/Mkgmap > Thinking about it more, if you allow requests that are so slow they > have to be queued then you things get vastly more complicated because > you have to start worrying about how to manage the queue and ensure > you don't accept more requests than you can actually process. This wouldn't need to be something OSM export itself would need to worry about, but the third party service. However if export to Garmin could run on the OSM servers, that would be easiest. Afaik, it's not terribly computationally intensive. -Mikel ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
[OSM-dev] Osmosis Bug Report: Node TileIDs Incorrect
Osmosis creates incorrect tile IDs for some nodes when reading from XML and inserting into MySQL. For the node: Osmosis generates: 2062265655 tile_for_point generates: 16:35:51 < crschmidt> select tile_for_point(514781325,-01474929); 16:35:56 < crschmidt> | tile_for_point(514781325,-01474929) | 16:35:56 < crschmidt> +-+ 16:35:56 < crschmidt> | 2062265654 | Updating a table with 115000 nodes in it says: mysql> update current_nodes set tile=tile_for_point(latitude, longitude); Query OK, 10 rows affected (11.41 sec) Rows matched: 115692 Changed: 10 Warnings: 0 Which means, I guess, that 12000 (~10%) ended up okay, and everything else was (presumably) off by one. Regards, -- Christopher Schmidt MetaCarta ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
Mikel Maron wrote: >Sent: 21 April 2008 7:49 PM >To: Tom Hughes; dev@openstreetmap.org >Subject: Re: [OSM-dev] [OSM-talk] New Export Tab > > >From: Tom Hughes <[EMAIL PROTECTED]> > > >> > I'd like to see GPS export. Anyone want to work together on a mkgmap >> > service? Or does one exist already? >> >> I don't understand what you mean? What is GPS export? > >I want to put a map on my Garmin GPS. > >http://wiki.openstreetmap.org/index.php/Mkgmap > > >> Thinking about it more, if you allow requests that are so slow they >> have to be queued then you things get vastly more complicated because >> you have to start worrying about how to manage the queue and ensure >> you don't accept more requests than you can actually process. > >This wouldn't need to be something OSM export itself would need to worry >about, but the third party service. > >However if export to Garmin could run on the OSM servers, that would be >easiest. Afaik, it's not terribly computationally intensive. Indeed, I think it would be dead easy to do an mkgmap export, although generally speaking you want quite a big area for the map which might not mesh with the same print views. We might also want to think about different flavours of mkgmap, for cyclists etc for instance. Cheers Andy > >-Mikel ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
El Lunes, 21 de Abril de 2008, Patrick Weber escribió: > I dont know about the data structure of KML or GML. as these are XML as > well though they might prove easier? There is already a tool for exporting .osm to .kml in the SVN repo. Last time I checked it did work fine. As for GML, it should be able to hold a variable number of tags (key/value pairs). However, being a OGC standard, I'd need to re-read some specifications to be sure that a XML schema for doing so can be defined. -- -- Iván Sánchez Ortega <[EMAIL PROTECTED]> MSN:[EMAIL PROTECTED] Jabber:[EMAIL PROTECTED] ; [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
Re: [OSM-dev] [OSM-talk] New Export Tab
In message <[EMAIL PROTECTED]> Mikel Maron <[EMAIL PROTECTED]> wrote: > From: Tom Hughes <[EMAIL PROTECTED]> > > > > I'd like to see GPS export. Anyone want to work together on a mkgmap > > > service? Or does one exist already? > > > > I don't understand what you mean? What is GPS export? > > I want to put a map on my Garmin GPS. > > http://wiki.openstreetmap.org/index.php/Mkgmap Hmm... Well if it has to start by getting API data then it's not going to be that fast - export XML data from the API is already about the slowest option on the export tab even before we start adding any extra conversion on top of that. > > Thinking about it more, if you allow requests that are so slow they > > have to be queued then you things get vastly more complicated because > > you have to start worrying about how to manage the queue and ensure > > you don't accept more requests than you can actually process. > > This wouldn't need to be something OSM export itself would need to worry > about, but the third party service. Well you could just have it submit jobs to an external queuing system but it would need quite a bit of work to integrate neatly, and I'm not sure I would to tie an external service like that tightly into the official main site. > However if export to Garmin could run on the OSM servers, that would be > easiest. Afaik, it's not terribly computationally intensive. Presumably you usually want quite a large area though? Which is going to make even getting the source data an issue due to the limit on how large an area you can fetch. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev