MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hi, Can Anyone tell me whether we can perform spatial query using MapWindowGIS programmatically...? I am using Microsoft Visual Studio 2010 and C#. Please reply... Thanks
Spatial Query
Posted by: NNOYAA ()
Date: August 03, 2010 05:21AM

Hi,

Can Anyone tell me whether we can perform spatial query using MapWindowGIS
programmatically...?

I am using Microsoft Visual Studio 2010 and C#.

Please reply...
Thanks

Options: ReplyQuote
Re: Spatial Query
Posted by: pmeems ()
Date: August 03, 2010 01:49PM

Several spatial queries are available and else you should be able to make the rest.

What kind of queries do you want to do?

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: Spatial Query
Posted by: NNOYAA ()
Date: August 03, 2010 11:42PM

Hi Paul,

I am working on dss of canal command where i have to query which area near to canal is water logged and affected by salinity etc.

I am keen on using MapWindowGIS but as i am new to MapWindowGIS so needed some guidance whether i will be able to achieve the results using MapWindowGIS..

in MapWindowGIS we can do Multiple queries or proximity query

Selecting different attributes from different tables and displaying spatial data and its result on map...

Please also tell me where the libraries or methods and properties for Spatial Query to find



Please reply
Thanks

Options: ReplyQuote
Re: Spatial Query
Posted by: pmeems ()
Date: August 05, 2010 12:42AM

Currently such queries are not yet available out-of-the-box.
All methods are present you just need to let them work together.

What you need are the so called GEOS methods, available through the shapefile and shape objects.
Here's a script that shows most of those methods:
TestingScripts/GeosMethods.cs

These script might also be useful:
TestingScripts/TestSelectByShapefile.cs
TestingScripts/TestSelectShapes.cs
TestingScripts/Nigel-intersection.cs
TestingScripts/Bug-1732-CleanShapefile.cs

If you have more questions just ask.

Thanks,

Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: Spatial Query
Posted by: GISShamanth ()
Date: April 14, 2012 12:20PM

Dear NNOYAA,

I am also trying to do some same type of dss for my forestry development project. I would like to know the progress of your program. I also need to select some particular features from shape files using query on its .dbf file and need to zoom in to the selected feature. any help is appreciated.

Thank you.

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: