Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thinking of your problem I could find out three directions to which you could aim your search next <em>(this is not a hand-by-hand guide but rather a out-of-the-box brain opener for a stucked situation you have faced)</em>:</p> <p><strong>1)</strong> Usage of Java built in structures. Yes, indeed, a list is the worst case of a searching method. A <code>Map</code>, as the name suggests, is far more convenient for maps. It is not only the name, but the indexing to a <code>Map</code> is signifigantly less time consuming compared to a <code>List</code>. You can imagine your map as a cube, where you have to handle about half of the dots inside it, if you use <code>List</code> and probably only a narrow layer of it when you search by indexing a Map. There is a magnitude of difference. So, my answer here: <code>Map</code> is a key word towards the correct direction (<em>assuming you want to do it in this way after reading on my answer)</em>.</p> <p><strong>2)</strong> Usage of a Map Server solution. This is probably too far from your approach, but entire frameworks are made for solving your type of question. An example is <a href="http://geoserver.org/" rel="nofollow">GeoServer</a>. It has a ready made solution for the entire problem. It is a stable solution for the great big problem possibly in your hand: showing a map to a user from a source.</p> <p><strong>3)</strong> Sticking to the GDAL framework you were using, you could select slightly different py-file, like <a href="http://www.gdal.org/gdal_proximity.html" rel="nofollow">gdal_proximity.py</a> and <strong>- wow! -</strong> you have a searching possibility in your hand! This particular one searches by a center point and a distance, but will do the stuff you need =)</p> <p>There is a starting point, how I would make it. Could this serve for something?</p>
    singulars
    1. This table or related slice is empty.
    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. This table or related slice is empty.
    1. This table or related slice is empty.
    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