[OpenMap Users] follow-up...EsriShapeExport class to export a graphiclist of EsriPolylines

From: Martin Chapman <mchapman@sanz.com>
Date: Thu Nov 20 2003 - 18:04:35 EST

Don,
 
I think I figured out why my polyline becomes a polygon with
EsriShapeExport. It happens because my first and last point in the
lat/lon list are the same thus, the isPolygon() function of the
EsriShapeExport class returns true and it thinks that my polyline is a
polygon and then sets the shapetype bit of the shapefile to polygon
instead of polyline. Is there way to trick the class into thinking that
it is a polyline? Really, the EsriShapeExport isPolygon() function
should do a runtime type check to determine if the class is a point,
line or polygon I think.
 
 
Martin Chapman
Cell 303-885-1936
Office 303-660-3933 x226
mchapman@sanz.com
http://www.sanz.com <http://www.sanz.com/>
 
 

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Nov 20 18:05:03 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT