I have a shapefile that represents all the Hydrological Basins in the world. You can download the file from here:
http://www.fao.org/geonetwork/srv/e...=Major_hydrological_basins.zip&access=private
In that file, there's the whole world divided into areas (all the Hydrological Basins in the world). I need to create a function that query the shapefile with latitude and longitude, and gets back the values of that point, that are:MAJ_BAS, MAJ_NAME and MAJ_AREA
I need to do this server side, without a GUI. To me seems simple, when I do in my QGIS I just click on a point and get back the informations I need, so I thought "there'll be a function that you'll give latitude and longitude, and the function will answer with the datas of that point". But I've been looking for 2 days and still get no solution about this problem.
I'm quite new to QGIS, so maybe I'm missing something. This is why I'm asking your help. Thanks in advice!
أكثر...
http://www.fao.org/geonetwork/srv/e...=Major_hydrological_basins.zip&access=private
In that file, there's the whole world divided into areas (all the Hydrological Basins in the world). I need to create a function that query the shapefile with latitude and longitude, and gets back the values of that point, that are:MAJ_BAS, MAJ_NAME and MAJ_AREA
I need to do this server side, without a GUI. To me seems simple, when I do in my QGIS I just click on a point and get back the informations I need, so I thought "there'll be a function that you'll give latitude and longitude, and the function will answer with the datas of that point". But I've been looking for 2 days and still get no solution about this problem.
I'm quite new to QGIS, so maybe I'm missing something. This is why I'm asking your help. Thanks in advice!
أكثر...