[OSM-dev] Export broken?

2019-03-16 Thread John Smith
Hi all,

I'm trying to download some data from the export site:

https://www.openstreetmap.org/export#map=11/40.7813/-73.9518

And when I hit export Chrome gives me an ERR_INVALID_RESPONSE. I've
duplicated this issue on multiple machines and multiple browsers.
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Osm2pgsql and failed planet import

2011-08-30 Thread John Smith
On 27 August 2011 03:18, Francisco.Matamala
francisco.matam...@weblakes.com wrote:
 Hi everyone,

  I've been attempting to perform a planet import for mapnik rendering for
 the past few weeks without success.  I've setup my PostGreSQL database with
 PostGis correctly, including the various parameter tweaks.  I setup
 PostGreSQL on a separate Windows Server 2008 box with 8GB RAM, in order to
 separate processes and not have osm2pgsql have missing memory issues.  This
 box has plenty of space for the final database.

  I setup a virtual box on our virtualization server using a CentOS
 distribution, obtained osm2pgsql from source, turned on the 64bit
 compilation flags and compiled it.  This virtual box has 16GB memory.

osm2pgsql doesn't have any code to check for memory allocation
failures and to deal with it in a sane way, it just assumes all
allocations are fine until it checks the nodes when going over pending
ways etc. Anthony posted a patch a couple of months back, I didn't
hear if the patch was added to the svn version(s).

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Osm2pgsql and failed planet import

2011-08-30 Thread John Smith
On 31 August 2011 02:44, Hartmut Holzgraefe
hartmut.holzgra...@gmail.com wrote:
 i'm not aware of any other patch, but i changed the cache allocation

http://lists.openstreetmap.org/pipermail/dev/2011-June/023002.html

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Updating Planet and Reliability

2011-07-21 Thread John Smith
On 21 July 2011 20:45, Andrew Ayre a...@britishideas.com wrote:
 Is there any possibility of changing Osmosis so arbitrary post merge
 commands could be executed before finalizing the state file? E.g.:

The problem is if osmosis posted a memory state file every say 5
minutes, this may seriously impact on performance, as the program
would have to pause to dump a state file, before continuing to
process.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Updating Planet and Reliability

2011-07-21 Thread John Smith
On 21 July 2011 21:08, Andrew Ayre a...@britishideas.com wrote:
 Merging changes into the 14G planet file takes my server about an hour,
 so I don't think writing an 85 byte state file at the end of it will
 impact performance much.

 I'm interested to know what commands you use to merge changes into a
 planet file in five minutes.

 However, I see that changing the symbolic link before updating the state
 file is a flawed idea anyway.

You misunderstood me, I didn't say anything took 5 minutes, nor that
the memory state file would be any where near 85 bytes, Osmosis does a
lot of the merging in memory to be able to come back to a point close
in time you would need to dump the memory contents frequently, every 5
minutes or perhaps more often if you care more about that sort of
thing.

This file would be many gigs in size, not bytes...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Updating Planet and Reliability

2011-07-21 Thread John Smith
On 21 July 2011 21:26, Andrew Ayre a...@britishideas.com wrote:
 I don't care about resuming partially completed change merges if that is
 what you mean. What I do care about is detecting an interrupted merge
 and starting it again from the beginning. I don't expect reboots to
 happen very often, so taking an extra hour to redo some lost work won't
 be significant overall.

Osmosis usually bundles changes up, it doesn't do them one at a time,
so where would you have it resume from exactly?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Updating Planet and Reliability

2011-07-21 Thread John Smith
On 21 July 2011 21:33, Andrew Ayre a...@britishideas.com wrote:
 From the date/time of the last successfully applied changes.

It already does that, but that's not what you're expecting, you're
expecting that changes are applied sequentially, not as a group.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Updating Planet and Reliability

2011-07-21 Thread John Smith
On 21 July 2011 21:41, Andrew Ayre a...@britishideas.com wrote:
 Yes, changes are applied sequentially, i.e. one set every 24 hours in my
 case as that is how frequently I run Osmosis to perform the change merge.

So what is it you want to do exactly, the state file saved to the hdd
is the last one successfully applied, if osmosis is interupted it goes
back to that.

The only alternative I can think of is the one I suggested before
about osmosis dumping the contents of memory to hdd so it could pickup
where it left off from that point in time.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] shp2multipolygon

2011-07-05 Thread John Smith
On 30 June 2011 23:28, André Riedel riedel.an...@gmail.com wrote:
 There is a python program programm named ogr2osm

 http://wiki.openstreetmap.org/wiki/Ogr2osm

Does anyone know how to fix this to deal with multipolygon areas?

I think ogr deals with them find, but ogr2osm doesn't.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] shp2multipolygon

2011-07-01 Thread John Smith
On 1 July 2011 11:24, Ian ian.d...@gmail.com wrote:
 Use a GIS program that talks shapefiles (like QGIS) to merge the data into
 one shapefile and convert that one. OSM conversion tools aren't designed to
 do any of that work.

I finally figured out a way, bit of an ugly hack to make it work, but
at the end of the day it's the quickest way to do it. Anyone else
wanting to do this, I wrote up some notes on the topic.

http://wiki.sharedmap.org/wiki/ABS_data

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Is there any Debian package of osmosis available?

2011-07-01 Thread John Smith
On 2 July 2011 06:58, Ian Dees ian.d...@gmail.com wrote:
 Osmosis is not packaged anywhere as far as I know. Java applications tend to
 not be packaged because of poor Java and JDK packaging in most of the linux
 distros.

I know both Debian and Ubuntu have it, others probably do also.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Is there any Debian package of osmosis available?

2011-07-01 Thread John Smith
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

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Is there any Debian package of osmosis available?

2011-07-01 Thread John Smith
On 2 July 2011 07:12, Parveen Arora o...@parveenarora.in wrote:
 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.

It doesn't look like it appears in lucid-backports so you will most
likely need to make your own package.

 Can you also find it in the syanptic package manager?

That is only as useful as the repositories you have configured.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread John Smith
On 30 June 2011 23:28, André Riedel riedel.an...@gmail.com wrote:
 There is a python program programm named ogr2osm

 http://wiki.openstreetmap.org/wiki/Ogr2osm

 It does exactly what you want.

My problem is I'm trying to merge 2 shp files into a single
multipolygon osm file.

From these 2 files:

http://www.abs.gov.au/AUSSTATS/subscriber.nsf/log?openagent2923030001poa06aaust.zip2923.0.30.001Data%20Cubes33A877E7086CA98FCA25731A00217F820200617.07.2007Latest
http://www.abs.gov.au/AUSSTATS/subscriber.nsf/log?openagent2923030001ssc06aaust.zip2923.0.30.001Data%20Cubes2E96C5C5F3054EDFCA25731A002140DD0200617.07.2007Latest

You get 2 shp files:

POA06aAUST_region.shp which contains a set of postcode boundaries and
SSC06aAUST_region.shp which contains a set of suburb boundaries, both
files have some common boundaries and the SQL stuff that Anthony did
previously does work, but it creates excessive amounts of ways, on a
pair of 500k test files there was something like 65,000 nodes and
67,000 ways.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] shp2multipolygon

2011-06-30 Thread John Smith
On 1 July 2011 11:24, Ian ian.d...@gmail.com wrote:
 On Thursday, June 30, 2011 8:41:31 AM UTC-5, John Smith wrote:
 My problem is I'm trying to merge 2 shp files into a single
 multipolygon osm file.

 Use a GIS program that talks shapefiles (like QGIS) to merge the data into
 one shapefile and convert that one. OSM conversion tools aren't designed to
 do any of that work.

I'm actually try to do that as well, but I think the problem is
because the different shape files have different attributes.

___
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

2011-06-26 Thread John Smith
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

___
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

2011-06-26 Thread John Smith
On 27 June 2011 01:41, Graham Jones grahamjones...@gmail.com wrote:
 Right, thanks - I hadn't realised that rules is a makefile with '#!/bin/make
 -f' at the top to tell the shell to run it with make - clever!
 To get it to build a debian package I had to do 'sudo debian/rules binary'.
   Not sure why I had to be root, but it complained when I wasn't.

Isn't that what the fakeroot package is for?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Force rendering of names/places to English only

2011-06-22 Thread John Smith
On 22 June 2011 16:26, Haseeb Anwar Ul Haq fast...@gmail.com wrote:
 Hi,
  I have built my own openstreetmap server (Ubuntu 10.04)  and rendering
 tiles using mapnik and mod_tile.It works perfectly.Now I want to force
 rendering of all names (roads,places etc) to english language only (not in
 the native languages of the respective places) .
 Can anyone please help me out.Thank you so much and waiting for a response.

You need to add name:en to the style file and then you need to replace
name in sql queries with this:

(CASE WHEN name:en IS NOT NULL THEN name:en ELSE name END) AS name

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Can we have higher resolution tiles?

2011-06-15 Thread John Smith
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

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Can we have higher resolution tiles?

2011-06-15 Thread John Smith
On 15 June 2011 18:58, Parveen Arora o...@parveenarora.in wrote:
 Thanks for sharing it, can you please tell that which main editing is
 done in this file and whats the purpose of that?

It was modified to replace mod_tile/renderd for batch tile production

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Can we have higher resolution tiles?

2011-06-14 Thread John Smith
On 15 June 2011 13:40, Parveen Arora o...@parveenarora.in wrote:
 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?

I don't know about other map style sheets, but the default OSM Mapnik
style sheet doesn't work very well beyond z17, only areas and POIs
tend to render properly, so while you can do it, it doesn't look very
nice most of the time.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering of surface

2011-06-05 Thread John Smith
On 6 June 2011 03:22, Richard Weait rich...@weait.com wrote:
 Why must the problem of rendering surface tags be solved on a
 specific rendered layer or service?

The answer is obvious, it's easier to push a small change onto the
main mapnik layer than running their own system.

I'm not sure how much the custom rendering solution will change
things, possibly not much, it'll still be easier to ask someone else
to change their system to render differently.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering of surface

2011-06-05 Thread John Smith
On 6 June 2011 04:32, Jaak Laineste jaak.laine...@gmail.com wrote:
 relevant for officials and no much more. So also in our cartographic
 tradition we still use primary dimension (colors) for surface, and
 secondary (width, style) for other road parameters.

Australia has a large amount of dirt roads, I'm pretty sure someone
tagged a highway=primary as non-paved, however unpaved roads are
usually tagged as dashed lines.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Difference between osm and osmChange formats

2011-06-01 Thread John Smith
On 1 June 2011 17:51, Peter Körner osm-li...@mazdermind.de wrote:
 Am 31.05.2011 23:43, schrieb Sergey Galuzo:

 varchangeTag = !Visible ? delete : Version == 1 ? create : modify;

 This may be true when you look at an object's complete history.

 But don't let you confuse from the similar syntax of .osm and .osc files --
 they represent very different things.

The original poster had it mostly correct, they are almost identical
expect for the create/modify/delete tags and the osc file uses
osmChange instead of osm

___
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)

