Ivan

you just need to create 2 layers that have the same GROUP tag, and then 
specify MINSCALE/MASCALE and use different geometry fields, like

LAYER
   NAME "highres"
   GROUP "mygroup"
   DATA "the_geom from ..."
   MAXSCALE 50000

END

LAYER
   NAME "lowres"
   GROUP "mygroup"
   DATA "the_geom_lowres from ..."
   MINSCALE 50000

END

For "allGroups" specify mygroup, not the single layers. In PostGIS you 
need to create a second geometry column "the_geom_lowres" (and a second 
spatial index) and fill the content with the generalized content of 
"the_geom", see the postgis docs for the exact command.

armin


ivan minčík wrote:
> I would like to ask if it is possible to configure one postgis layer 
> which is swapping between different generalized geomn columns (based on 
> map scale) without touching the pmapper code?
> 
>  How are You doing this in pmapper case?
> 
> 
> 
> Some time ago Armin wrote:   
> yes, for lines in PostGIS it could be easy with a second geom column
> 
> that is generalized, and then swapping at a certain scale to that. does 
> not need a full replication of the data
> 
> 
> 
> thanks 
> 
> Ivan
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to