[mapguide-users] Another Newbie

Travis Brannon tbrannon at geotechsystems.com
Thu Sep 27 08:41:51 EDT 2007


Hi folks,

I am new to MapGuide Open Source - in fact, very new, like 3 days new.  My
company is moving away from ESRI technology (primarily ArcIMS for web-based
apps) and embracing MapGuide Open Source.  Our clients like the price tag.
I have read most of the Newbie documentation that I can find.   To date, I
have read the Help in Site Administrator and in Web Studio.  I have also
read the first four chapters in the Users Guide for MGE 6.5.  I have since
abandoned that read because it doesn't seem to have a high degree of
fidelity with MGOS.  Is this accurate?  Is there any good documentation that
I can read about simply using MGOS.  My main aim is to get coding as soon as
possible, but I want to nail down the fundamentals of system logic and
functionality flow first.  Development will make a lot more sense then.

I have two questions for the group then:

1) What and where is the good documentation?  I have the developers guide
for 1.2.0, but I am postponing reading that until I can find some more basic
User level stuff.

2) I created a folder in Web Studio and then tried to rename it.  It
displayed the input box with the cancel button (grey circle with x) with the
new folder name, but did not save the change.  I tried saving the resource
from the file menu to no avail.  And I tried to change the folder name in
the Properties panel for the resource, but, alas, again to no avail.  How do
you permanently change a folder name in Web Studio?

Thanks in advance.

Regards,
 
 
Travis Brannon
 
Geotech Systems Ltd.
Suite 1, Sky Building B,
177 Marina Street,
Pieta MSD 08
Malta, Europe
 
Tel: +356 21 250 978
Fax: +356 21 250 884

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kenneth,
GEOGRAF A/S
Sent: 27 September 2007 12:09
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] how to set "OR SpatialFilter"??

You cannot do the first suggestion, as the SetSpatialFilter will clear 
any previous filter.
You can combine the objects, but you can also use Sql like:
"Geometry Inside GEOMFROMTEXT('...') Or Geometry Inside GEOMFROMTEXT('...')"

The ... should be replaced with the WKT for the objects.

Im not familliar with construction of the query using the API, but 
internally there exists objects that represents an Or operation.
If those are avalible to the API, you can construct such objects.

Regards, Kenneth, GEOGRAF A/S



Champin skrev:
> There are three geomertys ,they are geom1 ,geom2 and geom3
>
> Now, I want to select the features in them, in other word, select the
> features inside of geom1 or inside of geom2 or inside of geom3.
>
>
> Then,how do I write the SetSpatialFilter ?? Just like the following ?
>
>      queryOp.SetSpatialFilter("Geometry", geom1,
> MgFeatureSpatialOperations.Inside);
>      queryOp.SetSpatialFilter("Geometry", geom2,
> MgFeatureSpatialOperations.Inside);
>      queryOp.SetSpatialFilter("Geometry", geom3,
> MgFeatureSpatialOperations.Inside);
>
> Or I have to combine all the three geoms into a big one and then
>
>    queryOp.SetSpatialFilter("Geometry", TotalGeom,
> MgFeatureSpatialOperations.Inside);
>
> If I have to combine them, and how? how to combine?
>
>
> Thanks in advance~
>
>   
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




More information about the mapguide-users mailing list