2011-05-26 Thread John Smith
On 26 May 2011 16:21, Stephan Knauss o...@stephans-server.de wrote:
 Hello Parveen,

 On 26.05.2011 05:03, Parveen Arora wrote:


 http://wiki.openstreetmap.org/wiki/Fast_Track_Deployment_of_Customised_OSM_Tile_Server
 Give your suggestions, comments and feedback or anything that you want
 to add or delete from it or anything that you want to suggest from
 your side will be welcomed.

 You could consider including a way to just run the server on an extract not
 only on a full planet.

 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.

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.

___
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)

2011-05-26 Thread John Smith
On 27 May 2011 03:30, Parveen Arora m...@parveenarora.in wrote:
 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.

Mapnik is needed regardless, and there is sample scripts that can
render in various ways, mod_tile still hooks into mapnik, but doesn't
use the python scripts.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] (mod_tile) moving png files to a /z/x/y

2011-05-22 Thread John Smith
On 23 May 2011 01:12, Philippe Coent philippe.co...@gmail.com wrote:
 Hi,

 I am running a mod_tile/renderd/postgis map OSM server.

 I rendered all the meta tiles using the render_list tool.

 I can then convert those .meta files into .png using the provided tool.

 Now, as I am using an architecture hosted at Amazon, I would like to extract 
 all the PNG files to a /z/x/y scheme, then push this to a S3 bucket and 
 create a cloud front distribution.

 I was wondering if some script exists to move files from the mod_tile 
 directory to the 'classic' z/x/y

in the mapnik stuff on OSM's SVN there is a python script called
generate_tiles.py

http://www.bostongis.com/PrinterFriendly.aspx?content_name=generating_osm_tiles

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
What's it going to take to stop people spamming me about the ODBL?

The current CTs conflict with data I've edited or derived so I can't
agree to the license change even if I wanted to.


-- Forwarded message --
From: Fabio Locati m-156905-3c8...@messages.openstreetmap.org
Date: 10 January 2011 21:28
Subject: [OpenStreetMap] ODbL
To: deltafoxtrot...@gmail.com


Hi JohnSmith,

Fabio Locati has sent you a message through OpenStreetMap with the subject ODbL:

==
Hi, I've seen that you haven't accepted the ODbL(1) (new license that
in a short time will become the only accepted one) yet. If you will
not accept the new license in a short time, all your edits will be
lost and you will no longer able to edit OSM. If you are willing to
accept it, you can do it, going on the page:
https://www.openstreetmap.org/user/terms ;)
If you have any questions, please, ask me :)

Have a nice day,
Fabio A Locati

1. http://wiki.openstreetmap.org/wiki/ODbL
==

You can also read the message at
http://www.openstreetmap.org/message/read/156905
and you can reply at http://www.openstreetmap.org/message/reply/156905

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 21:54, Grant Slater openstreet...@firefishy.com wrote:
 People contacting you is exceptional AFAIK. The issue is you have made
 global trivial tag changes which effects local mappers in most
 regions.

I'm not alone here, how many others have done similar things?

 Other than NearMap any others?

Anything non-PD, including but potentially not limited to the Aussie
Govt data...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 22:01, John Smith deltafoxtrot...@gmail.com wrote:
 Other than NearMap any others?

 Anything non-PD, including but potentially not limited to the Aussie
 Govt data...

Oh and I won't give OSM-F a blank cheque on my surveyed data anyway,
similar/same reasons as to why Nearmap won't

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 22:34, Dermot McNally derm...@gmail.com wrote:
 On 10 January 2011 11:41, John Smith deltafoxtrot...@gmail.com wrote:
 What's it going to take to stop people spamming me about the ODBL?

 One man's spam is another's contact from one community member to another.

Why is this not coming officially from OSM-F rather than getting
multiple copies or more or less the same message multiple times?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 22:38, John Smith deltafoxtrot...@gmail.com wrote:
 On 10 January 2011 22:34, Dermot McNally derm...@gmail.com wrote:
 On 10 January 2011 11:41, John Smith deltafoxtrot...@gmail.com wrote:
 What's it going to take to stop people spamming me about the ODBL?

 One man's spam is another's contact from one community member to another.

 Why is this not coming officially from OSM-F rather than getting
 multiple copies or more or less the same message multiple times?


Or more to the point why can't we state explicitly we won't be
accepting now that the OSM-F has decided to go full steam ahead
regardless of any data lost...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 22:44, Benjamin Lebsanft benja...@lebsanft.org wrote:
 Hi,

 Why is this not coming officially from OSM-F rather than getting
 multiple copies or more or less the same message multiple times?

 because local mappers want to know if they have to do someone's work
 again and try to avoid that by contacting the concerning osm member.

Why would that be a reason for OSM-F not to send out an email?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 22:57, Ian Dees ian.d...@gmail.com wrote:
 Hi John,

 Please take this to a different mailing list. A license discussion does not
 belong on the dev list.

This isn't a license discussion, this is a discussion of the technical
problems associated with the license change.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 10 January 2011 23:39, Andy Allan gravityst...@gmail.com wrote:
 Although this is the dev list I'll suggest this - engage the community
 and your social problem might go away. You can use the description
 field in your user account to note that you aren't currently able to
 relicense all of your data. You could explain further the problems on
 your wiki user page. You could help other people by noting which
 licenses the data you are importing fall under ( see
 http://wiki.openstreetmap.org/wiki/Import/Catalogue and search for
 Importer will not reveal source or license). You could use separate
 accounts for your imports and bot-like activity, as the guidelines
 suggest. In other words, solve the social problem by using social
 solutions.

Nice straw man, however such responsibility should fall to the OSM-F
since they are the ones instigating such changes, they should be doing
something about this problem, why is it being left up to end users to
try and facilitate the change over?

 Anyway, I agree that this isn't a technical discussion (no code is
 going to be written to block these message from reaching you), so we
 could leave it there as far as this list is concerned.

