Hello Ben,
netconvert does not allow edges that loop back onto the same node. When
importing from OSM, an extra node is added to ensure this of kind road topology
is kept. You appear to be the first person who notices this case for shapefile
import.
I've opened up a ticket (http://sumo.dlr.de/trac.wsgi/ticket/1875) and would be
happy to accept your patch if you care to fix this (-:

regards,
Jakob

On 09/02/2015 08:19 PM, Ben Postance wrote:
> it seems to be every edge is removed where
>
> Warning: Edge '1196' connects identical nodes, skipping.
>
> Yet it is a unique edge
> ________________________________________
> From: Ben Postance <[email protected]>
> Sent: 02 September 2015 6:54 PM
> To: [email protected]
> Subject: [sumo-user] Shape file import
>
> Hi
>
> using sumo 0.23
>
> When I import the attached shapefile using
>
> netconvert64 --shapefile-prefix net_simp -o shptest1.net.xml 
> --shapefile.street-id eid --shapefile.from-id startnode --shapefile.to-id 
> endnode --shapefile.use-defaults-on-failure TRUE
>
> shapefile of gid = 1196 is missing, as are a number of others.
>
> How can I get netconvert to keep all edges?
>
> I have tried changing the projection, using options 
> --plain.extend-edge-shape, --junctions.join
>
> Thanks
>
> Ben
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to