[Gdal-dev] MapScript C# wrapper
Tamas Szekeres
szekerest at gmail.com
Mon Nov 20 08:17:49 EST 2006
Hi,
You can use the OGR MapInfo driver to accomplish this task. Here is a
sample LAYER entry in the mapfile to use this functionality:
LAYER
PROJECTION
"AUTO"
END
NAME "park"
METADATA
"wms_title" "park"
END
CONNECTIONTYPE OGR
CONNECTION "park.TAB"
STYLEITEM "AUTO"
STATUS default
TYPE POLYGON
CLASS
TEMPLATE "query.html"
NAME "park"
END
END
You can use new mapObj('mapfile.map") to create the map object and
mapObj.draw to draw the map image as usual.
Best Regards,
Tamas Szekeres
2006/11/20, Mir Hassan Ali <mirhassanali at gmail.com>:
> Hi
>
> I want to read the MapInfo tab files and display a map using the MapScript
> C# wrappers.
>
> 1. Is this possible?
> 2. Are there any sample applications that I can have a look at?
>
> Thank and Best Regards
>
> Mir Hassan Ali
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>
More information about the Gdal-dev
mailing list