Hi Don,
If I have a lake polygon inside a country border polygon the lake polygon is filled first with the country color and then with the lake color, resulting in a mix of the two colors in the lake.
David
-----Original Message-----
From: Don Dietrick [mailto:dietrick@bbn.com]
Sent: den 25 oktober 2003 04:27
To: Marklund David
Cc: openmap-users@bbn.com
Subject: Re: VB: [OpenMap Users] color on map gets wicked
Hi David,
Are the features that are being colored twice painted with the same
color, or with different colors? I'm wondering if your data has
polygons with holes, and OpenMap probably won't handle them correctly.
- Don
On Oct 21, 2003, at 10:30 AM, Marklund David wrote:
> Hi all,
> I found one error that gets my a little bit closer to the result, but
> not all the way. The csv-file contained decimal numbers separated
> by comma, which the csv file interpreted by reading the wrong column.
> Not all the way, but a little bit,
>
> Anyone else ?
>
> David
> -----Ursprungligt meddelande-----
> Från:Marklund David
> Skickat:må 2003-10-20 14:42
> Till:openmap-users@bbn.com
> Kopia:
> Ämne:[OpenMap Users] color on map gets wicked
>
>
> 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>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 27 08:06:34 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT