CreateLineStringWithUdig

2 messages Options
Embed this post
Permalink
iceDice

CreateLineStringWithUdig

Reply Threaded More More options
Print post
Permalink
Hello,

I want to create some line strings which represents streets on map with uDig.
I use line tool for this purpose and i have problem when i want to make crossroad,
when three or more line segments intersects.
I nodded point of intersection when creating all the line segments which belongs
to that crossroad (i made it with precision to five decimals as uDig show coordinates
on map with that precision). However when i create graph with GeoTools graph module
not all line segments are interconnected and reason is because not all line strings intersects
at same point - i suspect diversity is in sixth or seventh decimal. I tried also to put all
coordinates with precision to five decimals when creating graph but result is same.
Is there any other way to create crossroads with uDig, or to show coordinates with
better precision when creating lines.

Any ideas how to create crossroad in uDig that have only one common point for
all lines (three or more) that intersects?

Best regards.
Jody Garnett-2

Re: CreateLineStringWithUdig

Reply Threaded More More options
Print post
Permalink
You should be able to use "snapping" when creating lines in order to  
have good precision. Walkthrough 2 has examples of how to change  
between snapping modes. I would have a point for the different  
intersections on one layer; have a second layer for the roads and  
while I draw the roads I would have snapping to the point layer turned  
on.

Jody

On 28/08/2009, at 3:29 AM, iceDice wrote:

>
> Hello,
>
> I want to create some line strings which represents streets on map  
> with
> uDig.
> I use line tool for this purpose and i have problem when i want to  
> make
> crossroad,
> when three or more line segments intersects.
> I nodded point of intersection when creating all the line segments  
> which
> belongs
> to that crossroad (i made it with precision to five decimals as uDig  
> show
> coordinates
> on map with that precision). However when i create graph with  
> GeoTools graph
> module
> not all line segments are interconnected and reason is because not  
> all line
> strings intersects
> at same point - i suspect diversity is in sixth or seventh decimal.  
> I tried
> also to put all
> coordinates with precision to five decimals when creating graph but  
> result
> is same.
> Is there any other way to create crossroads with uDig, or to show
> coordinates with
> better precision when creating lines.
>
> Any ideas how to create crossroad in uDig that have only one common  
> point
> for
> all lines (three or more) that intersects?
>
> Best regards.
> --
> View this message in context: http://n2.nabble.com/CreateLineStringWithUdig-tp3528568p3528568.html
> Sent from the udig-users mailing list archive at Nabble.com.
> _______________________________________________
> udig-users mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/udig-users

_______________________________________________
udig-users mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/udig-users