" ww.type between $WTS and $WTY and w.wid=ww.wid and n.name like $NAME "
" and ww.lat between $LAT-$RANGE and $LAT+$RANGE "
" and ww.lon between $LON-$RANGE and $LON+$RANGE "
- " order by d",
+ " order by name limit 100",
-1, &sql.select_way_name_search, NULL)!=SQLITE_OK)
return FALSE;
gchar *ltext=NULL;
guint rows=0;
gchar tmp1[16], tmp2[16];
-gdouble range=1;
+gdouble range=6;
g_printf("Way Search: [%s] around %.6f %.6f\n", text, lat, lon);