Some code will have to be written at some point to accept explicit
disagreement with the CT, and I'm not the first to complain about this
issue and I doubt I'll be the last so unless you want more emails
about this problem I suggest something be centrally co-ordinated to
deal with it in a more orderly fashion than harassing users constantly
because they haven't agreed with the new CTs.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 11 January 2011 00:10, Ian Dees ian.d...@gmail.com wrote:
 public static void main(String[] args) {
 System.out.println(OSM is a community. Perhaps some of the community
 wants to be proactive about the license change.);
 }

What about the proactive community against the license change, or
don't they/their views count?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 11 January 2011 00:25, Erik Johansson e...@kth.se wrote:
 Well you can start informing people who have contributed/touched
 Nearmap sourced data, and accepted the ODBL, if you want to.

I figured my account would be blocked within milliseconds of such
blasphemous emails being sent.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Fwd: [OpenStreetMap] ODbL

2011-01-10 Thread John Smith
On 11 January 2011 05:29, Frederik Ramm frede...@remote.org wrote:
 JOSM, in its latest versions, gives you direct access to the list of
 acceptors so whenever you select an object you will see who has edited it
 last, and whether that person has agreed to the CT. It would be great to
 have an automatism for an in-depth check that also looks at the object
 history; I guess we'll implement that next (albeit this can only be done on
 demand for individual edits, lest it would batter the API with too many
 history requests).

Except that OSM doesn't keep complete edit histories for split
objects, rather than looking at the history it might be better to try
and calculate the complete history of object IDs combined with editor
IDs, although even this would only be best guess since a copy and
paste could probably make things almost impossible.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] [OSM-talk] How do I get higher-resolution imagery in JOSM?

2011-01-07 Thread John Smith
On 8 January 2011 03:19, Martijn van Exel m...@rtijn.org wrote:
 Something like: editor / plugin asks tile.php for number of zoom
 levels remaining, if number is 0 then overzoom, otherwise get tile
 from bing.

That'd be really nice, because than instead of displaying the no more
zoom tile, the editor could zoom on the last tile image.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] changeset comment length limitation

2010-11-09 Thread John Smith
On 9 November 2010 18:10, Andrew Harvey andrew.harv...@gmail.com wrote:
 Ah, thats right, changeset comments are just tags against the changeset.

 I was just going to describe what I change in the changeset, this is
 the comment I was going to use,

If it's so important that you absolutely must include all of that, you
could either break up the changeset into multiple changesets, or use
multiple changeset tags...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Mod_tile - apache 404 - no tiles please help

2010-10-29 Thread John Smith
On 29 October 2010 23:26, NicoG garn...@renater.fr wrote:
 did i forget something ? thx you for your help

I couldn't see your mod_tile config, but you need to have a look at
mod_tile.conf examples that come with mod_tile...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] API 0.7+: Split node concept?

2010-10-12 Thread John Smith
On 13 October 2010 05:49, SteveC st...@asklater.com wrote:
 Seems like there are far more interesting things to do than that.

I'm curious to know what exactly you had in mind...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-22 Thread John Smith
On 22 September 2010 17:17, Frederik Ramm frede...@remote.org wrote:
 mkgmap support the new format, and that anyone with Osmosis+Java installed

It might be useful to make a simple C based application that just
converts from the new format to OSM XML, that way you could pipe the
input to the other apps without them needing to support the new format
natively, and without needing osmosis/java...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] How to get non-technical users easily editing (offline)?

2010-09-22 Thread John Smith
On 22 September 2010 18:10, Sam Wilson s...@archives.org.au wrote:
 (This project, by the way, if anyone's interested, is to assist power pole
 assessors in Western Australia; people who travel thousands of kms a month

Are you planning to upload pole locations to OSM? The poles are of
interest to some, but I'm thinking the pole reference numbers to
lat/lon would be useful. Someone else expressed interest in emergency
phone reference numbers, so they could be used to more quickly locate
people, apparently private road ways don't need to supply this
information to government.

 all over the state, driving all the back ways and small roads, and taking
 note of fences, gates, power lines.

Do these people keep GPS tracks by any chance?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-22 Thread John Smith
On 22 September 2010 22:37, Anthony o...@inbox.org wrote:
 How long does it take to just make a compressed psql binary dump?

This is why XML is used, it's database independent, there is apps like
navit and mkgmap that use their own format, further more the psql
binary dump may not include all the information if it's only being
used for tile rendering, although some people want the full file, and
those that don't would be forced to filter it some how for just the
information they require.

In this case binary dumps occur anyway (osm.bz2) but it makes more
sense to have an OSM specific format to reduce overhead and speed up
processing.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

2010-09-22 Thread John Smith
On 22 September 2010 23:23, Grant Slater openstreet...@firefishy.com wrote:
 I quite like the .osm.bz2 format. I don't see it being kicked off
 http://planet.osm.org anytime soon. Parallel distribution is an
 option.

Considering Scott was able to get the full planet dump under 5G it
seems a better idea to go with his binary format...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new contributor terms ID list

2010-08-25 Thread John Smith
On 25 August 2010 17:59, Frederik Ramm frede...@remote.org wrote:
 Some may be interested in how many *humans* have already agreed because they
 feel that the community is more important than the data. Others may only be
 looking at the *data* because the thing they fear most is that their local
 area of interest is adversely affected, no matter if the data came from
 imports or humans.

In both cases a bot cleaning up tiger tags shouldn't be given any
weight, it didn't contribute anything other than reducing excessive
amounts of useless tags that shouldn't have been imported in the first
place.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new contributor terms ID list

2010-08-24 Thread John Smith
On 25 August 2010 05:28, Grant Slater openstreet...@firefishy.com wrote:
 Last week's LWG minutes also have a nice graphic showing agreed contributors:
 https://docs.google.com/View?id=dd9g3qjp_77rbr8fgfw

What information went in to compiling that graphic?

For example, wasn't there a bot setup to remove a bunch of tiger tags,
was that account included and if so wouldn't that be misleading?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new contributor terms ID list

2010-08-24 Thread John Smith
On 25 August 2010 13:50, Richard Weait rich...@weait.com wrote:
 It's a first go at a simple visualization.  We'll get better at it,
 and the raw data will be published so that those with the motivation
 can build their own visualizations.

 So, no, it's not misleading.

That's debatable, I'd say anything with more than 0.5% contribution is
most likely to be a bot or an import and should be excluded for the
purposes of visualising support.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new contributor terms ID list

2010-08-24 Thread John Smith
On 25 August 2010 14:01, Ian Dees ian.d...@gmail.com wrote:
 So when the raw data is released, make that graphic.

So why can't the UIDs be released now so that we can? It's obvious
someone already has such a list...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] aviation maps? - conclusion

