[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] Implementing bbox limitation
From: |
Thomas Petazzoni |
Subject: |
Re: [Maposmatic-dev] Implementing bbox limitation |
Date: |
Wed, 9 Sep 2009 00:09:00 +0200 |
Le Mon, 7 Sep 2009 21:34:09 +0200,
Thomas Petazzoni <address@hidden> a écrit :
> I started thinking about implementing the bbox limitation. I think the
> best way is to ask PostGIS what is the size of the area, and put a
> limit on the area size (and not a limit in degrees in one direction or
> another).
Here is a patch that uses the spheric_sizes() method of
ocitysmap.coords.BoundingBox to limit the size of the bounding box.
Simple and efficient, for sure. The only drawback is that now,
ocitysmap is required for the Web front-end (previously, only the
maposmaticd daemon was using it).
What do you think about it ?
Thomas
--
Thomas Petazzoni http://thomas.enix.org
Promouvoir et défendre le Logiciel Libre http://www.april.org
Logiciels Libres à Toulouse http://www.toulibre.org
0001-Implement-bbox-limitation.patch
Description: Text Data
signature.asc
Description: PGP signature
- Re: [Maposmatic-dev] Implementing bbox limitation, (continued)
- Re: [Maposmatic-dev] Implementing bbox limitation, Thomas Petazzoni, 2009/09/07
- Re: [Maposmatic-dev] Implementing bbox limitation, David MENTRE, 2009/09/08
- Re: [Maposmatic-dev] Implementing bbox limitation, Maxime Petazzoni, 2009/09/08
- Re: [Maposmatic-dev] Implementing bbox limitation, David MENTRE, 2009/09/08
- Re: [Maposmatic-dev] Implementing bbox limitation, Thomas Petazzoni, 2009/09/08
- Re: [Maposmatic-dev] Implementing bbox limitation, David MENTRE, 2009/09/09
Re: [Maposmatic-dev] Implementing bbox limitation, David Decotigny, 2009/09/08
Re: [Maposmatic-dev] Implementing bbox limitation,
Thomas Petazzoni <=