Re: [OSM-talk] recommendation for JSON to CSV converter

2024-03-01 Thread Florian Lohoff
On Fri, Mar 01, 2024 at 03:23:29PM +0100, Martin Trautmann wrote: > On 01.03.24 14:52, Florian Lohoff wrote: > > > For obvious reasons Essen cant have 2.5 or even 4.4 Mio addresses. > > Yeah, I had noticed by now that this is Essen only. I don't find any > json info for all of NRW, from this

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-03-01 Thread Martin Trautmann via talk
On 01.03.24 14:52, Florian Lohoff wrote: > For obvious reasons Essen cant have 2.5 or even 4.4 Mio addresses. Yeah, I had noticed by now that this is Essen only. I don't find any json info for all of NRW, from this year. ___ talk mailing list

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-03-01 Thread Florian Lohoff
On Thu, Feb 29, 2024 at 10:17:28PM +0100, Martin Trautmann wrote: > On 28.02.24 22:58, Florian Lohoff wrote: > > > For these kind of simple conversions there is no need for programming. > > > > Its a GeoJSON Featurecollection. So a list of GeoJSON features, > > each of them having a "properties"

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-29 Thread Martin Trautmann via talk
On 28.02.24 22:58, Florian Lohoff wrote: > For these kind of simple conversions there is no need for programming. > > Its a GeoJSON Featurecollection. So a list of GeoJSON features, > each of them having a "properties" objects with all the attributes > > jq -r ".features[] | >

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Florian Lohoff
Hola, On Wed, Feb 28, 2024 at 04:16:24PM +0100, Martin Trautmann via talk wrote: > Is there any JSON converter that you would recommend? > > There are plenty of web services, but none of those worked for me, on > > (70

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Dave F via talk
You don't say what you want to output to but I use the command line program ogr2ogr (you will need to install all GDAL, I believe - https://gdal.org/index.html). Example to convert to CSV: ogr2ogr.exe -f csv output.csv input.geojson -lco GEOMETRY=AS_XY You may have to adjust the GEOMETRY

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Martin Trautmann via talk
On 28.02.24 17:53, Colin Smale wrote: > Have you looked at "jq"? I had. I got the feeling that I would have to understand the full josm structure first, while other approaches would learn about the data structure and delimiters on their own. ___ talk

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Colin Smale
> On 28/02/2024 17:30 CET Martin Trautmann via talk > wrote: > > > On 28.02.24 16:43, Mike Thompson wrote: > > Hi Martin, > > > > Could you provide some more detail on what specifically you are > > attempting to achieve? Converting a geojson file of points to CSV is > > pretty easy, but once

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Martin Trautmann via talk
On 28.02.24 16:43, Mike Thompson wrote: > Hi Martin, > > Could you provide some more detail on what specifically you are > attempting to achieve? Converting a geojson file of points to CSV is > pretty easy, but once you get to linestrings, multi-linestrings, > polygons, etc. it gets difficult

Re: [OSM-talk] recommendation for JSON to CSV converter

2024-02-28 Thread Mike Thompson
Hi Martin, Could you provide some more detail on what specifically you are attempting to achieve? Converting a geojson file of points to CSV is pretty easy, but once you get to linestrings, multi-linestrings, polygons, etc. it gets difficult because in those cases the geometry objects have a