[mapserver-users] distance search in PLSS

Puneet Kishor pkishor at GeoAnalytics.com
Mon Sep 2 02:04:11 EDT 2002


http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex12

I have posted a perl script called plsscalc.pl at the above wiki. Given 
a township, range, section, quarter-section, and a search radius in 
miles, this script will spit out all the quarter-sections within the 
search radius of the origin. Assumes regular and continuous coverage of 
PLSS.

Hope this helps someone.

pk/



On Thursday, August 29, 2002, at 09:52  AM, Puneet Kishor wrote:

> Thanks for the advice Ed. I thought of generating a table, but I really 
> want to do this with a script so I can specify the distance. Anyway... 
> all this discussion has got me thinking and I am putting together a 
> Perl script that might be able to do what I want. When I get it working 
> right I will post it here for others.
>
> Many thanks,
>
> pk/
>
>
> On Wednesday, August 28, 2002, at 11:44  AM, Ed McNierney wrote:
>
>> Puneet -
>>
>> For the quarter-mile radius case, I would simply generate a 8 x 4 x 
>> 36 = 1152-element table.  Each quarter-section has eight neighbors 
>> within a quarter-mile, in the compass directions N, NE, E, SE, S, SW, 
>> W, and NW.  Each row of the table is:
>> ..




More information about the mapserver-users mailing list