pesekon2 / GRASS-GIS-SOS-tools

My Google Summer of Code 2017 project. This is just development part. Intended GRASS GIS modules and final code will be at https://svn.osgeo.org/grass/grass-addons/
GNU General Public License v2.0
3 stars 1 forks source link

get_observation returns only one coordinates #24

Closed pesekon2 closed 7 years ago

pesekon2 commented 7 years ago

Command [1] returns the same coordinates for each procedure even if that procedures had originally different coordinates sometimes. Seems like a bug in OWSLib.

[1] https://github.com/pesekon2/GRASS-GIS-SOS-tools/blob/master/v.in.sos/v.in.sos.py#L180

pesekon2 commented 7 years ago

I have found why. It happens when those points have the same name of Location in metadata, because get_observation request takes the coordinates from and not from . Mazbe it isn't an issue and it's a purpose, but it still seems like an issue to me (for example, there can be location Paris, but the sensors can be on different places inside Paris). @lucadelu should I write to istSOS authors, or to OWSLib?

lucadelu commented 7 years ago

@pesekon2 sorry for the delay, I have no idea is it is a feature or a bug, neither if is coming from istSOS or OWSLib, did you try with a different server?