Skip to main content
Question

Creating multiple MapNikRasterizer Maps using overlapping polygons

  • January 19, 2021
  • 4 replies
  • 33 views

kieranmg
Forum|alt.badge.img+3

Hi All,

 

I'm trying to create a series of basic maps to illustrate address points which are broken into clusters. The cluster size range from 16 to 600, some clusters are beside each other in built-up-areas.

 

When processing each cluster it seems the extent(or boundbox) of each map clips layer data in overlapping areas. Can anyone suggest what i may be doing wrong? or another approach.

 

Many thanks

Kieranmapnikrasterizer1mapnikrasterizer2 

 

4 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 19, 2021

@kieranmg​ 

 

If you want ot process data in overlapping area's you can spatial relate the area's first.

Then clone the area's which overlap 1 or more times.

 

Then you can do your processing grouped by area_ID and _copynum (attribute from cloner)


kieranmg
Forum|alt.badge.img+3
  • Author
  • January 20, 2021

@kieranmg​ 

 

If you want ot process data in overlapping area's you can spatial relate the area's first.

Then clone the area's which overlap 1 or more times.

 

Then you can do your processing grouped by area_ID and _copynum (attribute from cloner)

Thanks gio, i've attempted this but i'm not sure it will work. The overlapping data will have a _copynum value of 1,2.. etc but each internal non-overlapping part will always be 0, so the group by won't work. hope that makes sense


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • January 20, 2021

Thanks gio, i've attempted this but i'm not sure it will work. The overlapping data will have a _copynum value of 1,2.. etc but each internal non-overlapping part will always be 0, so the group by won't work. hope that makes sense

@kieranmg​ 

 

I wrote :

 

Group By on area_ID and _copynum.

 

Either concatenate them or use both attributes in the group by.

Latter is not always available on all transformers.

 

If you don't have an unique area id make one using a counter.

 

So group by is possible, in fact i do it all the time.

 

Also this question has been posted in various forms.

I would advice to use t he search function in this forum. Often this question is in relation to clippers, overlayers.

 

It always helps to post a sample data set, you get sample solutions pretty quick on this forum.

 

 

Greets,

Gio


kieranmg
Forum|alt.badge.img+3
  • Author
  • January 21, 2021

Thanks gio, i've attempted this but i'm not sure it will work. The overlapping data will have a _copynum value of 1,2.. etc but each internal non-overlapping part will always be 0, so the group by won't work. hope that makes sense

Thanks Gio, sorry i meant to include that this was using both area_id & copy_num.. The bit i was overlooking was the 'Generating List' parameter in the SpatialRelator so i could use ListExploder to get the other areas rather than clone. Thanks for sending me on the right path