Re: [OpenMap Users] Creating Shapefiles from scratch

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 21 May 2009 10:39:38 -0400

Hi CS,

If you create OMGraphics from your source data, you can create Shape
files from OMGraphics using the
com.bbn.openmap.dataAccess.shape.EsriShapeExport class. You should
actually create EsriGraphics (extend OMGraphics) and pass those to the
export class. A DbfTableModel would hold the attributes for all
EsriGraphics, and that gets passed to the export class as well, to
make the dbf file.

Hope this helps,

Don

On May 20, 2009, at 12:48 PM, C S wrote:

>
> i am interested in creating shapefiles from scratch either by using
> x,y data in an ascii file or from some other source.
>
> i am now looking at the javadoc for openmap and its a bit confusing
> on whether i should be using the esriplugin or could i just use the
> com.bbn.openmap.layer.shape package, the same one i used for loading
> and manipulating shapefiles.
>
> thanks all in advance for direction with this!
>
> CS
>
>
>
>
> --
> [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"]

--
[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 May 21 2009 - 10:40:11 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT