Here is the first report of my GSoC project - SOS tools in GRASS GIS. You can see my project at wiki at [1]
What did you get done this week?
I had a problem with xml parser in OWSLib for SOS observations, because it works completely different way than we expected. After few conversations I have decided to work with raw output and write parser by myself.
Created pull request solving [2] for OWSLib.
Created converter between text/xml;subtype=“om/1.0.0” output from OWSLib and geoJSON for points
Imported converted output from istSOS into GRASS GIS
Created a shuck of v.in.sos module
What do you plan on doing next week?
Continue in improving converters (I would like to support other than point-geometries, but I don’t have any other data on server yet)
Hi everyone!
* I had a problem with xml parser in OWSLib for SOS observations, because it
works completely different way than we expected. After few conversations I
have decided to work with raw output and write parser by myself.
I have no idea how much of XML parsing is needed, but implementing an
own XML parser never sounds a good idea unless it is a quick hack.
Working with XML in a correct way is PITA, unless your parser is
really good.
Just my 0.02, as I haven't seen teh codez.
Hi everyone!
* I had a problem with xml parser in OWSLib for SOS observations, because it
works completely different way than we expected. After few conversations I
have decided to work with raw output and write parser by myself.
I have no idea how much of XML parsing is needed, but implementing an
own XML parser never sounds a good idea unless it is a quick hack.
Working with XML in a correct way is PITA, unless your parser is
really good.
Just my 0.02, as I haven't seen teh codez.
they are not much lines of code, however I think this code should be
added to OWSLib, Ondrej do you think is it possible?
I have no idea how much of XML parsing is needed, but implementing an
own XML parser never sounds a good idea unless it is a quick hack.
Working with XML in a correct way is PITA, unless your parser is
really good.
Just my 0.02, as I haven’t seen teh codez.
As it’s specific xml for SOS and not OSM xml, the converter is needed to convert the SOS output into something readable for GRASS GIS (to import data as a layer). And as Luca says, the conversion between this xml () and GeoJSON was just about 50 lines of code.