[mapserver-users] Mapserver, OpenStreetMap and hstore - great new possibilities

2010-05-20 Thread Rahkonen Jukka
Hi, For those playing with OpenStreetMap data: it is worth knowing that it is now possible to import all the tags that exists in the OpenStreetMap data into PostGIS. New version of osm2pgsql has an option to import just everything into PosgreSQL column of type hstore. I do not know what it is

[mapserver-users] Strange code in maporaclespatial.c

2010-05-20 Thread umn-ms
Hi When I compiled mapserver 5.6.3 I got a warning, that a variable may be used without initialization. maporaclespatial.c; line 1322/1331: Code looks indeed a bit strange ... static void osPointCluster(msOracleSpatialHandler *hand, shapeObj *shape, SDOGeometryObj *obj, int start, int

Re: [mapserver-users] Mapserver, OpenStreetMap and hstore - great new possibilities

2010-05-20 Thread Milo van der Linden
This was already possible when setting the --slim option whilst using osm2pgsql. Only issue is that when doing so, you get columns that contain arrays with key/value pairs. But when installing the arrayint postgresql extension it is not to hard to write a couple of functions for the database

Re: [mapserver-users] Testing KML support

2010-05-20 Thread Yewondwossen Assefa
Hi Peter, I have updated the RFC after some cleanup in the code (http://svn.osgeo.org/mapserver/branches/branch-5-6/docs/en/development/rfc/ms-rfc-58.txt). Note also that there is a componenent Output-KML in MapServer trac (http://trac.osgeo.org/mapserver/), for reporting issues. best

Re: [mapserver-users] Mapserver, OpenStreetMap and hstore - great new possibilities

2010-05-20 Thread Rahkonen Jukka
Hi, Do you mean the tags colums in tables osm_nodes and osm_rels? They do not look quite the same for me. I have thought that slim mode also imports only those tags which are included in the default.style file while the new -k option imports them all automatically. But even if I am wrong you

[mapserver-users] Postgis query bug?

2010-05-20 Thread pcreso
Hi, I can't get an error with teh sql via psql, but only mapserver, so I'll ask here. I'm using a mapfile with a DATA statement similar to the ones at: http://mapserver.org/input/vector/postgis.html The data statement is below... The random() field, combined with order by limit is to