Hi,
I have been working on a GIS for several years. I was using a ready-made
framework for it. The learning curve of a framework is often seen as a
downside, but imho if you actually need to learn about something as
complex as GIS, the opportuninty the framework offers you to learn by
looking into existing code and trying out the examples rather is an
advantage. Without the framework i would have needed much more time to
get into GIS programming.
Unfortunately this framework was Smalltalk, so it won't be much good for
php. So I agree with Rutger that you should try out SVG. Mainly because
i think it is the eayest way to learn about the graphics technology you
will need to handle those x, y coordinates from clickable maps. I don't
think SVG is ALL you need, i think you will need to build some sort of
server side representation of those graphics and things like 'trails' in
php too. I suggest you use an object oriented domain model, like the
ones used by phpPeanuts. But to know what these models should actually,
well, MODEL, SVG is a great place to start.
One other tip: The new version of MySQL has GIS extensions. These will
also help you with the server side model, and at the same time they may
boost the performance of your server side code dramatically.
If you need more advice or help, please let me know.
Greetings, succes,
Henk Verhoeven,
www.phpPeanuts.org.
BTW, for the same reason i think the learning curve of phpPeanuts is
actually an advantage if you want to learn somthing as complex as OOP ;-)
Rutger Claes wrote:[color=blue]
> Craig Storey wrote:
>
>[color=green]
>>I have a little php application to store day hiking trips and to keep a
>>running total of their yearly trips for a few users. Currently they
>>select their hiking routes using drop lists or checkboxes containing the
>>names and numbers of the trails. If the route is simple the form takes
>>1-2 minutes to fill in, if it involves lots of tiny sections it can
>>become tedious to search for every trailname and may take 20 minutes.
>>Because of this they have asked for a map, rather than lists, and want
>>to open the application to the public. Hmmm..
>>
>>So I'm looking to create an application where users can select their
>>routes, by somehow selecting lines on a map, then somehow pass this to a
>>php script to process.
>>
>>Suggestions on how to do this are invited. I hope it's trivial, I fear
>>it isn't.
>>
>>Craig[/color]
>
>
> You could try to do this with SVG graphics. If you can get your maps in an
> SVG format. This also means you're visitors need an SVG plugin.
> But it would be a kick-ass solution...
>
>
http://www.carto.net/papers/svg/links/
>
http://www.webreference.com/authoring/languages/svg/
>
http://kartoweb.itc.nl/public_examples/SVG/
>
http://www.w3.org/2004/Talks/1211-Twente-
>
http://www.adobe.com/svg/community/external.html
>
> Rutger[/color]