I don't know if it is only relevant to Allegheny County or if it is more universal, but a friend asked me to write a parcel id (parcel/block/lot) parser to help him out in his real estate searches. It was kind of a fun project (3 hours) and it was neat to see how well it worked out in the end.
It takes stuff on the right, and turns it into the stuff on the left:
0318-C-00080-0000-00 <= 318 C 080
0387-S-00002-0000-00 <= 387-S-2 387-M-148
0160-K-00013-0000-00 <= 0160-K-00013-0000-00
0124-P-00095-000A-00 <= 0124-p-00095-000a-00
1213-F-00377-0000-00 <= 1213F00377
0180-B-00041-0000-00 <= 0180-B-00041-0000-00
0495-F-00201-0000-00 <= Lot & Block 495-F-201
0009-S-00305-0000-00 <= 9-S-305
0309-D-00100-0000-00 <= 0309D00100000000
Code follows below: (More)
Posted by
Jon Daley on
March 17, 2008, 10:13 pm
| Read 4966 times
|
Comments
(2)
Category
Programming:
[
first]
[
previous]
[
next]
[
newest]