[Gvsig_english] Problem creating

Antonio Falciano antonio.falciano at gmail.com
Wed Jan 27 14:59:47 CET 2016


Il 27/01/2016 14:31, Silvia Franceschi ha scritto:
> Sorry... 3 times each point.
>
> Silvia
>
>
> On Wed, Jan 27, 2016 at 2:28 PM, Silvia Franceschi wrote:
>
>     Thank you guys!
>     It works now, but, when I convert the geometries from multipoints to
>     points I obtain the same feature 6 times (this for each point in the
>     layer) do you have an idea on why it happens?

Silvia, the same happens with ogr2ogr:
ogr2ogr punti_distanze_explode.shp punti_distanze.shp -explodecollections
It depends by how the shape was generated by the fist application you
used. In fact:

ogrinfo -q punti_distanze.shp punti_distanze

Layer name: punti_distanze
OGRFeature(punti_distanze):0
   name (String) = 1
   test2 (Real) = 4.000
   MULTIPOINT (1817161.9516000017 4806174.3258,1817161.9516000017 
4806174.3258,18
17161.9516000017 4806174.3258)

OGRFeature(punti_distanze):1
   name (String) = 1
   test2 (Real) = 4.000
   MULTIPOINT (1817159.6262579849 4806112.4438195806,1817159.6262579849 
4806112.4
438195806,1817159.6262579849 4806112.4438195806)

...and so on.

ciao
Antonio

-- 
Antonio Falciano
http://www.linkedin.com/in/antoniofalciano


More information about the Gvsig_internacional mailing list