2010-08-12 Thread John Smith
On 13 August 2010 01:05, Ákos Maróy a...@maroy.hu wrote:
 oh, I see now. so basically this layer feature works on KML files..

That isn't the only way to do it, just a way to do it.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] aviation maps?

2010-08-11 Thread John Smith
On 11 August 2010 23:28, Tom Hughes t...@compton.nu wrote:
 I thought the general consensus was to not to add airspace data actually...

I thought it was flight paths?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] aviation maps?

2010-08-11 Thread John Smith
On 11 August 2010 23:38, Frederik Ramm frede...@remote.org wrote:
 Personally I think that both are useless and will make normal editing more
 difficult. I could see *slighly* more of a case for airspace (because that

This is a bigger issue of the API and editors to a lesser extent,
always downloading/displaying everything by default. It would be nice
to have some of this information filtered out by default, but
available on request, this wouldn't just allow for things like mapping
specality information like air space, but would allow for historical
mapping and even temporally mapping like annual events that the map
would only be valid 2 weeks a year.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Bugs in the new wiki skin (was: Re: OSM Wiki now uses the Vector skin)

2010-08-08 Thread John Smith
On 8 August 2010 21:47, Maarten Deen md...@xs4all.nl wrote:
 I noticed it too. I am not a fan of this skin at all. Especially the text in
 the edit window looks horrible. I also don't like the search box moved away
 to the top right. It's far away from the bulk of the navigation links.
 Is there a way to change back to the normal skin?

Go to:

http://wiki.openstreetmap.org/wiki/Special:Preferences

Click on 'Appearance', and then select 'MonoBook' and save...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] troubles importing osm data via osm2pgsql: skipping table creation, no function match, permission issue?

2010-08-07 Thread John Smith
On 8 August 2010 00:29, Christopher Stevens ownthe...@gmail.com wrote:
 No luck. Maybe it's not a permission issue, or I'm missing a step? Let
 me know what you think. I appreciate the feedback.

You seem to be missing the postgis functions:

 failed: ERROR:  function addgeometrycolumn(unknown, unknown, integer, 
 unknown, integer) does not exist

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] troubles importing osm data via osm2pgsql: skipping table creation, no function match, permission issue?

2010-08-07 Thread John Smith
On 8 August 2010 03:20, Christopher Stevens ownthe...@gmail.com wrote:
 $ psql -d gis -f /usr/local/pgsql/share/contrib/postgis-1.5/postgis.sql
 SET
 BEGIN
 psql:/usr/local/pgsql/share/contrib/postgis-1.5/postgis.sql:59: ERROR:
  could not access file $libdir/postgis-1.5: No such file or
 directory

Do you have postgis libraries installed?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] CC-BY-SA datasources, display warning in editor?

2010-08-04 Thread John Smith
On 4 August 2010 19:31, Stefan de Konink ste...@konink.de wrote:
 On Wed, 4 Aug 2010, Frederik Ramm wrote:

 Otherwise people might just put in a lot of work for nothing.

 Obviously not true, since the data will be available in the CC-BY-SA output.

They're still in breach of contract with Nearmap, but not illegal
since they aren't breaking any criminal laws, however I share
Frederik's concern that it's so easy for everyone to trace from
Nearmap and even other cc-by sources if they agreed to the new CTs
which would potentially make a lot of their effort disappear from the
main OSM DB in future.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] CC-BY-SA datasources, display warning in editor?

2010-08-04 Thread John Smith
On 4 August 2010 19:54, Stefan de Konink ste...@konink.de wrote:
 Nobody is in breach with anything since *only* new mappers produce ODbL
 data.

I'm not talking about the license, it's the new contributor terms that
put new users in a breach of contract situation. The majority of
Aussie users can't accept the new contributor terms for the same
reason.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] CC-BY-SA datasources, display warning in editor?

2010-08-04 Thread John Smith
On 5 August 2010 00:15, Anthony o...@inbox.org wrote:
 Is Nearmap mixing any of our CC-BY-SA data with their aerials?  If so,

They have OSM map tile overlays, but I wouldn't call this mixing, any
more than I'd call it mixing if you draw on a transparent overlay and
then display another slide underneath it on an overhead projector.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] detect running JOSM from web pages

2010-07-29 Thread John Smith
On 29 July 2010 18:07, Stephan Knauss o...@stephans-server.de wrote:
 I did add a version to the interface. That's why it's called protocol
 version.

Wouldn't it be better to just ask about capabilities, then you could
in theory, turn capabilities on or off depending on your circumstance
or preferences, rather than having the capabilities fixed.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] The same OSM server but locally available

