[mapguide-users] Re: change selection color in Printable Page

2010-10-26 Thread jtby

I am looking for this information too.  I can do it fine on the main map, but
not on getprintablepage. 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/change-selection-color-in-Printable-Page-tp3437645p5677157.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] getprintablepage / selection problem

2010-10-26 Thread jtby

Hi - I have a problem with getprintablepage  - steps to reproduce (I am using
php viewer)

- select a feature on the map

- open getprintablepage feature

- close getprintablepage feature

- now select another feature on the map

- at this point the selection highlight is messed up: it does not show in
the correct location (over the feature just selected)

http://osgeo-org.1803224.n2.nabble.com/file/n5677137/example.png 

- same problem using my own custom report page in place of getprintablepage
- maybe a problem after using OPERATION=GETMAPIMAGE on the
printablepage/report since the map on this page is different size than map
on the main page or something like that?

... any ideas how to fix?  Do others have this problem as well?
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/getprintablepage-selection-problem-tp5677137p5677137.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng

Migration doesn't check saving a resource into a server that doesn't
recognise this resource type or version (yet).

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5676855.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng

How locked down security-wise is the environment? It seems the error is the
result of running Maestro with insufficient privileges (in this case, the
ability to do reflection). 

Are you possibly running this from a shared network drive?

It could also be that Maestro (and its assemblies) are not strong-named as I
have yet to sign them with the maestroapi.key file

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5676790.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng

Well I either have no life, or I've refactored Maestro's infrastructure to
the point where adding new features is a simple as connecting new lego
blocks ;-)

I'd like to think it's the latter (maybe a bit of the former)

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5676768.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-26 Thread Jackie Ng

The templates have a min supported site version property. What you see is the
filtered result based on the site version of the current connection.

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-1-tp5657585p5676760.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Maestro 3.0 test build #2

2010-10-26 Thread Jason Birch
Wow.

I'm totally blown away by the speed that you're iterating features.  Either
you're not sleeping, or your heavy re-factor of Maestro is really paying
off.  Or maybe both :)

I'm really looking forward to testing the inter-server migration features;
hope I can do this tonight.  This will really help with my current process
(dump both sites to MGP, extract, check for differences with Beyond Compare,
migrate smaller packages or XML copy/paste of the differing areas).

Do the migration tools check the site version to make sure that the
resources being migrated are compatible with the other server? Hopefully the
person doing the migration would know what's going on, but... :)

My pipe dream would be a tool for opening two sites side-by-side and
visually seeing the differences somehow.  Beyond Compare has an awesome UI
for this on the filesystem level where the differences are colour coded and
you can filter to only see differences, etc.

Jason

On 26 October 2010 05:07, Jackie Ng wrote:

