Great to see a users list.  PMapper is a wonderful
collection/organization of Mapserver Application files.  Our company has
used it to extend service to our clients in enabling them to host
limited data on our server via PMapper and Mapserver. Our company's
applications can be visited at the following link:

 

http://www.wthengineering.com/GIS/web_gis_demos.htm

 

One item we would like to be able to perform within PMapper would be to
enhance the search capabilities to allow searching of multiple
fields...especially applicable to address location for example.  It
would be nice to be able to enter a Street Number, then a Street or Road
Name, and possibly a City or Zipcode...then have the application map
that location.  

 

Currently we limit our addressing searches to the House Number...get
multiple choices that the user has to then decide which gets mapped or
returned.  This works OK on a county basis...but is somewhat limiting
when you desire to use regional are large databases...(for example...in
the US-its seems that every town/city has a Main Street).  Our company
does addressing for some clients...but we always do pinpoint
addressing...aligned with Ortho Photography.  We try not to utilize
range addressing datasets when it is possible.  Those tend to create
problems and errors when used with Public Safety applications.

 

Again...our hat is off to Armin for the tremendous work he has done.  I
can't say enough about it.

 

Tony Gray, CPG

WTH Technology

(812) 683-5713

Cell (812) 631-3096

email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.faunalia.com/pipermail/pmapper-users/attachments/20050923/5d5cfcdc/attachment.html
From [EMAIL PROTECTED]  Sat Sep 24 01:39:13 2005
From: [EMAIL PROTECTED] (Armin Burger)
Date: Sat Sep 24 01:39:49 2005
Subject: [Pmapper-users] Great to see a PMapper -Users Archieve
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Tony,

the attribute search for multiple fields should already work. You just 
have to define more fields to be included in the search. Eg in search.phtml

case "location":
  echo("<td>". _("Location") ." </td> \n");
  echo("<td><INPUT TYPE=text NAME=\"STR_NO\" SIZE=15></td> \n");
  echo("<td><INPUT TYPE=text NAME=\"#STR_NAME\" SIZE=15></td> \n");
  echo("<td><INPUT TYPE=text NAME=\"ZIP_CODE\" SIZE=15></td> \n");
  echo("<td><INPUT TYPE=hidden NAME=\"qlayer\" VALUE=\"locations\"></td> 
\n");
  break;

I once included a modification in the version 1.0.6 that slipped through 
somehow in the later versions. It allowed empty text inputs. In the 
current version 1.0.8 you will not find anything if one text input 
remains empty. So you just have to modify in query.php at line 644 
(Postgis layers) and line 663 the code from

$qStr .= $varValStr . " AND ";

to

if (strlen(trim($val)) > 0) {
    $qStr .= $varValStr . " AND ";
}

I will add that modification to the next minor release.


If you set the
autoZoom = search
in the config.ini then you should also cause the map to zoom to the 
found  features.


Armin


Tony Gray wrote:
> Great to see a users list.  PMapper is a wonderful 
> collection/organization of Mapserver Application files.  Our company has 
> used it to extend service to our clients in enabling them to host 
> limited data on our server via PMapper and Mapserver. Our company?s 
> applications can be visited at the following link:
> 
>  
> 
> http://www.wthengineering.com/GIS/web_gis_demos.htm
> 
>  
> 
> One item we would like to be able to perform within PMapper would be to 
> enhance the search capabilities to allow searching of multiple 
> fields?especially applicable to address location for example.  It would 
> be nice to be able to enter a Street Number, then a Street or Road Name, 
> and possibly a City or Zipcode?then have the application map that 
> location. 
> 
>  
> 
> Currently we limit our addressing searches to the House Number?get 
> multiple choices that the user has to then decide which gets mapped or 
> returned.  This works OK on a county basis?but is somewhat limiting when 
> you desire to use regional are large databases?(for example?in the 
> US?its seems that every town/city has a Main Street).  Our company does 
> addressing for some clients?but we always do pinpoint addressing?aligned 
> with Ortho Photography.  We try not to utilize range addressing datasets 
> when it is possible.  Those tend to create problems and errors when used 
> with Public Safety applications.
> 
>  
> 
> *_Again?our hat is off to Armin for the tremendous work he has done.  I 
> can?t say enough about it._*
> 
>  
> 
> **Tony Gray****, CPG**
> 
> **WTH Technology**
> 
> //(812) 683-5713//
> 
> //Cell (812) 631-3096//
> 
> email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pmapper-users mailing list
> [EMAIL PROTECTED]
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users

Reply via email to