2010-07-29 Thread John Smith
2010/7/29 Timo Juhani Lindfors timo.lindf...@iki.fi:
 You can import an export of your country to postgresql
 database. However, there is no way to apply diffs to a partial
 database so you need to re-import the database every time you want to update 
 it.

osm2pgsql has a bbox option...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] The same OSM server but locally available

2010-07-29 Thread John Smith
On 30 July 2010 01:46, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 that is needed by cgimap that in turn is needed by JOSM. Afaik
 osm2pgsql is only good for mapnik and nothing else. I'd be happy to
 be proven wrong though ;-)

What about the hstore patches that effectively store all tag
information, not just a limited subset?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] USGS fork of OpenStreetMap

2010-07-29 Thread John Smith
On 30 July 2010 15:04, Alan Millar amillar...@gmail.com wrote:
 When I started working on OSM, I wondered why some people thought all of the
 data should be PD.  It wasn't until later that I realized that this is one
 of the good reasons for it.

In the case of US data sure, but other governments release data under
cc-by... and others use cc-by-sa there is no license that will
satisfy everyone everywhere...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has expiring tiles based on minutely updates broken?

2010-07-23 Thread John Smith
I made changes to an area 24+ hours ago and the tiles only refreshed
when I forced them with /dirty

I think some code change to mod_tile broke this and tiles are no
longer being refreshed...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-21 Thread John Smith
On 22 July 2010 00:16, Richard Weait rich...@weait.com wrote:
 If you haven't got mail setup for this box you won't have confirmed
 that user / email address.  Turn the user active in the database by
 hand and it should work.

That wasn't the problem, the link on the OSM wiki links to 0.35 but to
do this you need 0.36.3 and it didn't click for some reason
yesterday...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
I've seen schema and such on the wiki, but nothing putting it all
together like some of the mapnik/mod_tile/etc tutorials.

If nothing exists I'll start documenting it as I go...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
On 20 July 2010 19:41, Chris Jones roller...@sucs.org wrote:
 http://wiki.openstreetmap.org/wiki/Rails_port

Thanks for that, I just started looking into the rails stuff on the
github, but this will save me some time...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
On 20 July 2010 19:47, Richard Fairhurst rich...@systemed.net wrote:
 If there's anything I can do to help (particularly wrt Potlatch) let me
 know.

I didn't see anything on the rail port wiki page specifically about
potlatch, does it need anything special?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
On 20 July 2010 19:47, Richard Fairhurst rich...@systemed.net wrote:
 If there's anything I can do to help (particularly wrt Potlatch) let me
 know.

Also the debian rails page seems to be out of date, it still
references SVN + MySQL...

http://wiki.openstreetmap.org/wiki/Rails_on_Debian

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
On 20 July 2010 20:01, Richard Fairhurst rich...@systemed.net wrote:
 to change Potlatch's Welcome to OpenStreetMap message to something else,
 you'll need to know where the config files are. If you want it to behave

I'm guessing that would be useful to document on the wiki under the
rails port so people don't confuse websites.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Has anyone got a cheat sheet for forking OSM at all?

2010-07-20 Thread John Smith
I'm up to trying to import data, I'm using a region extract rather
than the entire planet database but I'm hitting the following error:

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to
insert user with id -1 into the database.

Is this because the user table isn't populated? If so is there an easy
way to populate the user table based on information from an osm file?

As per instructions on the rails port wiki page I ran the increment
queries and then tried to run this command:

osmosis --read-xml-0.6 file=planet.osm.bz2 --write-apidb-0.6
populateCurrentTables=yes host=localhost database=openstreetmap
user=openstreetmap password=openstreetmap validateSchemaVersion=no

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] ESRI article sent by a friend

2010-07-11 Thread John Smith
On 12 July 2010 15:11, Stefan de Konink ste...@konink.de wrote:
 So why is this /so/ unacceptable? The renderer decides what to render.
 If we end up in rendering only a specific subset of data, for example
 from a list of users that we trust. Then any import is just ignored,
 until something thinks its good enough to be used.

It's a simple cost verse benefit analysis, is the data going to be
more beneficial than the effort needed to make it useful. If it causes
a lot of duplication or extra work for minimal benefit then that kind
of defeats the purpose of importing. Selective importing, or at least
some kind of scripts that compare existing data with new data can help
improve the noise to signal ratio considerably.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] ESRI article sent by a friend

2010-07-10 Thread John Smith
There was a couple of other threads on other lists about this:

http://lists.openstreetmap.org/pipermail/talk/2010-July/051583.html
http://lists.openstreetmap.org/pipermail/imports/2010-July/000614.html

Including some questions about relational support:

http://lists.openstreetmap.org/pipermail/imports/2010-July/000617.html

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] ESRI article sent by a friend

2010-07-10 Thread John Smith
On 11 July 2010 07:32, Thomas Emge te...@esri.com wrote:
 As far as (bulk) imports are concerned that functionality is missing as well 
 (intentionally). As Lennard mentioned one should be careful to just take a 
 shapefile and hit import. We would like to know if import capability is of  
 interest and why. Just the fact that you want to upload your county's parcel 
 data is not enough - or maybe it is, I don't know. If users are interested in 
 doing so we will add a tool in  the future.

Some like to think there is 2 types of importing, implopping is where
people blindly upload data without checking what they are importing or
what already exists, then there is another type of importing,
selectively importing, where selective features are imported, usually
by having multiple layers and those features are copied and pasted
between layers.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Announcing the immediate availability of the Open Source Routing Machine

2010-07-09 Thread John Smith
On 9 July 2010 20:16, Dennis Luxen dennis.lu...@gmail.com wrote:
 This first release gives you fast routes and there are many things that
 are going to follow in the coming months, i.e. turn directions have not
 yet been implemented and does not obey turn restrictions. Also, the
 extraction of the road network is still rudimentary. Questions, bug
 reports and patches are welcome, be it on this list or at the projects
 bug tracker [1].

