Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is difficult to do because of a lack of readily available data accessible from Android, but I think your best bet is to use a crowd-sourced dataset such as <a href="http://www.openstreetmap.org/" rel="nofollow noreferrer">OpenStreetMap (OSM)</a>.</p> <p>You'd need to set up your own spatial database (e.g., <a href="http://postgis.refractions.net/" rel="nofollow noreferrer">PostGIS</a>) and import OSM data into the database.</p> <p>OSM standardizes multiple vegetation label types, including:</p> <ul> <li>natural=bare_rock</li> <li>natural=fell</li> <li>natural=glacier</li> <li>landuse=grass</li> <li>natural=grassland</li> <li>natural=heath</li> <li>natural=mud</li> <li>natural=screen</li> <li>natural=sand</li> <li>natural=scrub</li> <li>natural=tree</li> <li>natural=wetland </li> <li>natural=wood.</li> </ul> <p>See the <a href="http://wiki.openstreetmap.org/wiki/Natural#Land_cover" rel="nofollow noreferrer">OSM - Natural - Land Cover wiki page</a> for more detail on OSM labels of vegetation.</p> <p>Then, you'd create a server-side API (hosted in a web server such as <a href="http://tomcat.apache.org/download-60.cgi" rel="nofollow noreferrer">Tomcat</a> or <a href="http://glassfish.java.net/" rel="nofollow noreferrer">Glassfish</a>) to receive the mobile phone's current location, do a <a href="https://gis.stackexchange.com/questions/16414/point-in-polygon-algorithm-for-multiple-polygons">spatial query via PostGIS</a> to determine the polygon and natural land cover type (i.e., vegetation) the phone's location lies within, and return the vegetation type to the phone.</p> <p>Another option is to use ESRI shape files instead of OSM data, and load this data into the PostGIS database.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload