Jump to content


Photo

PHP and GIS software


  • Please log in to reply
3 replies to this topic

#1 garry27

garry27
  • Members
  • PipPipPip
  • Advanced Member
  • 161 posts

Posted 28 October 2006 - 06:13 AM

If anyone has any experience or knowledge of commercial GIS mapping solutions for websites and how they integrate with PHP, please can you answer the questions below. I would be ever grateful and you would be helping me with my final year undergraduate project.


I've read that some providers communicate in XML, do you know of any examples on the web (access to code xml document trees etc.)?


How do GIS software providers provide the map to the client and in what format is it?


What information does the client need to send in order for the provider to process a request for a map?

What information does the provider need to send back to the client in order to enable them to plot objects on the map they have recieved?


Will the client need specialised software in order to plot real co-ordinates on the map (for example if they wanted to plot the location of a pub using real geographical co-ordinates)?


If I were to use the PHP's longitude and latitude co-orrdinate functions to plot the objects on the map at the client end, would I be able to do this with a street level map? If it can, then how?






#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 28 October 2006 - 06:16 AM

There is in fact an article on this ver site. Try here.

#3 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 28 October 2006 - 08:29 AM

Have you looked at

http://en.wikipedia....iki/Google_Maps
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#4 garry27

garry27
  • Members
  • PipPipPip
  • Advanced Member
  • 161 posts

Posted 29 October 2006 - 03:34 AM

thanks for the help guys.

i'm now using google maps api to build a prototype web app and its pretty comprehensive so i won't need answers to my questions .

for the time being i'm using an alternative site (http://gaze.mysociety.org) for the search function on my prototype app which you can query for geocode by placename. they says that you must use "HTTP GETs" and make the request directly via url. would using  HttpMessage::getBody work for recieving messages in csv format?

i'm not too sure how i should make a request. i was thinking of writing a php function which would take the location from an input box and proccess the request and results from the response locally. can this work during runtime without affecting the browser?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users