>
> Hi All,
>
> I've put up the 2nd test build of Maestro 3.0 for download. This is the
> first Maestro 3.0 test build that should work on Mono.
>
>
> http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5334%20Test2.zip
>
> Once again, I'll preface all of this with your standard warning:
>
> HERE BE DRAGONS! THIS BUILD SHOULD NOT BE CONSIDERED PRODUCTION-QUALITY AND
> SHOULD ONLY BE USED FOR TESTING PURPOSES AND FEEDBACK. DO NOT USE THIS ON
> PRODUCTION MAPGUIDE SERVERS!
>
> With that out of the way and your knowledge/acceptance of the above fact
> when testing this build, here's the changes from Test Build #1:
>
> The missing stuff:
>
>   - Migrated MgCooker.exe
>   - Migrated Official MapGuide API support. However this is disabled by
> default as it requires additional setup. ConnectionProviders.xml and
> Maestro.exe.config are documented to detail how to get Maestro working with
> official MapGuide API dlls.
>   - Migrated Server Status Monitoring window (under Tools menu)
>
> The fixes and tweaks:
>
>   - Modify the resource picker to support beginning from a specific folder
> (as per Jason's suggestion). When creating a new resource via right click,
> the folder you right-clicked is the initial starting point for the save
> dialog when you save for the first time.
>   - New Resource Dialog fixes and UX enhancements (as per Jason's
> suggestion)
>   - Prevent dangling editors as a result of closing the connection or
> deleting the edited resource.
>   - Drag/Drop support for the Resource Data UI (and any UI component that
> uses this control)
>   - Only prompt for restart when changing option values that actually
> require a restart
>   - New validation rules for DWF-based Layers
>   - Mono fixes
> - Fix XML deserialization problems in Mono
> - Fix double height UI elements in Mono
>
> The awesome sauce:
>
>   - Inter-server Migration tools (based on ideas suggested by Jason in trac
> ticket 1112)
> - Move/Copy resources to a folder on another server with option to
> overwrite existing resources.
> - Copy selected resource (and its dependencies) to the same path on
> another server. You have a choice of which dependent resources to copy and
> whether to overwrite existing resources.
>
>
> Note that Maestro 3.0 is still lacking some features from 2.x as they are
> still in the process of being ported over:
>
>  - Custom user resource templates
>  - Runtime Map API
>  - Raster layer editor
>  - Package editor
>  - Fusion editor
>  - Specialized feature source editors for other providers
>  - Possibly others
>
> Once again, general notes when testing this build:
>
>  - Found a bug? Ask yourself: Did this bug exist in Maestro 2.x, and hence
> is a known problem?
>  - Similarly, that Maestro 2.x issue you filed in Trac some time ago: Has
> it
> been fixed or successfully worked around with this build?
>  - So generally speaking, it really helps to have an existing installation
> of Maestro 2.x on hand (current release being 2.1.4) as a baseline
> comparison to whether something has been fixed or broken.
>  - Filed an issue under the previous test build? Did this test build fix
> this issue for you?
>  - All existing Maestro tickets will be re-targeted to the maestro-3.0
> milestone
>  - Something breaks when running in Mono? It helps to specify the expected
> behaviour when running in Windows. Screenshots help as well. Also indicate
> the version of Mono
>
> - Jackie
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Maestro 3.0 test build #1

2010-10-26 Thread Jason Birch
That's great Jackie.

I'm finding it somewhat confusing figuring out which folder to go to for
various resources.  Would it be possible to display all of the most recent
compatible resources in each product's folder?

Jason

On 26 October 2010 02:22, Jackie Ng wrote:

>
> I've modified the resource picker to allow specifying a custom starting
> point, which is used by the new resource command.
>
> When you right click and choose "New Resource", it will remember the folder
> you right click and pass that on to the resource editor as a suggested
> starting point when you save the resource. If you create a new resource
> right-clicking Library://Foo/Bar/, when you save it will prompt starting
> from Library://Foo/Bar
>
> This will be in the next test build.
>
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Mapguide won't display all features from King Oracle connections

2010-10-26 Thread Haris Kurtagic
I forgot a bit, but haven't I fixed some gtype 4 after you send me
test geometries ?
If there are gtype 4 geometries you think King.Oracle can't read, send
them please, I will check it

Haris

On Tue, Oct 26, 2010 at 1:37 PM, djonio  wrote:
>
> Howdy,
>
> MGOS 2.1
> KingOra 8.19
>
> We use KingOracle a bunch and our only issue is and has been mixed
> multi-geometries(collections - sdo_gtype : 4) and circles (1,1003,4). We
> have no issues at all on the FDO/Mg input input side and it appears to me
> that it is an issue with MG rendering. Circles have been a real issue in
> that MG throws one of those "failed to stylize" errors and just gives up.
> The fix for me is to use (1,1005,1, 1,2,2)'s as a couple arcs instead of
> circles. The gtype 4's don't produce the failed to stylize error but they
> silently do not render.
>
> Since the workaround for circles is relatively easy and the need for the
> collection type geometry is rare for me I have not persued the issue.
> However, if someone wishes to fix this I can produce some EPSG:2236(FL83-EF)
> geometries for test.
> r,
> dennis
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Mapguide-won-t-display-all-features-from-King-Oracle-connections-tp5657213p5674262.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Gabriele Monfardini
> MaestroFsPreview.exe, when run on its own (and not from Tools menu in
> Maestro) requires you to browse to the feature source you wish to preview.
Ok, my fault. It indeed works in both machines


> Are you using the RTM version of .net Framework 2.0? It must be SP-level (1
> or 2).
I'm using .Net Framework 2.0 SP2 (the latest I've found).

I've also verified the install with the .Net Setup verifier that I've found here
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

And maestro3 keeps crashing both in win2000 and in winXP, while
maestro2.1.4 works.

Do you need me to provide more information?
Is it feasible to have also maestro 2.1.4 installed in another
directory or I have to uninstall it?

Regards,

Gabriele
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Advanced search of layer - Can I use multiple filters?

2010-10-26 Thread shepwaydistrictcouncil

Apologies, should have tried that first, it works!!
Thanks
Neil
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-Can-I-use-multiple-filters-tp5673825p5674630.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng

Are you using the RTM version of .net Framework 2.0? It must be SP-level (1
or 2).

MaestroFsPreview.exe, when run on its own (and not from Tools menu in
Maestro) requires you to browse to the feature source you wish to preview.

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5674606.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Maestro 3.0 test build #2

2010-10-26 Thread Gabriele Monfardini
On Tue, Oct 26, 2010 at 14:07, Jackie Ng  wrote:
>
> Hi All,
>
> I've put up the 2nd test build of Maestro 3.0 for download. This is the
> first Maestro 3.0 test build that should work on Mono.
>
> http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5334%20Test2.zip