Can you give a little more dev specific meat to your posts in future,
like what is the format data needs to be in for this app to use it, ie
does it use postgis data the same as mapnik etc?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple XAPI parameters...

2010-07-09 Thread John Smith
On 10 July 2010 06:39, 80n 80n...@gmail.com wrote:
 Yes you can.  {foo=*][bar=*] is the subset of elements that have both foo
 and bar tags.

That doesn't actually do anything, only one of them is used for the
query, or was used last time I tested it.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple XAPI parameters...

2010-07-09 Thread John Smith
On 10 July 2010 07:19, 80n 80n...@gmail.com wrote:
 http://osmxapi.hypercube.telascience.org/api/0.6/*[name=Sydney][place=city]

As I said, last time I tested it, which also means the documentation
on the wiki hasn't been updated either, since it was saying the same
thing I was assuming still to be true...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Multiple XAPI parameters...

2010-07-08 Thread John Smith
Does anyone know if pgsql hstore would facilitate something like XAPI
with similar performance, but allow multiple parameters?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Display Boundary area using postgresql database

2010-07-08 Thread John Smith
On 8 July 2010 20:36, PARVEEN ARORA parveenarora...@gmail.com wrote:
 01032031BF0D000100050066861916604148E17A749F7B4B415C8FC2851A16604148E17A74E97B4B418FC2F5302C166041A4703D4AE37B4B419AC12A166041B81E85CB967B4B4166861916604148E17A749F7B4B41

 what does this mean ?

It's a 'geom' field, which stuffs a bunch of co-ord information into a
long string, if you are using osm2pgsql it's almost 100% going to be
x,y projection rather than lat/lon... You can convert this back to a
more human readable form by using a couple of postgis functions...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Display Boundary area using postgresql database

2010-07-08 Thread John Smith
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...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Display Boundary area using postgresql database

2010-07-08 Thread John Smith
On 9 July 2010 01:39, PARVEEN ARORA parveenarora...@gmail.com wrote:
and sir  what are transparent layers, and how can i use them.

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...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple XAPI parameters...

2010-07-08 Thread John Smith
On 9 July 2010 07:38, 80n 80n...@gmail.com wrote:
 The XAPI instance at osmxapi.hypercube.telascience.org/api/0.6 supports
 multiple parameters with similar performance.  What else do you need?

Not according to the documentation, or did someone forget to update it?

http://wiki.openstreetmap.org/wiki/XAPI#Predicates

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multiple XAPI parameters...

2010-07-08 Thread John Smith
On 9 July 2010 13:56, Alan Mintz alan_mintz+...@earthlink.net wrote:
 Are they ORd or ANDed? Is there a way to have a partial wildcard on the

As far as I'm aware you can only do simply ORs, eg:

[highway=residential|unclassified]

And you can't do add more than one key value.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] OSM - How to Highlight particular boundary area on own Map

2010-07-07 Thread John Smith
On 8 July 2010 00:18, Simone Cortesi sim...@cortesi.com wrote:
 XAPI allows you query the OSM DB asking just for certain information.
 You will get back a selected number of results based on the query you
 submit. Information on how to obtain you specifical set of results can
 be found here:
 http://wiki.openstreetmap.org/wiki/Xapi

XAPI isn't that helpful, especially if you need to have more than one
key/value pair.

I've never done it, but you could export from the OSM site as SVG, and
then tweak that manually in a SVG editor like inkscape.

Most people wanting custom rendering however either use openlayers and
put something on top of a base map, or they modify a base map style
sheet to make their own rendering completely.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] [josm-dev] Problem with large changeset

2010-07-06 Thread John Smith
On 6 July 2010 18:54, Andy Allan gravityst...@gmail.com wrote:
 suggests* that double results are printed to (a maximum of) 9
 significant figures, which is fine for latitude and fine if all your
 testing longitudes cover, say, UK and Germany.

You do realise, regardless of the latitude, anything more than 6dp is
beyond the kind of accuracy that is achievable by most people most of
the time, right?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] [josm-dev] Problem with large changeset

2010-07-06 Thread John Smith
On 6 July 2010 19:16, Andy Allan gravityst...@gmail.com wrote:
 whether 7 decimal places is too many (most times I've heard it
 discussed some people have asked for more) is something entirely
 different.

At this point it's almost pointless to have more than 6dp of accuracy
since we're not likely to have much/any data with that level of
accuracy in the first place, nor are we tracking or dealing with
continental drift.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Field lengths in Rails port

2010-06-30 Thread John Smith
On 30 June 2010 17:46, Andy Allan gravityst...@gmail.com wrote:
 Postgres ignores them, IIRC, since it doesn't have such a concept. I'm
 sure one day some numbers will get too big for mysql, but hey.

Doesn't MySQL support BigInt (64bit) and UUID (128bit) numbers?

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Problem with replying to mail from osm.org?

2010-06-30 Thread John Smith
I've tried to reply to 2 messages today, both returned with this error:


/var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/attribute_methods.rb:264:in
`method_missing': undefined method `subject' for #Message:0xb6cbceb8
(NoMethodError)
   from /home/rails/script/deliver-message:18

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Field lengths in Rails port

2010-06-30 Thread John Smith
On 1 July 2010 00:32, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote:
 On Wed, Jun 30, 2010 at 08:11, John Smith deltafoxtrot...@gmail.com wrote:
 On 30 June 2010 17:46, Andy Allan gravityst...@gmail.com wrote:
 Postgres ignores them, IIRC, since it doesn't have such a concept. I'm
 sure one day some numbers will get too big for mysql, but hey.

 Doesn't MySQL support BigInt (64bit) and UUID (128bit) numbers?

 Yes, but it generally handles larger types much worse than real
 databases. E.g. you can't have an index for a TEXT, but you can index
 VARCHAR(255) on InnoDB.

