Re: [gdal-dev] How to replace an osm key?

2016-11-14 Thread Rahkonen Jukka (MML)
: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>; gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Aihe: Re: VS: [gdal-dev] How to replace an osm key? Thank you Jukka, How should I edit the command you gave me: "C:\gdal

Re: [gdal-dev] How to replace an osm key?

2016-11-14 Thread Rahkonen Jukka (MML)
Start with easy test and more attributes with odd names one by one. -Jukka- Lähettäjä: Djordje Spasic<mailto:issworld2...@yahoo.com> Lähetetty: ‎12.‎11.‎2016 3:37 Vastaanottaja: Rahkonen Jukka (MML)<mailto:jukka.rahko...@maanmittauslaitos.fi>; gdal-dev@

Re: [gdal-dev] How to replace an osm key?

2016-11-12 Thread Djordje Spasic
and they may require escaping but I do not remember with which character. Start with easy test and more attributes with odd names one by one. -Jukka- Lähettäjä:Djordje Spasic Lähetetty:‎12.‎11.‎2016 3:37 Vastaanottaja:Rahkonen Jukka (MML);gdal-dev@lists.osgeo.org Aihe:Re: VS: [gdal-dev] How to repla

Re: [gdal-dev] How to replace an osm key?

2016-11-12 Thread Rahkonen Jukka (MML)
: Rahkonen Jukka (MML)<mailto:jukka.rahko...@maanmittauslaitos.fi>; gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Aihe: Re: VS: [gdal-dev] How to replace an osm key? Hi Jukka, I have just tried to rename the fields with SQL. Here is the syntax: "C:\gdal\ogr2ogr.exe&

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Djordje Spasic
That is plain SQL, you will find tutorials from the web. -Jukka- Lähettäjä:Djordje Spasic Lähetetty:‎11.‎11.‎2016 19:10 Vastaanottaja:Rahkonen Jukka (MML);gdal-dev@lists.osgeo.org Aihe:Re: [gdal-dev] How to replace an osm key? Thank you Jukka. I understand now why I need to repeat the same synta

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Djordje Spasic
uot;bar" as well you must do "select geometry,foo,bar from your_table". That is plain SQL, you will find tutorials from the web. -Jukka- Lähettäjä:Djordje Spasic Lähetetty:‎11.‎11.‎2016 19:10 Vastaanottaja:Rahkonen Jukka (MML);gdal-dev@lists.osgeo.org Aihe:Re: [gdal-dev] How to repl

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Rahkonen Jukka (MML)
Lähettäjä: Djordje Spasic<mailto:issworld2...@yahoo.com> Lähetetty: ‎11.‎11.‎2016 19:10 Vastaanottaja: Rahkonen Jukka (MML)<mailto:jukka.rahko...@maanmittauslaitos.fi>; gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Aihe: Re: [gdal-dev] How to replace an osm key? Thank y

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Djordje Spasic
l answer that could be useful for all tags and layers in OSM data.   -Jukka Rahkonen-   Lähettäjä: Djordje Spasic [mailto:issworld2...@yahoo.com] Lähetetty: 11. marraskuuta 2016 16:38 Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi>; gdal-dev@lists.osgeo.org Aihe: Re:

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Rahkonen Jukka (MML)
) <jukka.rahko...@maanmittauslaitos.fi>; gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] How to replace an osm key? Thank you for the reply Jukka. > and you must run the query separately for all the layers ( points, lines, > multilinestrings, multipolygons). What does this part mean? That I

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread Rahkonen Jukka (MML)
from multipolygons" hamburg-latest.osm.pbf Geometry Column = GEOMETRY bldg: String (0.0) Slight drawback is that you must include all the attributes in SELECT but you can save the command into text file for reuse. -Jukka Rahkonen- -- View this message in context: http://o

Re: [gdal-dev] How to replace an osm key?

2016-11-11 Thread jratike80
u can save the command into text file for reuse. -Jukka Rahkonen- -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-How-to-replace-an-osm-key-tp5295339p5295342.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __