« Return to Thread: How to identify a raster on the map?

Re: How to identify a raster on the map?

by noachis :: Rate this Message:

Reply to Author | View in Thread

Hi Richard,

I'm using Qgis in order to realise a geological map: images will be not distribuited via mapserver. So I actually have more than 200 layers.

To create a python  plugin for that could be very interesting. But I don't know python language....

Anyway, I think that the possibility to have a Qgis plugin doing this could be fundamental for those people working with a very large number of raster data (this is the case of people like me working on planetary geology)

Thank you very much

Andrea






2008/1/11, Richard Duivenvoorde < rdmailings@...>:
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




--
_____________________________

Dott. Geol. Andrea Pacifici, Ph.D.
Via della Billona 1093,
55100 Lucca
Cell. 328-09918108
E-Mail 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?

LightInTheBox - Buy quality products at wholesale price