From: Efren S. <efr...@me...> - 2007-11-27 21:18:59
|
Mike, Meteorology/Oceanography isn't gis either; that is something ESRI has = never understood. I think Mapserver is as much GIS as GoogleEarth is; it = supports WMS, WCS, WFS protocols, etc., and even KML. GoogleEarth is certainly a nice viewer/client. Mapserver is a server not a client so there is no comparison. You could point a GoogleEarth client to a Mapserver server = that returns KML. -----Original Message----- From: Mike Fiorino [mailto:mfi...@gm...]=20 Sent: Tuesday, November 27, 2007 12:49 PM To: efr...@me... Cc: 'Arlindo da Silva'; ope...@li... Subject: Re: [Opengrads-devel] Shapefile extension: first crack hi efren, i took a look a mapserver. is this what fnmoc is using these days? it really isn't gis, i'm partial to google earth. thanks /r mike Efren Serra wrote: > Arlindo, > > With the perl interface, can you encode colors in a shapefile? > > We shouldn't encode colors in the shapefiles; I was hoping to use=20 > these shapefiles in conjunction with Mapserver and let the coloring to = > mapserver .map configuration file. However, we should encode some=20 > values about the shape in the .dbx file so that we can use mapserver's = > .map file CLASS value, which defines thematic classes for a given=20 > layer. A CLASS has an EXPRESSION value that we can use to select=20 > coloring, etc., based on a value encoded in the .dbx file. For=20 > instance, here is simple sample for coloring Tropical Cyclone Warnings = > Wind Radiis/Track: > > LAYER > NAME "al062007_019_34ktWndRadii" > GROUP "tcw" > METADATA > "wms_title" "al062007_019_34ktWndRadii" ##required > END > TYPE POLYGON > STATUS OFF > DATA /otsr/shapefiles/2007091100/al062007_019_34ktWndRadii > > LABELITEM "RADIUS_NM" > > CLASS > NAME "al062007_019_34ktWndRadii" > OUTLINECOLOR 255 0 0 > LABEL > MINFEATURESIZE 50 > MINDISTANCE 150 > POSITION CC > SIZE TINY > COLOR 0 0 0 > END > DEBUG ON > END > > DUMP TRUE > PROJECTION > "init=3Depsg:4326" ##recommended > END > END # Layer al062007_019_34ktWndRadii > > LAYER > NAME "ep102007_017_track" > GROUP "tcw" > METADATA > "wms_title" "ep102007_017_track" ##required > END > TYPE LINE > STATUS OFF > DATA /otsr/shapefiles/2007091100/ep102007_017_track > > LABELITEM "STM_NAME" > > CLASS > NAME "ep102007_017_track" > COLOR 0 0 0 > LABEL > MINFEATURESIZE 50 > MINDISTANCE 150 > POSITION CC > SIZE TINY > COLOR 0 0 0 > END > DEBUG ON > END > > DUMP TRUE > PROJECTION > "init=3Depsg:4326" ##recommended > END > END # Layer ep102007_017_track > > - how to draw a line in black, and another in green > > Mapserver takes care of the drawing for us via the .map file by using=20 > OUTLINECOLOR > > - how to have a rectangle filled "blue" > > Mapserver takes care of the drawing for us via the .map file by using=20 > COLOR > > - how to define new colors from (red,green,blue) values > > COLOR and OUTLINECOLOR take RGB values as shown above. > > Do you have access to any GIS software? Is there a free alternative to = > ARC/View? Which one do you recommend? I just want a way to see if the=20 > file we eventually produce with GrADS can be visualized by standard=20 > GIS software. > > Lets use Mapserver from UMN: http://mapserver.gis.umn.edu. Thanks. > > Efren > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Opengrads-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opengrads-devel > > =20 |