Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Perl Street Map Server

by awohld (Hermit)
on Nov 24, 2004 at 19:47 UTC ( [id://410232]=perlquestion: print w/replies, xml ) Need Help??

awohld has asked for the wisdom of the Perl Monks concerning the following question:

I developed a speed trap web application where people can register speed traps online and other people can view them, now I need them to be able to type in a city/state and then pan and zoom to a location which they will click where the speed trap is located the lat/long is sent to the server so it can be saved with the speedtrap.

I'd like use Tiger geo files to do this but I want to know if anyone knows of any good map servers that work with Perl that can do this? Or any other ways to implement this. Any suggestions?

Replies are listed 'Best First'.
Re: Perl Street Map Server
by tall_man (Parson) on Nov 24, 2004 at 21:51 UTC
    This recent thread: Geographical Map has several leads for geographic applications in perl. The MapServer reference might be the most useful for you.
Re: Perl Street Map Server
by eric256 (Parson) on Nov 24, 2004 at 23:36 UTC

    I've always wondered about these speed trap things. I think in some ways this is a moral issue. It would be like a website detailing the police routes and when they are in certain places, or when certain buildings security gaurds are gone. It just has a slimey feeling to me. Is there something legitimate here, because normaly help is not provided here for illegal or immoral projects. I'm not saying this is either, or that you shouldn't get help with it, mostly I'm just curious why you think this is a good project and what makes it okay?


    ___________
    Eric Hodges
      Way Off-topic: Where i live, speed traps are SO common that everybody gets a slimey feeling about the police, for setting up the speed traps, and their boss, a Mr. Koos Spee, for setting the quota. The police force must write at least so-and-so many speed tickets a year (10.6 million on a 16 million population).

      Not very usefull information but i felt the need to write it down here ;-)
      Still way off topic: Speeding is just wrong. Many people tend to do it, without any regards or understanding of the problems. Higher gasoline prices, worse accidents, more dangerous streets, etc. Kind of like people who write code without thinking. Now,a good use for a map server might be locating businesses in your local area, setting up instructions to get to a party for your children, and many other things.
      Still wildly offtopic ,)
      I dunno how it is in the US, but radio shows here have free phone-in lines, where you can report where the speed traps have been set up. Presumably condoned by the authorities.

      My take on this is that the whole point of the exercise is to get people to slow down. People who KNOW where a speed trap is, will slow down for it. So, purpose achieved! This makes it a good project to me.

      C.

        Yeah but now the more irresponsible ones will speed in areas where they know they won't be caught. I don't think it's a legal issue, but an ethics issue; I would feel pretty uneasy doing this. Although I always wanted to implement a mapquest-like image generator - I went as far as downloading GIS files! :) Anyway, sorry for OT.

      The police want you to drive slower and have less accidents. If knowing where the spped traps aer makes you drive slower there, then they are happy with it. This isn't a new project, and many police representatives have been interviewed about it.

      The effect is to make people obey the law when they wouldn't, not make them break the law. There is nothing to feel slimey about.

      --
      brian d foy <bdfoy@cpan.org>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://410232]
Approved by castaway
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found