[OpenMap Users] color on map gets wicked

From: Marklund David <damak@wmdata.com>
Date: Mon Oct 20 2003 - 08:42:57 EDT

Hi,

I have some problems coloring my map. The layer is a shapefile-layer. A have made a csv-file from the dbf-file.

The application reads the csv-file OK, but colors it bad. For example a island inside a lake gets colored twice, first with the lake fillcolor, then with its own fillcolor. Islands in the sea also gets colored twice. (see props and csv below)

Is it the structure of the shapefile that is not OK ? I am stuck at this problem.

Any ideas ?

 

Cheers

David

 

The csv-file:

<file-snippet>

AREA,PERIMETER,DM_BALT_,DM_BALT_ID,TYPE

1647959429372,10000,27109247,66787,2,1,2

143818628703,29900,3955793,85948,3,2,1

........

</file-snippet>

 

These are the properties that defines my shape layer:

<file-snippet>

### Layer used by the overview handler

davidtest.class=com.bbn.openmap.layer.shape.areas.AreaShapeLayer

davidtest.prettyName=David Test

davidtest.shapeFile=data/shape/stw/dm_balt2_dd.shp

davidtest.spatialIndex=data/shape/stw/dm_balt2_dd.ssx

davidtest.lineColor=ff000000

davidtest.fillColor=88ffff99

davidtest.csvFile=data/shape/stw/dm_balt2_dd.csv

# An attribute to tell the AreaHandler to skip over the first row

# of the csv file if it contains descriptive column header names.

davidtest.csvFileHasHeader=true

davidtest.keyIndex=5

davidtest.nameIndex=5

davidtest.areas=3 2 1

davidtest.areas.1.fillColor=88ffff99

davidtest.areas.2.fillColor=88ffff99

davidtest.areas.3.fillColor=88baf1f8

</file-snippet>

--
[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 Mon Oct 20 09:17:28 2003

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