[GeoNode-users] Calculate area covered by maps

Simone Dalmasso simone.dalmasso at gmail.com
Mon Feb 6 22:24:47 PST 2017


Hi,

I guess you can do this via python by querying the Map model (every map has
coordinates). Looping over each map you could get the min_x, min_y, max_x
and max_y. You can do this also directly at the db level on the table
maps_map.

2017-02-06 22:00 GMT+01:00 Melvin David Ramos Macías <
melvin.ramos1991 at gmail.com>:

> Hello GeoNode community,
>
> I was wondering if there is any way in which I can calculate the area
> covered by all the maps are created in the system.
>
> The trick here is to calculate taking into account that they might
> overlap, so it won't add the same area twice (or more).
>
> Has anyone tried this?
>
> Thanks in advance,
>
> MR
>
> --
>
>
> [image: --]
>
> Melvin David Ramos Macías
> [image: https://]about.me/melvinramos
>
> <https://about.me/melvinramos?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
>
>
>
>   <https://mailtrack.io/>Enviado con Mailtrack
> <https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170207/9c5ecbf9/attachment.html>


More information about the geonode-users mailing list