[UMN_MAPSERVER-USERS] Querying / Selecting Lines

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Tue Oct 26 06:00:04 PDT 2004


Have you tried the nquery mode with Mapserver?  I use CGI Mapserver and
PostGIS data and the nquery mode works fine with a TOLERANCE of 3 pixels in
the mapfile...

Skweda O'Bomsawin


-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Eric Katherman
Envoyé : 25 octobre 2004 17:02
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] Querying / Selecting Lines

What would some of you recommend for selecting or querying lines that I have
stored in PostgreSQL?  I can come up with some creative "point to point
guessing" solutions for horizontal and vertical lines but the difficulty
comes with angled lines.  The tolerance becomes an issue too because the
users rarely would actually select the exact point between two line points.

E.g.

myline = -----
user selected point = *
line point = O

(100 200) O----------------------*-------------O (200 200)

Are there some functions built into PostGIS/PostgreSQL?

Eric

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 2004-10-19
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 2004-10-19
 



More information about the MapServer-users mailing list