maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH 2/3] Allow the use of MapOSMatic without a


From: David MENTRE
Subject: Re: [Maposmatic-dev] [PATCH 2/3] Allow the use of MapOSMatic without a GIS-capable database.
Date: Wed, 9 Sep 2009 14:08:18 +0200

2009/9/9 Maxime Petazzoni <address@hidden>:
> +    # If no GIS database is available, always return True to allow
> +    # normal form processing as if the city existed.
> +    if not www.settings.has_gis_database():
> +        return True

I'm not sure the logic behind this patch is correct. GIS_DATABASE_NAME
is used to tell if the Django and OSM databases are the same or not.
In both cases, it is still possible to make a PostGIS request to the
OSM database (either under the name DATABASE_NAME or
GIS_DATABASE_NAME) to check that the city is available.

Yours,
d.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]