[Shapelib] Styles ?

sagent100 sagent100 at yahoo.com.ar
Mon Sep 29 14:40:22 PDT 2008


Brian
I can't find in the dbf api how to set the styles !
Can you send me a very simple example ?

thank you !





Brian Peschel wrote:
> 
>> > From: shapelib-bounces at lists.maptools.org
>> > Hi,
>> > As you may be can see, I am new using shapes files!
>> > The question is, when we create a new object using shapelib, where is
>> it
>> > possible to set the styles ?
>> > For example if i am creating a point, where can we define the fontname,
>> > size, color, angle, etc ?
>> > Or creating a line, the style (dash, dot, single, etc), color, size,
>> etc
>> > Or creating a poligon, the brush, background color, border style,
>> border
>> > size, etc.
>> >
>> From: "Todd Patten" <todd.patten at sbcglobal.net>
>> The shapefile contains the geometry not the attributes such as those you
>> describe.  In general this type of editing is performed in the
>> application
>> displaying the shapefile.  If you wanted to set these attributes, you
>> would
>> use a format such as ESRI's layer file (.lyr).  
>>
> 
> You could always define this in the DBF file.....
> 
> - Brian
> 
> _______________________________________________
> Shapelib mailing list
> Shapelib at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/shapelib
> 
> 

-- 
View this message in context: http://www.nabble.com/Styles---tp19716860p19732274.html
Sent from the ShapeLib mailing list archive at Nabble.com.




More information about the Shapelib mailing list