[mapguide-users] Programmatic Layer Manipulations with Filters
and Postgres / Postgis
James Card
James.Card at calcad.com
Fri Jun 8 11:40:37 EDT 2007
On Fri, 08 Jun 2007 08:32:03 -0700, nicholda <nicholda at talgov.com> wrote:
> I am pulling my hair out trying to manipulate a filter to create a new
> layer on the fly using Enterprise MapGuide on top of PostGIS/Postgres.
>
> I feel pretty good about my layer .xml definition; if I leave the filter
> component out completely my new layer shows every point or line on the
> layer I am trying to discirminate against; so I'm pointing to the right
> place. However, no matter what combination of text I try to add when
> manipulating the filter text using DOM I always get a blank layer. No
> filter; every point. Any other filter, no points.
We're modifying the filter on several layers with no problem using an SDF
datasource. I suspect there is something specific about the filter syntax
for PostGIS that's causing your problem. Can you define the filter
successfully using the dialogs inside MapGuide Studio?
--
James Card
209-578-5580
More information about the mapguide-users
mailing list