Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-16 Thread Paul Meems
I finally finished converting the OSM pbf-file to GeoServer layers. This is what I did. Downloaded the development version of GDAL. It used to be v2.0, but I think it is now renamed to v1.10 Alter osmconf.ini (it is in your gdal-data folder). This is my osmconf.ini: ***

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-14 Thread Paul Meems
I managed to get the OSM-lines in GeoServer using the FlorentDotMe SLD files. I'm now working on the multilines, polygons and point. When I'm done I'll report my steps here. Thanks for all your help. -- Paul 2012/11/13 Ákos Maróy > On 13/11/12 09:10, Paul Meems wrote: > > As Jukka says I'm ex

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-13 Thread Ákos Maróy
On 13/11/12 09:10, Paul Meems wrote: > As Jukka says I'm experimenting with the new OSM driver of GDAL. > I noticed it uses an ini-file to map OSM tags to property names. > http://www.gdal.org/ogr/drv_osm.html > > It seems the properties the SDL is expecting are not all in the ini file. > I will in

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-13 Thread Paul Meems
ig OSM_COMPRESS_NODES YES -progress > -gt 2 > > -Jukka Rahkonen- > > Lähettäjä: Ákos Maróy [a...@maroy.hu] > Lähetetty: 12. marraskuuta 2012 21:17 > Vastaanottaja: geoserver-users@lists.sourceforge.net > Aihe: Re: [Geoserver-users] OSM-style SLD files for GeoS

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Rahkonen Jukka
@lists.sourceforge.net Aihe: Re: [Geoserver-users] OSM-style SLD files for GeoServer On 12/11/12 20:11, Justin Deoliveira wrote: > Interesting, I was able to get the FlorentDotMe styles to work with > the default output of osm2pgsql without problem. these also worked for me. well, I 'fixed&#x

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Ákos Maróy
On 12/11/12 20:11, Justin Deoliveira wrote: > Interesting, I was able to get the FlorentDotMe styles to work with > the default output of osm2pgsql without problem. these also worked for me. well, I 'fixed' them, if you see a recent commit in these files, those are the results of my patches to what

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Justin Deoliveira
Interesting, I was able to get the FlorentDotMe styles to work with the default output of osm2pgsql without problem. I am guessing that all the format transformations, spatialite -> shapefile -> postgis have resulted in a schema change that makes them incompatible, like perhaps some field names cha

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Paul Meems
Thanks Ákos and Sjoerd for your replies. I've tried https://github.com/FlorentDotMe/OSM-Styles-for-GeoServer and I couldn't get those to work with my data. Off-list I've been mailing with Sjoerd and tried the SLD files from Osminaboxbut with the same result: I'm missing attributes in my data. It s

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Ákos Maróy
On 12/11/12 14:21, Paul Meems wrote: > I've downloaded an OpenStreetMap extract for The Netherlands from > http://download.geofabrik.de/openstreetmap/europe/ > I've imported the pbf file into SpatiaLite using GDAL. Eventually I > will import the data into my PostGIS database. > For now I export the

Re: [Geoserver-users] OSM-style SLD files for GeoServer

2012-11-12 Thread Sjoerd Brandsma
Hi Paul, The guys from Osminabox did a good job on that. You can download it from http://dev.ifs.hsr.ch/redmine/projects/osminabox/wiki We are using europe data from geofabrik with the styles from osminabox. Best regards, Sjoerd On Mon, Nov 12, 2012 at 2:21 PM, Paul Meems wrote: > I've downlo