« Return to Thread: How to identify a raster on the map?
Hi Andrea,
how did you load these rasters?
Every raster in a layer (so you have actually 200 layers)?
Or did you generate a tileindex file using gdaltindex and are you
serving the rasterimages using mapserver?
If the first: it's fun to write a simple python plugin for that, if
needed I can give you some help (thinking about: get mouseXY, walk
through all layers and check if you are within the bbox of current
layer, spit the layername or some other attribute name to std-out (or
more fancy: show a dialog).)
If the second: as Tim told you: add the indexfile as layer. You can also
use that indexfile to serve the rasters via Mapserver then.
Building the indexfile and just loading that in Qgis is probably the
fastest way.
Grtz Richard Duivenvoorde
andrea pacifici wrote:>
> Hi,
> I have a Qgis-GRASS GIS project containing more than 200 rasters: it is
> a GIS project about a portion of Mars (yes... the planet!).
> Often, I need to identify the name of one of such rasters just by
> clicking on it on the map.
> Which is the best way to do this with Qgis? The "Identify" button give
> information on a raster only if the raster it is already selected.
> There is a plugin to do this?
>
> Otherwise, I think the only way is to build a vector layer representing
> raster footprints, and interrogate it.
>
> Thanks
>
> Andrea
> --
> _____________________________
>
> Dott. Geol. Andrea Pacifici, Ph.D.
> Via della Billona 1093,
> 55100 Lucca, Italy
> Cell. +39328-09918108
> E-Mail pacifici@... <mailto:pacifici@...>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@...
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
« Return to Thread: How to identify a raster on the map?
| Free Forum Powered by Nabble | Forum Help |