Hi, I've tried it in two virtual machines with Win 2000 and Win XP
SP3, both with Mapguide Maestro 2.1.4 installed and running fine.

In both of them Maestro test preview #2 crashes.
Unfortunately I cannot paste the info that Windows offers kindly to
send to MS, that probably are valuable for you (I cannot openthe
corresponding dmp file while the reporting dialog is open, nor after
closing the dialog since the file is removed ... damn it MS!)
If you want I can look for something (versions and so on) and report back to you

MaestroFsPreview in Win2000 throws the following error

Failed to log on because:

OSGoe.Mapguide.MaestroAPI.HttoServerConnection..ctor(System.Collections.Specialized.NameValueCollection)
Richiesta di autorizzazione di tipo
'System.Security.Permission.ReflectionPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' non
soddisfatta (in english Authorization request of type ... not
satisfied)


MaestroFsPreview in WinXP opens its main window but it is completely
empty, without any featureSource.

Using test preview #1 in both machines Maestro crashes.
MaestroFsPreview throws an error in Win2000 while it works in WinXP.
It shows the feature sources and I am able to preview one of them.

Under mono 2.6.7 Maestro opens and seems to work fine, at least from
the small amount of tests I've made.

Regards,

Gabriele
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Maestro 3.0 test build #2

2010-10-26 Thread Jackie Ng

Hi All, 

I've put up the 2nd test build of Maestro 3.0 for download. This is the
first Maestro 3.0 test build that should work on Mono.

http://download.osgeo.org/mapguide/maestro/MapGuide%20Maestro%203.0.0.5334%20Test2.zip

Once again, I'll preface all of this with your standard warning: 

HERE BE DRAGONS! THIS BUILD SHOULD NOT BE CONSIDERED PRODUCTION-QUALITY AND
SHOULD ONLY BE USED FOR TESTING PURPOSES AND FEEDBACK. DO NOT USE THIS ON
PRODUCTION MAPGUIDE SERVERS! 

With that out of the way and your knowledge/acceptance of the above fact
when testing this build, here's the changes from Test Build #1:

The missing stuff:

   - Migrated MgCooker.exe
   - Migrated Official MapGuide API support. However this is disabled by
default as it requires additional setup. ConnectionProviders.xml and
Maestro.exe.config are documented to detail how to get Maestro working with
official MapGuide API dlls.
   - Migrated Server Status Monitoring window (under Tools menu)

The fixes and tweaks:

   - Modify the resource picker to support beginning from a specific folder
