geoinquietosvlc / antipodes-map

Repository with the data and code for the antipodes school map
https://geoinquietosvlc.github.io/antipodes-map/
Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

Add a search form #29

Closed vehrka closed 9 years ago

vehrka commented 9 years ago

For the Spanish and NZ Schools

Have an idea, we can take the info as a Query from cartodb, make the form, and get the ID of the school, then request again to cartodb for the coords for that ID and autozoom there

jsanz commented 9 years ago

Yes that's what I developed. When the user starts writing on the form SQL are run to retrieve the first 10 results that are "ilike" the query. When the user selects one and press the "Go" button a new query to get the coordinates for that school is performed and the map is then moved

vehrka commented 9 years ago

grrr... May be we should add the Name of the Municipality to the Name of the School, it seems there are too many schools called "San Agustín" in Spain and it is impossible to get the right one :(

jsanz commented 9 years ago

El 01/12/14 a las 08:36, Pedro-Juan Ferrer escribió:

grrr... May be we should add the Name of the Municipality to the Name of the School, it seems there are too many schools called "San Agustín" in Spain and it is impossible to get the right one :(

Yeah, I realized that also. If we could add the name of the municipality it would help a lot :+1: