mapscript / xna / c# is fun. step by step : install MS4W, FWTools(opt.), Configure Mapserver cgi, Install XNA Game Studio 2.0 , then go berserk.
eg. map file
NAME test
SIZE 500 500
STATUS ON
SYMBOLSET Symbols/symbols.sym
EXTENT -180.000183105469 -90 180 83.6230316162109
UNITS METERS
SHAPEPATH "Data/"
WEB
IMAGEPATH "Web/"
IMAGEURL "Web/"
END
PROJECTION
"init=EPSG:4326"
END
LAYER
NAME world_adm0
TYPE POLYGON
STATUS ON
DATA world_adm0
CLASS
STYLE
COLOR 110 50 100
OUTLINECOLOR 200 200 200
SYMBOL 0
END
END
END
LAYER
NAME "prov_bound"
TYPE RASTER
STATUS ON
CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326 ESPG:4030"
"wms_name" "prov_bound"
"wms_server_version" "1.1.1"
"wms_format" "image/gif"
END
END
END
with wms capability.. could load it up on my application.. exciting stuff
8.4.08
googlecode svn
Finally, found some time to create a SVN repository, as I enter full-fledged coding stage. Have most of the resources in place to make things work now.
1. XNA Game Studio 2.0 / C#
2. Visual Studio 2005 (*not using 2008.. not yet.. will try compiling in it later)
3. MapScript API for data (NEED to MAKE it WORK!)
4. StreamLine, Tile, Cache, Prepare Images for Fast Simulation / Access / Display
5. Textures of size powers of 2, < 2048 per tile
6. Migoid (boid) code (C++ to C# port) .. will essentially be a rewrite mostly
7. xWinFormLib - Good GUI lib. for XNA.. trying it out.. should be enough for my needs.
8. GIS interface - custom.. only include required layers.
9. TimeLine/Historic Events Classes to be designed soon.
migraine.googlecode.com
1. XNA Game Studio 2.0 / C#
2. Visual Studio 2005 (*not using 2008.. not yet.. will try compiling in it later)
3. MapScript API for data (NEED to MAKE it WORK!)
4. StreamLine, Tile, Cache, Prepare Images for Fast Simulation / Access / Display
5. Textures of size powers of 2, < 2048 per tile
6. Migoid (boid) code (C++ to C# port) .. will essentially be a rewrite mostly
7. xWinFormLib - Good GUI lib. for XNA.. trying it out.. should be enough for my needs.
8. GIS interface - custom.. only include required layers.
9. TimeLine/Historic Events Classes to be designed soon.
migraine.googlecode.com
20.3.08
Ogre and XNA
After Framework 1.0 which I did using SDL, C++, I wanted to try other libraries. For GIS/Map stuff I tried out GDAL/OGR, MapScript API. For Rendering, I used osg, vtk at the beginning and then moved on to Ogre. Now, I'm using XNA/C# to integrate mapscript, shapelib and the other cool stuff with XNA Game Studio.
This is what I've been through regarding the Implementation part. The data collection / research parts led me to some papers from JSTOR .
This is what I've been through regarding the Implementation part. The data collection / research parts led me to some papers from JSTOR .
Subscribe to:
Comments (Atom)