File "include_conf.phtml"

Full path: /www/map/mapserver-extensions/pmapper-4.2.0/plugins/digitizepoints/include_conf.phtml
File size: 749 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Back

<?php

//-------------------------------------------------------------------------
// Digitizepoint plugin configuration.
//-------------------------------------------------------------------------
$dsn        = 'pgsql://dbuser:password@localhost:5432/dbname';
$db_table   = 'tablename';       // Table name.
$pkey       = 'id';              // Table's primary key.
$the_geom   = 'the_geom';        // Table's geometry field, type POINT.
$srid_geom  = 4326;              // SRID of the geometry.
$srid_map   = 3035;              // SRID of the map (clicked screen point).
$tolerance  = 500;               // Distance in meteres to pick existing point for editing.
$hide_fields = array('id');      // Table fields not displayed in the edit form.

?>

PHP File Manager