(as per Jason's suggestion). When creating a new resource via right click,
the folder you right-clicked is the initial starting point for the save
dialog when you save for the first time.
   - New Resource Dialog fixes and UX enhancements (as per Jason's
suggestion)
   - Prevent dangling editors as a result of closing the connection or
deleting the edited resource.
   - Drag/Drop support for the Resource Data UI (and any UI component that
uses this control)
   - Only prompt for restart when changing option values that actually
require a restart
   - New validation rules for DWF-based Layers
   - Mono fixes
 - Fix XML deserialization problems in Mono
 - Fix double height UI elements in Mono

The awesome sauce:

   - Inter-server Migration tools (based on ideas suggested by Jason in trac
ticket 1112)
 - Move/Copy resources to a folder on another server with option to
overwrite existing resources.
 - Copy selected resource (and its dependencies) to the same path on
another server. You have a choice of which dependent resources to copy and
whether to overwrite existing resources.

  
Note that Maestro 3.0 is still lacking some features from 2.x as they are
still in the process of being ported over: 

 - Custom user resource templates 
 - Runtime Map API
 - Raster layer editor 
 - Package editor 
 - Fusion editor 
 - Specialized feature source editors for other providers 
 - Possibly others 

Once again, general notes when testing this build: 

 - Found a bug? Ask yourself: Did this bug exist in Maestro 2.x, and hence
is a known problem? 
 - Similarly, that Maestro 2.x issue you filed in Trac some time ago: Has it
been fixed or successfully worked around with this build? 
 - So generally speaking, it really helps to have an existing installation
of Maestro 2.x on hand (current release being 2.1.4) as a baseline
comparison to whether something has been fixed or broken. 
 - Filed an issue under the previous test build? Did this test build fix
this issue for you?
 - All existing Maestro tickets will be re-targeted to the maestro-3.0
milestone 
 - Something breaks when running in Mono? It helps to specify the expected
behaviour when running in Windows. Screenshots help as well. Also indicate
the version of Mono

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-2-tp5674364p5674364.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Mapguide won't display all features from King Oracle connections

2010-10-26 Thread djonio

Howdy,

MGOS 2.1 
KingOra 8.19

We use KingOracle a bunch and our only issue is and has been mixed
multi-geometries(collections - sdo_gtype : 4) and circles (1,1003,4). We
have no issues at all on the FDO/Mg input input side and it appears to me
that it is an issue with MG rendering. Circles have been a real issue in
that MG throws one of those "failed to stylize" errors and just gives up.
The fix for me is to use (1,1005,1, 1,2,2)'s as a couple arcs instead of
circles. The gtype 4's don't produce the failed to stylize error but they
silently do not render.

Since the workaround for circles is relatively easy and the need for the
collection type geometry is rare for me I have not persued the issue.
However, if someone wishes to fix this I can produce some EPSG:2236(FL83-EF)
geometries for test.
r,
dennis
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Mapguide-won-t-display-all-features-from-King-Oracle-connections-tp5657213p5674262.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Maestro 3.0 test build #1

2010-10-26 Thread Jackie Ng

I've modified the resource picker to allow specifying a custom starting
point, which is used by the new resource command.

When you right click and choose "New Resource", it will remember the folder
you right click and pass that on to the resource editor as a suggested
starting point when you save the resource. If you create a new resource
right-clicking Library://Foo/Bar/, when you save it will prompt starting
from Library://Foo/Bar

This will be in the next test build.

- Jackie
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Maestro-3-0-test-build-1-tp5657585p5673941.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


RE: [mapguide-users] Seeking testers for Maestro 3.0

2010-10-26 Thread Nimrod Cnaan


H Jackie,
We are willing to help you test it
 
> Date: Wed, 20 Oct 2010 01:45:01 -0700
> From: jumpinjac...@gmail.com
> To: mapguide-users@lists.osgeo.org
> Subject: [mapguide-users] Seeking testers for Maestro 3.0
> 
> 
> Hi All,
> 
> I am seeking interest from anyone willing to test the next version of
> MapGuide Maestro (3.0)
> 
> Maestro 3.0 has been mostly rebuilt from the ground up taking lots of API
> design notes from MapGuide/FDO and UI/UX inspiration from my other little
> project (FDO Toolbox). I'd say around 60% of the existing code was thrown
> out and rewritten while the other 40% was refactored and/or re-purposed.
> 
> It has evolved to the point where I now think it's ready for testing (but
> not quite ready for production use).
> 
> I will be putting up a test build soon for those that are interested. 
> 
> - Jackie
> 
> 
> -- 
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Seeking-testers-for-Maestro-3-0-tp5653936p5653936.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
  ___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Re: Advanced search of layer - Can I use multiple filters?

2010-10-26 Thread shepwaydistrictcouncil

To be honest I've not tried that as last time when I did it with ordering it
errored so I assumed you couldnt add multiple.

I'll give it a go, hopefully it's that easy!

Thanks
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-Can-I-use-multiple-filters-tp5673825p5673895.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Advanced search of layer - Can I use multiple filters?

2010-10-26 Thread Zac Spitzer
i think your overwriting $filterQuery with $filterQuery2

did you try putting it all in once setFilter ?

z



On Tue, Oct 26, 2010 at 7:29 PM, shepwaydistrictcouncil
 wrote:
>
> Hi
>
> I'm currently pulling back addresses from a layer using the following code:
>
> // create a filter to select the desired features.
> $queryOptions = new MgFeatureQueryOptions();
> $filterQuery = $_GET['searchColumn'] . " LIKE '%" . $_GET['searchValue'] .
> "%'";
> $queryOptions->SetFilter($filterQuery);
>
> I would however like to add more than one query into this is it possible?
>
> Something like:
> $queryOptions = new MgFeatureQueryOptions();
> $filterQuery = "c_uprn LIKE '%" . $_GET['searchValue'] . "%'";
> $filterQuery2 = "AND c_paon LIKE '%" . $_GET['paonValue'] . "%'";
>
> $queryOptions->SetFilter($filterQuery);
> $queryOptions->SetFilter($filterQuery2);
>
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-Can-I-use-multiple-filters-tp5673825p5673825.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Advanced search of layer - Can I use multiple filters?

2010-10-26 Thread shepwaydistrictcouncil

Hi

I'm currently pulling back addresses from a layer using the following code:
 
// create a filter to select the desired features.
$queryOptions = new MgFeatureQueryOptions();
$filterQuery = $_GET['searchColumn'] . " LIKE '%" . $_GET['searchValue'] .
"%'";
$queryOptions->SetFilter($filterQuery);

I would however like to add more than one query into this is it possible?

Something like:
$queryOptions = new MgFeatureQueryOptions();
$filterQuery = "c_uprn LIKE '%" . $_GET['searchValue'] . "%'";
$filterQuery2 = "AND c_paon LIKE '%" . $_GET['paonValue'] . "%'";

$queryOptions->SetFilter($filterQuery);
$queryOptions->SetFilter($filterQuery2);

-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-Can-I-use-multiple-filters-tp5673825p5673825.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users