RE: Usuari os SharpMap que habl amos español [SharpM ap:9485]

Sep 1, 2012 at 11:46 PM
crea una capa de multiples geometrias y añadele las dos lines

From: [email removed]
To: [email removed]
Date: Sat, 1 Sep 2012 08:54:37 -0700
Subject: Re: Usuarios SharpMap que hablamos español [SharpMap:9485]

From: danielvkp
si estaba revisando la libreria y necesito hacer unas lineas separas
tngo este codigo
while (reader.Read())
Xi = Convert.ToDouble(reader["xi"]);
Yi = Convert.ToDouble(reader["xf"]);
Xf = Convert.ToDouble(reader["yi"]);
Yf = Convert.ToDouble(reader["yf"]);
SharpMap.Geometries.Point firstPoint = new SharpMap.Geometries.Point(Xpi, Xpf);
SharpMap.Geometries.Point lastPoint = new SharpMap.Geometries.Point(Ypi,Ypf);
SharpMap.Geometries.LineString ls = new SharpMap.Geometries.LineString(verticesNodes);
SharpMap.Geometries.GeometryCollection gc = new SharpMap.Geometries.GeometryCollection();
SharpMap.Data.Providers.GeometryProvider gp = new SharpMap.Data.Providers.GeometryProvider(gc);
SharpMap.Layers.VectorLayer vl = new SharpMap.Layers.VectorLayer("lineLayer");
vl.DataSource = gp;
quiero que me haga las lineas separadas, pero termina uniéndolas, como puedo crear lineas separadas en la misma capa a partir de coordenadas?
gracias un saludo
Read the full discussion online.
To add a post to this discussion, reply to this email (
To start a new discussion for this project, email
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at