I thought we were only discussing numeric types, but I think you can
index varchar regardless of the DB type, and you avoid TEXT fields
like the plague since it will use the hdd to build the query...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Multilingual Maps Overlays

2010-06-21 Thread John Smith
On 21 June 2010 16:59, Thomas Petazzoni thomas.petazz...@enix.org wrote:
 Did you modify osm2pgsql in order to import multiple name:XX tags into
 the PostGIS database ? How is the PostGIS database layout modified ?

You just need to add name:xx to the default.style file and then
reimport the whole area you want to render, alternatively you can use
the hstore stuff someone added, I use name:en by default in the tiles
I render.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] start of gwtosm the google webtoolkit port of josm

2010-05-31 Thread John Smith
On 31 May 2010 18:38, M∡rtin Koppenhoefer dieterdre...@gmail.com wrote:
 resolution compared to the aerial imagery available from PCN. Probably
 the same issue occurs in Australia (Nearmap).

Potlatch can use Nearmap imagery just fine...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Complex JOSM filtering rules

2010-05-26 Thread John Smith
On 26 May 2010 23:22, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote:
 Filters are just search queries, so you can do e.g.:

I'm aware of that... but...

boundary=administrative -(highway=* | waterway=* | natural=*)

Doesn't do what I'm trying to do...

 If you want to hide boundary relations you can put that query in a ()
 and OR it together with one that searches for ways that are part of a
 boundary relation, use the child/parent operators for that.

That's what I'm asking, how do I hide all admin boundaries that don't
have highway, waterway, natural tags because I haven't figured out a
combination of filters that will do what I'm trying to do.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Complex JOSM filtering rules

2010-05-26 Thread John Smith
On 27 May 2010 00:07, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote:
 Your original question had a double negative. If you want to inverse
 the query I gave you just remove the - from it.

Perhaps I'm not explaining myself clearly, ideally I want to
completely hide admin boundaries all the time, except some admin
boundaries are also tagged as waterways and highways and so on, and
I'd like to be only able to see those admin boundaries, long term I'm
hoping to de-merge these ways completely, but for now finding them and
dealing with them would be nice.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Complex JOSM filtering rules

2010-05-26 Thread John Smith
On 27 May 2010 00:21, Frederik Ramm frede...@remote.org wrote:
 Jokes aside, *please* use relations for admin boundaries and then simply
 make the road a member in your relation. There is no need to draw an extra
 line tagged admin boundary if the boundary is the road.

Thanks for your opinion, but these boundaries already exist in OSM's
DB and they keep getting constantly broken by people not understanding
that the road isn't the boundary and then their use of editing
software doesn't fix up relations properly after boundaries get split
to be used for various things.

Also the boundaries are from the govt department that handles
statistics, which only match boundaries by approximation.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Complex JOSM filtering rules

2010-05-26 Thread John Smith
On 27 May 2010 00:26, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote:
 Why doesn't that work for you?

If I knew that I wouldn't still be asking for help.

So far either all the boundaries are hidden or they're all shown I
can't figure out how to only show some of them.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Complex JOSM filtering rules

2010-05-26 Thread John Smith
On 27 May 2010 00:21, Frederik Ramm frede...@remote.org wrote:
 And I'd like JOSM to highlight places where an admin boundary runs 100%
 parallel to a road so I can merge them ;-)

If you noticed a previous thread of mine:

http://lists.openstreetmap.org/pipermail/dev/2010-April/019343.html

Having the admin information only in a relation won't render properly...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] projection for calculating distances in PostGIS

2010-05-19 Thread John Smith
On 19 May 2010 22:06, Marcus Wolschon mar...@wolschon.biz wrote:
 Hello,

 what projections do you use to calculate distances (in meters) in postgis?
 I have some code here that tried to use 27700 but that is not defined
 on all inhabited continents of this planet.
 An error of at most 25% would be acceptable as tis is just about search
 -areas and not street-length.

If you generate an area that you want to cover, then all you need to
do is use ST_Within() function I think it is.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] projection for calculating distances in PostGIS

2010-05-19 Thread John Smith
On 20 May 2010 06:50, Marcus Wolschon mar...@wolschon.biz wrote:
 No, I do need the  = st_intersects() and after the intersects() the
 result is checked for distance.

Use which ever function works best for you, I was just making a
suggest that didn't need distance calculations.

  Both the creation of the bounding-box and
 the distance -calculation require a projection.

That's simple, if you are already generating such projections you can
make a bounding square and create a new area and then use a function
to find anything that falls partially within that area.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] projection for calculating distances in PostGIS

2010-05-19 Thread John Smith
to make an area you would do something like this.

mid point = S25, E45
radius = 5km

From there you can easily approximate small bounding box by doing
something like this:

top lat = midpoint - (radius / 100)
left lon = midpoint - (radius / 100)
bottom lat = midpoint + (radius / 100)
right lon = midpoint + (radius / 100)

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] drop in users

2010-05-09 Thread John Smith
On 9 May 2010 21:46, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote:
 There's no secret sauce; The source code is all in Git. Good spam
 systems don't suffer from their internals being known.

Depends on the popularity, I think I read some where spam templates
were tested against spamassassin a while back because it's use was
hindering spammers too much...

 Besides, I don't think that those spamming OpenStreetMap blogs are
 proficient enough to read the code and come up with a targeted attack
 even if that were the case.

Depends how popular OSM gets, the more popular the more incentive
there is to spam...

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


  1   2   3   >