map a search: best strategy?

Hal Mueller hal at MOBILEGEOGRAPHICS.COM
Tue Dec 5 14:19:29 EST 2006


Look at the first few Google results for "symbolic link".

If your search results for a particular case are stored in 
resultXYZZY12345.dbf, and your master shapefile with all possible 
geocoded locations are in master.shp/shx/qix, you would do this:

ln -s master.shp resultXYZZY12345.shp
ln -s master.shx resultXYZZY12345.shx
ln -s master.qix resultXYZZY12345.qix

and then you could use resultXYZZY12345 as any other shapefile in Mapserver.

You're really at the point where you need to just dig in and try some 
of these things.  Run some test cases, benchmark them, see what works 
fastest for your own situation.

Please report back to the group--someone else may have a similar 
question someday.

H

At 12:10 PM -0500 12/5/06, John Smith wrote:
>On 12/4/06, Hal Mueller 
><<mailto:hal at mobilegeographics.com>hal at mobilegeographics.com> wrote:
>
>There's no real notion of a JOIN in Shapefiles.  You have to copy the
>geometry files and generate a new .DBF file.  A cheaper way to do
>that, though, is to use a symbolic link instead of a completely new
>copy, for each of the geometry files.
>
>
>i searched the website- didn't get anywhere with symbolic link. 
>anyway what's the fastest join- csv? dbf? xml? ? if xml i'd use the 
>gmaps way- 1 search database 2 results as xml 3 read xml with ajax 
>and 4 show points.
>
>about wms- since wms can filter data, maybe i'd set one up that 
>filters based on the results? big maybe ;)
>
>jzs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061205/c562e651/attachment.html


More information about the mapserver-users mailing list