Hi Landon,

My case last week was about parcel IDs and landuse codes and aim was to union 
areas so that polygons with same landuse and belonging to same owner would make 
one polygon.

For another use see attached images and source data in Jump JML format.  Data 
could present two highways with ref. IDs "100" and "200". Both highways have 
sections with speed limits "60" and "80". Aim is to merge segment of highway 
"100" with speed limit "80" together etc.

Image one: Original segmented data
Image two: Desired end result. Notice an extra: Highway "100" has speed limit 
"60" in two distinct places. I do not want them to be combined into 
multilinestring. OJ can handle this case with two subsequent operations: Merge 
selected features + Explode selected features.

-Jukka Rahkonen-






________________________________
Lähettäjä: Landon Blake [sunburned.surve...@gmail.com]
Lähetetty: 7. syyskuuta 2014 22:10
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] Union/dissolve by several attributes

Jukka:

Can you give me some more details on the actual union you are trying to 
accomplish? What do you integer attributes represent?

Thanks.

Landon


On Wed, Sep 3, 2014 at 4:21 AM, Rahkonen Jukka (Tike) 
<jukka.rahko...@mmmtike.fi<mailto:jukka.rahko...@mmmtike.fi>> wrote:
Hi,

I would like to union features by two or perhaps more attributes. I wonder if 
the current Union/Dissolve/Merge tool could be developed to support the use of 
combined classes. In my use case I have two integer attributes which define the 
classes and it is a bit tricky to calculate a new concatenated field from 
those. Perhaps it is possible to do with the Beanshell Attribute Calculator but 
it is not obvious for me how. An example: I have two integer attributes and I 
would like to concatenate their values to one field which I would like to use 
for merging later. If the attribute values are A=80 and B=20, how could I 
conbine them into "80-20" or something like that? Well, in this case I could do 
(100xA)+B=8020 but what to do if I had also strings to concatenate as A=80 and 
B=true? I can do the task fine with Spatialite but it would be a bit more 
fluent to do everything with OpenJUMP.

-Jukka Rahkonen-

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Attachment: two_attribute_union.jml
Description: two_attribute_union.jml

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to