Re: [OSM-dev] Mapnik/Postgres: Permissions Issue with contour layer

2010-11-10 Thread Chris Jones
On 9 Nov 2010, at 22:47, Nick Whitelegg wrote:

 Basically OSM for the UK has been loaded into a database called 'gis'. I've 
 also imported SRTM contour data, using the standard approach documented in 
 the wiki, into a database called 'nickw' which I have full rights over 
 (unlike the 'gis' database). I've granted SELECT privileges to the 'gis' user 
 into this 'nickw' database but am getting the following error :
 
 Nov  9 22:03:04 tilesrv renderd[13669]: An error occurred while loading the 
 map layer 'openfootmap': PSQL error:#012ERROR:  permission denied for 
 relation geometry_columns#012Full sql was: 'SELECT f_geometry_column, srid 
 FROM geometry_columns WHERE f_table_name='contours''#012 (encountered during 
 parsing of layer 'srtm_10')
 
 It seems that the 'gis' user cannot access the 'nickw' database for some 
 reason.

Hi Nick,

Most permissions are at table level, \dp from psql client shows you what 
permissions currently exist.

I've just granted the gis user select on geometry_columns and the contours are 
now displaying.

--
Chris Jones, SUCS Admin
http://sucs.org



___
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 Chris Jones
On 20/07/10 10:32, John Smith wrote:
 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...
   

http://wiki.openstreetmap.org/wiki/Mapnik

http://wiki.openstreetmap.org/wiki/Rails_port

Those two cover most of it.

--
Chris Jones, SUCS Admin
http://sucs.org

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


Re: [OSM-dev] Doing street names from aerial imagery

2010-03-24 Thread Chris Jones

On 24 Mar 2010, at 10:52, John Smith wrote:

 This is a routing problem, hopefully someone has already solved it.
 
 If there is a suburb of streets mapped from aerial imagery and you
 have several volunteers how do you work out the most efficient path
 for all the voluneteers to take to grab street names with minimal
 overlap etc.

Some variant of the Chinese postman algorithm would be my guess...

--
Chris Jones, SUCS Admin
http://sucs.org

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


Re: [OSM-dev] archive with the tiles

2009-11-24 Thread Chris Jones
Atton Jonathan wrote:
 hello

 I use the static API to retrieve the tiles in my application, example 
 : http://tile.openstreetmap.org/12/2047/1362.png

 I wish to use it without Internet, is there somewhere a package with 
 all the tiles ?
Im not sure if this would solve your problem, but you can setup a local 
tile server and generate the tiles you need on demand.

See http://wiki.openstreetmap.org/wiki/Mapnik

--
Chris Jones, SUCS Admin
http://sucs.org

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


Re: [OSM-dev] finding OSM users by their home locations

2009-05-31 Thread Chris Jones
On 31 May 2009, at 06:41, Russ Nelson wrote:

 The OSM webserver will tell you the ten people with home locations
 closest to your home location.  It would be useful to be able to get
 more than that, for the purpose of inviting people to attend mapping
 parties so they can become more effective and enthusiastic OSM
 contributors.  If you move your home location to the location of the
 mapping party, you can get ten people, and if you move it around some
 more, you can get more than just those ten.

Sounds evil... but less evil than your current method of spamming  
everyone who has edited something nearby.

--
Chris Jones, SUCS Admin
http://sucs.org

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


Re: [OSM-dev] mapnik

2009-05-01 Thread Chris Jones

On 1 May 2009, at 07:31, Mohamad Ali wrote:



 Hi guys

 I have this situation:

 u...@pc1:~$ cd mapnik
 u...@pc1:~/mapnik$ source set-mapnik-env
  nothing happen on the screen

 ./customize-mapnik-map $MAPNIK_MAP_FILE
 nothing happen on the screen


That's expected.

In the unix world unless you get an error message assume it probably  
worked.

--
Chris Jones, SUCS Admin
http://sucs.org



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


Re: [OSM-dev] Tiles and Postgis

2009-04-22 Thread Chris Jones
ahmed soua wrote:
 Hi all,
 I have downloaded tiles from the tiles open steet map server using 
 JTiledownloader.
 My question* is it possible to put these tiles into a postgis Database 
 to use them  to have slippy map of my country.*
 Thanks.
See http://wiki.openstreetmap.org/wiki/Mapnik

--
Chris Jones, SUCS Admin
http://sucs.org

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


Re: [OSM-dev] Fwd: [GSoC] A GPX photo stamper.

2009-04-01 Thread Chris Jones
Tijs Zwinkels wrote:
 Yet, if I have a bunch of pictures that I want to geotag on my Linux 
 desktop, I basically have no idea where to go. Fact remains that most 
 of the software out there looks dodgy and is closed source, or is hard 
 to use.
Digikam does it - http://www.digikam.org
As does /GPS Correlate  /- http://freefoote.dview.net/linux_gpscorr.html

--
Chris

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


Re: [OSM-dev] mod_tile and renderd .. why 404?

2009-01-19 Thread Chris Jones

On 19 Jan 2009, at 17:51, Mikel Maron wrote:

 Hi all

 Trying to get a long suffering mapnik/mod_tile install up and  
 running. Have the latest from SVN. Everything builds and installs  
 without error. renderd and apache+mod_tile start up fine.

 But when I request a tile, getting a 404.

 Before I start digging around, does anyone have advice on what  
 might possibly be missing?


Look at your apache error log, it will more than likely tell you.

--
Chris Jones, SUCS Admin
http://sucs.org



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


Re: [OSM-dev] Binary OSM; the first pass encoder

2008-11-12 Thread Chris Jones
Stefan de Konink wrote:
 Hi All,


 Because I am getting more and more disappointed with the current state 
 of affairs with respect to the downloading of OSM content some people on 
 the Dutch OSM IRC channel thought of an alternative way of distribution 
 that could potentionally get binary diffs after any possible download in 
 the past.

 I wrote the first implementation of it in the last couple of hours and 
 tested it on the Dutch dataset. The current gzip compressed data is 
 about 135MB. Extracted it represents 1.4GB of XML.

 The binary file is completely analogue to the XML, no shortcuts what so 
 ever. The first reduction to binary format containing only data reduced 
 the set to 418MB and allows a bzip2 compression to 78MB.
   
How does gzip do on the binary format? or How does bzip2 do on the xml 
format.

You cant sensibly compare the two if you apply different compression 
methods.

Given how compression works I suspect you'd do better to tweak things 
like the block size used at compression time than come up with some 
binary format.

-- 
Chris Jones, SUCS Admin
http://sucs.org


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


Re: [OSM-dev] The wiki defines the database (was: relations)

2008-11-04 Thread Chris Jones

On 4 Nov 2008, at 20:56, Ulf Lamping wrote:
 It's simply a misconception that the voting process necessarily
 needs that all people involved to be experts of the topic. If the
 proposal is well prepared and discussed even by a very small number of
 people knowing what they are talking about, you will - even as an
 outsider - get a good idea if the feature is a good thing or not.

Surely the only voting process that carries any weight in the long  
run is people actually using a given key/value pair in the database...

Why not just provide a list of popular tags (like map_features does  
now), and a long list of possibilities for things not on the  
'popular' list (basicly what the Proposed_features currently do).

Any proposed features that see significant real world usage make  
there way onto the map_features page.

--
Chris Jones, SUCS Admin
http://sucs.org



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


Re: [OSM-dev] Mapnik script broken?

2008-07-28 Thread Chris Jones

On 28 Jul 2008, at 11:08, Sven Geggus wrote:

 Hello,

 I'm fiddling with mapnik, but am currently not able to generate
 geographically correct tiles.

 My generated tiles always seem to be shifted north by
 approximately the height of one tile (I did not measure this exactly
 however).

Your probably missing the -m on your osm2pgsql import.

See http://wiki.openstreetmap.org/index.php/Mapnik#Loading_Data

--
Chris Jones, SUCS Admin
http://sucs.org



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] Bad result from name finder postcode search

2008-04-09 Thread Chris Jones
Chris Jones wrote:
 Robert (Jamie) Munro wrote:
   
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I realise that the name finder will never be totally correct, but I
 noticed the following error:
 
 Beats searching for RG5 3DF (Reading) it gives you Manchester!

 http://www.frankieandshadow.com/osm/?find=rg5+3df
   
This one is even better!

Searching for pub near Swansea sends me to Australia...

http://gazetteer.openstreetmap.org/namefinder/?find=pub+near+Swansea

Oddly searching for pubs near Swansea gives me what I would expect...

Given the amount of name overloading perhaps it would be possible to 
guess which is closest to the end user using something like the GeoIP 
database...

-- 
Chris Jones, SUCS Admin
http://sucs.org


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] Bad result from name finder postcode search

2008-02-06 Thread Chris Jones
Robert (Jamie) Munro wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I realise that the name finder will never be totally correct, but I
 noticed the following error:
Beats searching for RG5 3DF (Reading) it gives you Manchester!

http://www.frankieandshadow.com/osm/?find=rg5+3df

--
Chris Jones, SUCS Admin
http://sucs.org

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev