[Mapserver-users] how to hide water areas in nationalatlas state-boundaries shapefile

Brian Fujito brian at christianity.com
Wed Aug 20 15:41:56 EDT 2003


Thanks for the tip!  I ended up using your suggestion, and it worked 
perfectly. So others in the future know:

1) start with the statsp020.shp/.dbf information from Nationalatlas
2) Load that into JUMP (www.vividsolutions.com/jump)... i had to use
   Windows for that... didn't work on my Linux installation
3) Load Dataset -> statsp020.shp file (as ESRI shapefile).  That'll pick
   up the corresponding .dbf file as well (in same directory)
4) Make sure that dataset is "Editable" in JUMP
5) Edit->"Editing..." to open the editing dialog.  Click the "Select
Parts" button in there.  Then select the regions that you want to
remove.
6) Save the dataset.

... worked like a charm.

thanks again for your help.
-brian



On Wed, 2003-08-20 at 10:54, Jeff McKenna wrote:
> Brian,
> 
> I don't see any other way than to quickly edit that shapefile and delete 
> those Great Lakes polys.  The open source software JUMP will do it 
> easily (http://www.vividsolutions.com/jump/).
> 
> Jeff
> 
> 
> 
> Brian Fujito wrote:
> > I've downloaded the states020 shapefile from Nationalatlas.  However,
> > when I draw the state boundaries, they extend out to the water (e.g.
> > Great Lakes).  I realize that this is expected behavior (those are the
> > boundaries of the states), but is there a way to hide that portion of
> > the data?
> > 
> > In the Mapserver tutorial, they do this nicely by selecting out 
> >    EXPRESSION ('[CLASS]' eq 'land')
> > 
> > ... but the states020 dataset does not provide such 'CLASS'
> > information.  Can anyone tell me how to go about getting that
> > information?
> > 
> > Thanks in advance,
> > Brian
> > 
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > 
> 
> 
> -- 
> Jeff McKenna
> GIS Specialist
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
> 
> 
-- 
Brian T. Fujito
Chief Technical Officer
www.christianity.com
brian at christianity.com       (703) 548-8900





More information about the mapserver-users mailing list