|
Posted by ujaval@gmail.com on July 16, 2007, 3:07 am
Please log in for more thread options >
> > > Do you have any ideas how to speed up the process of finding the
> > > nearest street(s)?
>
> > Pre-process the data and create a spatial index. Then you will be able to do
> > the spatial searches a lot faster. But that requires either writing lots of
> > code or using other software - any capable GIS should be able to do this.
>
> Unfortunately I have to use php to do this, as I'm interacting with
> google maps. I'm afraid its out of my scope to write a spatial
> database in php ;-)
> Thanks for the help anyway.
> Anybody any idea on how to generally speed up the process without a
> spatial database?
I am not sure why you can't use a spatial database. You don't have to
write one, just use the php interface to access the database.
Postgresql should suffice your requirements for building spatial index
and I have used to it with php to build google maps applications.
-Ujaval
http://spatialthoughts.com
|