Re: [PHP] AI file and mapping with PHP

2008-05-08 Thread paragasu
On Wed, May 7, 2008 at 10:05 PM, Thijs Lensselink [EMAIL PROTECTED] wrote:

 Quoting Angelo Zanetti [EMAIL PROTECTED]:

  Hi Guys,

 We have a project where by we have a map in ai format (vector format).
 What
 we want to do is to programmatically come up with a solution that say on
 the
 map there is a restaurant at a certain location, that we can zoom into the
 map on that specific area.

 I really am not sure where to start. I guess image maps arent going to
 work
 are they?

 Should I be using the GD library for manipulating the images and doing
 zooming? Also will the ai format be supported?

 Please guys, any tips, links or help is appreciated.

 TIA

 Angelo


 I think doing something like this with GD is nearly impossible.

 But you could import the vector image in flash/flex. Draw an invisible
 grid over it to create some sort of long / lat coordinats.

 Or maybe just move to the google / yahoo map API's.


I guess GoogleMap API can do this.  But you are working on javascript ..


Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Aschwin Wesselius

Angelo Zanetti wrote:
Hi Guys, 


We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that specific area.

I really am not sure where to start. I guess image maps arent going to work
are they?

Should I be using the GD library for manipulating the images and doing
zooming? Also will the ai format be supported?
  


Hi Angelo,

I can't find anywhere what this is about? Is it a web based solution? Is 
it an desktop application? Is it console based?

--

Aschwin Wesselius

/'What you would like to be done to you, do that to the other'/


RE: [PHP] AI file and mapping with PHP

2008-05-07 Thread Angelo Zanetti
 

 

  _  

From: Aschwin Wesselius [mailto:[EMAIL PROTECTED] 
Sent: 07 May 2008 12:21
To: Angelo Zanetti
Cc: php-general@lists.php.net
Subject: Re: [PHP] AI file and mapping with PHP

 

Angelo Zanetti wrote: 

Hi Guys, 
 
We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that specific area.
 
I really am not sure where to start. I guess image maps arent going to work
are they?
 
Should I be using the GD library for manipulating the images and doing
zooming? Also will the ai format be supported?
  


Hi Angelo,

I can't find anywhere what this is about? Is it a web based solution? Is it
an desktop application? Is it console based?

Hi Aschwin, 

 

Yes it will be a web based solution. 

 

Thanks

Angelo

 



Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Paul Scott

On Wed, 2008-05-07 at 12:17 +0200, Angelo Zanetti wrote:
 We have a project where by we have a map in ai format (vector format). What
 we want to do is to programmatically come up with a solution that say on the
 map there is a restaurant at a certain location, that we can zoom into the
 map on that specific area.
 

Angelo,

You will need a specialised solution for this, like UMN Mapserver with
PHP/Mapscript. If you need some real, local, help, mail me off list, and
I will see about you guys paying me to do this for you (at SA prices) ;)

Seriously though, you won't get what you want with GD...

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Thijs Lensselink

Quoting Angelo Zanetti [EMAIL PROTECTED]:


Hi Guys,

We have a project where by we have a map in ai format (vector format). What
we want to do is to programmatically come up with a solution that say on the
map there is a restaurant at a certain location, that we can zoom into the
map on that specific area.

I really am not sure where to start. I guess image maps arent going to work
are they?

Should I be using the GD library for manipulating the images and doing
zooming? Also will the ai format be supported?

Please guys, any tips, links or help is appreciated.

TIA

Angelo



I think doing something like this with GD is nearly impossible.

But you could import the vector image in flash/flex. Draw an invisible
grid over it to create some sort of long / lat coordinats.

Or maybe just move to the google / yahoo map API's.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php