[Featureserver] Documentation patch

Christopher Schmidt crschmidt at metacarta.com
Fri Aug 14 09:00:49 EDT 2009


On Fri, Aug 14, 2009 at 11:52:41AM +0100, Peter Robins wrote:
> while we're on the subject, attached a further patch to DataSources.txt, which 
> expands on SQLite. Looks like I sent this to Brent back in April, but not to 
> the list, and it was never applied

Applied, r613. Thanks.

> Index: doc/DataSources.txt
> ===================================================================
> --- doc/DataSources.txt	(revision 612)
> +++ doc/DataSources.txt	(working copy)
> @@ -77,11 +77,27 @@
>  
>  SQLite
>  ======
> -A simple sqlite datasource.
> +A simple SQLite datasource that can be used on any website with 
> +Python support for SQLite. Creates 2 tables for each layer: one for the features,
> +and one for any attributes/properties pertaining to those features.
> +The features table can be used as input to OGR.
>  
> +A sample SQLite layer configuration might look like:
> +
> +::
> +
> +  [lines]
> +  type=SQLite
> +  file=/home/example/features.sqlite # if already exists, features table will be added
> +  layer=lines # name of table; defaults to layer name
> +
> +  [points]
> +  type=SQLite
> +  file=/home/example/features.sqlite
> +
>  Dependencies:
>   * None under Python2.5
> - * pysqlite under Python2.4
> + * pysqlite2 under Python2.4
>  
>  WFS
>  ===
> @@ -181,13 +197,3 @@
>     type=OSM
>     osmxapi=no
>  
> -
> -SQLite
> -======
> -
> -:: 
> -  
> -  [myfeatures]
> -  type=SQLite
> -  file=/home/example/features.sqlite
> -

> _______________________________________________
> Featureserver mailing list
> Featureserver at openlayers.org
> http://featureserver.org/mailman/listinfo/featureserver


-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list