You can get ShapeLayer -> ShapeFile.getShapeType(), and the integer
definitions for shape types is in
com.bbn.openmap.dataAccess.shape.ShapeConstants.
- Don
On Oct 20, 2004, at 5:10 PM, Zacker, Jeremy wrote:
> This question is related to ESRI Shapefiles.
>
> When accessing a list of shapefiles from an ESRI product such as
> ArcView, the browser is able to display different icons for different
> files indicating the type of data contained within. For example, if a
> shapefile contains area data, a small 'area' icon is displayed next to
> the file name.
>
> Is there a way to determine the type of file contents using ShapeLayer
> (or associated classes)? I would like my file browser to display a
> similar icon so that my user will know what type of data to expect.
> Also, for areas, I will give them a choice of fill color.
>
>
> --------------------------------
> Jeremy Zacker
> Northrop Grumman
> (732) 530-5063
> jeremy.zacker_at_ngc.com
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Oct 21 2004 - 22:19:39 EDT