MapWinGIS:Feature Identifier

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Simple Feature Identifier

Here are the basic steps for creating a simple feature identifier using the MapWinGIS ActiveX Control.

1) Set the SendSelectBoxFinal property = true (so you get these events) http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_SendSelectBoxFinal

2) Use the SelectBoxFinal event to get the XY coordinates where the user clicked. http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_SelectBoxFinal

3) Convert the XY coordinates to "real" map coordinates using PixelToProj http://www.mapwindow.org/wiki/index.php/MapWinGIS:AxMap_PixelToProj

4) Now use the real map coordinates in the SelectShapes function to do a selection within your shapefile: http://www.mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_SelectShapes

5) Now get the attribute table entries for your shapefile using CellValue: http://www.mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_CellValue

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Feature_Identifier"

This page has been accessed 8,622 times. This page was last modified on 1 November 2006, at 18:10.