Re: [OSM-dev] PostgreSQL 9.0?

2010-09-20 Thread Stefan de Konink

On Sun, 19 Sep 2010, Ian Dees wrote:


Has anyone started playing with Postgres 9.0 and OSM data? I'm particularly
interested in the streaming replication system they've introduced.


Only tested how PostGIS was working, other than 'it works' with some 
patches, not really having input.



Stefan

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


[OSM-dev] SEO for OSM data?

2010-09-20 Thread Jaak Laineste
 What about making OpenStreetMap more visible in Google search. For
this one way would be to make text-based data browser view, which is
search engine optimized (SEO). Create dynamic hierarchical links
starting from www.openstreetmap.org to each of the named items. So
Google crawler could see link Data browser in start page, and the
next levels would be basic HTML-pages like:
1) List of continents - osm.org/Europe
2) List of countries  - osm.org/Europe/Estonia
3) List of cities - osm.org/Europe/Estonia/Tartu
4) List of all the named data objects: - osm.org/Europe/Estonia/Tartu/Atlantis
5) View object details, so the last level would be alias to current
http://www.openstreetmap.org/browse/node/334475424 page, with
additional geotags.

 Target would be that if someone will search for Atlantis, Tartu,
then one of the top matches in Google would be the OSM item page, so
everyone can then use to edit it, view the location etc. Also Google
Image search should find image of the surroundings right from this
page.

 With this Google would index OSM planet, and we would get more
visibility and more local micro-contributors.

It seems to me not too hard to be coded, but would it make really sense?

-- 
Jaak

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


Re: [OSM-dev] SEO for OSM data?

2010-09-20 Thread Peter Körner

Am 20.09.2010 10:49, schrieb Jaak Laineste:

It seems to me not too hard to be coded, but would it make really sense?

I think we should definitely give it a try.

Peter

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


[OSM-dev] Uploading GPX file via API 0.6

2010-09-20 Thread Michael M


Hello,

I am trying to upload a GPX file by using the API 0.6. I am using the server 
http://api06.dev.openstreetmap.org/ for testing purposes. I am sending the 
attached data to the server. The server response is 500  (internal server 
error) and no further informations. I suggest that something is wrong with the 
header data, the gpx file should be ok.

Regards

Michael




POST /api/0.6/gpx/create HTTP/1.1
Authorization: Basic dXNlZm9ycHVibGljQGhvdG1haWwuZGU6eWFxMTJ3c3g=
Content-Type: multipart/form-data; 
boundary=d10f7aa230e8
User-Agent: Free User Agent
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Host: api06.dev.openstreetmap.org
Content-Length: 7865
Connection: Close

--d10f7aa230e8
Content-Disposition: form-data; name=file; filename=test.gpx
Content-Type: application/octet-stream

?xml version=1.0 encoding=utf-8?
gpx xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns=http://www.topografix.com/GPX/1/1;
  trk
nametest/name
trkseg
  trkpt lat=52.5633193 lon=9.7764445
ele37.1480713/ele
time2010-09-18T12:53:43.1924714+02:00/time
  /trkpt

.

   /trkseg
  /trk
/gpx
--d10f7aa230e8
Content-Disposition: form-data; name=description

beschreibung
--d10f7aa230e8
Content-Disposition: form-data; name=tags

merkmale
--d10f7aa230e8
Content-Disposition: form-data; name=visibility

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


Re: [OSM-dev] PostgreSQL 9.0?

2010-09-20 Thread Brendan Morley

Ian etc.,

That's quite a feat of timing, seeing as PostgreSQL 9.0.0 is just only 
out properly today:

http://www.postgresql.org/about/news.1235

And of course now is a good time for refractions.net to have its domain 
name expire.  So I can't easily tell if I can get PostGIS working with 
PostgreSQL 9.0.0!  (e.g. 
http://postgis.refractions.net/download/postgis-1.4.1.tar.gz )


Anyway, yes, I plan to run this from day 1 of CommonMap.  And yes, I am 
interested in its replication facilities.  Maybe worthwhile setting up a 
lab?



Brendan

On 20/09/2010 5:48 PM, Stefan de Konink wrote:

On Sun, 19 Sep 2010, Ian Dees wrote:

Has anyone started playing with Postgres 9.0 and OSM data? I'm 
particularly

interested in the streaming replication system they've introduced.


Only tested how PostGIS was working, other than 'it works' with some 
patches, not really having input.



Stefan

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




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


Re: [OSM-dev] PostgreSQL 9.0?

2010-09-20 Thread Emilie Laffray
On 20 September 2010 14:11, Brendan Morley morb@beagle.com.au wrote:

 Ian etc.,

 That's quite a feat of timing, seeing as PostgreSQL 9.0.0 is just only out
 properly today:
 http://www.postgresql.org/about/news.1235

 And of course now is a good time for refractions.net to have its domain
 name expire.  So I can't easily tell if I can get PostGIS working with
 PostgreSQL 9.0.0!  (e.g.
 http://postgis.refractions.net/download/postgis-1.4.1.tar.gz )

 Anyway, yes, I plan to run this from day 1 of CommonMap.  And yes, I am
 interested in its replication facilities.  Maybe worthwhile setting up a
 lab?


Postgis 1.4 will never work with Postgresql 9. You will need to use at least
Postgis 1.5.x.

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


Re: [OSM-dev] PostgreSQL 9.0?

2010-09-20 Thread Lennard

On 20-9-2010 23:57, Brendan Morley wrote:


Are PostGIS downloads mirrored anywhere?


The site is up, but your DNS server chain may not know about it yet.

I successfully installed postgresql 9.0 and postgis 1.5.2SVN today, and 
it's now chugging along on an import.


--
Lennard

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


[josm-dev] Problem compiling mod_tile with mapnik2

2010-09-20 Thread Maria Arias de Reyna
I'm trying to compile mod_tile with mapnik2, but I cannot make it
work. I'm using revision r2199 of mapnik2 and revision r23108 of
mod_tile. I have made the changes on MakeFile described in
http://trac.mapnik.org/wiki/Mapnik2#mod_tilerenderd.

I'm using Ubuntu:
$ uname -a
Linux machine-name 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34
UTC 2010 x86_64 GNU/Linux

The make command shows this:

$ make
/usr/share/apr-1.0/build/libtool --silent --mode=compile
x86_64-linux-gnu-gcc -I.  -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl
-I/usr/include/xmltok -pthread-g -O2 -Wall  -DLINUX=2
-D_GNU_SOURCE -D_REENTRANT -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0   -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0 -prefer-pic -c mod_tile.c  touch mod_tile.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile
x86_64-linux-gnu-gcc -I.  -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl
-I/usr/include/xmltok -pthread-g -O2 -Wall  -DLINUX=2
-D_GNU_SOURCE -D_REENTRANT -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0   -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0 -prefer-pic -c dir_utils.c  touch
dir_utils.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile
x86_64-linux-gnu-gcc -I.  -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl
-I/usr/include/xmltok -pthread-g -O2 -Wall  -DLINUX=2
-D_GNU_SOURCE -D_REENTRANT -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0   -I/usr/include/apache2 -I.
-I/usr/include/apr-1.0 -prefer-pic -c store.c  touch store.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link
x86_64-linux-gnu-gcc -I.  -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl
-I/usr/include/xmltok -pthread -Wl,--as-needed -Wl,-z,relro-o
mod_tile.la -rpath /usr/lib/apache2/modules -module -avoid-version
mod_tile.lo dir_utils.lo store.lo
make -C iniparser3.0b libiniparser.a
make[1]: se ingresa al directorio `/opt/mod_tile/iniparser3.0b'
compiling src/iniparser.c ...
compiling src/dictionary.c ...
a - src/iniparser.o
a - src/dictionary.o
make[1]: se sale del directorio `/opt/mod_tile/iniparser3.0b'
g++ -o renderd store.c daemon.c gen_tile.cpp dir_utils.c protocol.h
render_config.h dir_utils.h store.h iniparser3.0b/libiniparser.a -g
-L/usr/local/lib64 -lmapnik2 -Liniparser3.0b -liniparser -g -O2 -Wall
-I/usr/local/include/mapnik -I/usr/local/include/
-I/usr/include/freetype2
daemon.c: In function âint main(int, char**)â:
daemon.c:982: warning: deprecated conversion from string constant to âchar*â
gen_tile.cpp: In function âvoid* render_thread(void*)â:
gen_tile.cpp:547: error: âgettimeofdayâ was not declared in this scope
make: *** [renderd] Error 1

Do you have any idea of why is this happening?

-- 
María Arias de Reyna Domínguez
Área de Operaciones
Emergya Consultoría
Tfno: +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73
www.emergya.es

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


Re: [josm-dev] Problem compiling mod_tile with mapnik2

2010-09-20 Thread David Paleino
On Mon, 20 Sep 2010 09:33:54 +0200, Maria Arias de Reyna wrote:

 [..]
 gen_tile.cpp: In function âvoid* render_thread(void*)â:
 gen_tile.cpp:547: error: âgettimeofdayâ was not declared in this scope
 make: *** [renderd] Error 1

Open that file, and add #include sys/time.h with the other includes at the
beginning.

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Problem compiling mod_tile with mapnik2

2010-09-20 Thread Maria Arias de Reyna
El Monday 20 September 2010, David Paleino escribió:
 Open that file, and add #include sys/time.h with the other includes at
 the beginning.

Thanks, it worked :)

-- 
María Arias de Reyna Domínguez
Área de Operaciones

Emergya Consultoría 
Tfno: +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73 
www.emergya.es 

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