# Automapping tile question

**URL:** <https://discourse.mapeditor.org/t/automapping-tile-question/2059>\
**Category:** Questions\
**Created:** [February 19, 2017, 11:09am UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059 "2017-02-19T11:09:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Kocurek](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/andrew_kocurek/32/1020_2.png) [@Andrew\_Kocurek](https://discourse.mapeditor.org/u/Andrew_Kocurek)\
**Post date:** [February 19, 2017, 11:09am UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/1 "2017-02-19T11:09:10Z")

</div>

So automapping. First, I have gotten it to work, but only sometimes, let me explain.

I have some overlapping mountains so I created an Automap rule that has it look for the top of the overlapping mountains and then map just the single peak version (not overlapping) to each.

Like I said, I’ve gotten this to work, but only whenever I use the reference of input\_ground / output\_ground.  
I want to make a layer that is just the mountains. I created it and called it mount but now my rule just… it doesn’t work at all. Clearly there’s some sort of naming issue or something, I just have absolutely no clue why I can get it to work on the ground layer but now the mountain layer.

Any answers?

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [February 20, 2017, 8:34am UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/2 "2017-02-20T08:34:42Z")

</div>

Do you have your rules published anywhere or could you may provide a small example of your setup? It would make it easier to reproduce the problem and to try to find a solution.

---

<div class="post-metadata">

**Author:** ![Andrew\_Kocurek](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/andrew_kocurek/32/1020_2.png) [@Andrew\_Kocurek](https://discourse.mapeditor.org/u/Andrew_Kocurek)\
**Post date:** [February 20, 2017, 8:39am UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/3 "2017-02-20T08:39:17Z")

</div>

Sure I can take a few pictures and link them I think. Gimme a few minutes

---

<div class="post-metadata">

**Author:** ![Andrew\_Kocurek](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/andrew_kocurek/32/1020_2.png) [@Andrew\_Kocurek](https://discourse.mapeditor.org/u/Andrew_Kocurek)\
**Post date:** [February 20, 2017, 8:58am UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/4 "2017-02-20T08:58:35Z")

</div>

Okay, this first image is where my rules work with the ground layer… ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/9/944a9fd14ae761e7abb3f6b0fb6dfecc92e9931d.png)

now when I change the ground to mountain it doesn’t work. same rules and everything. ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/f/f231cfd3ca06321aa35493fdc1eb0524b632ebec.png)

---

<div class="post-metadata">

**Author:** ![Andrew\_Kocurek](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/andrew_kocurek/32/1020_2.png) [@Andrew\_Kocurek](https://discourse.mapeditor.org/u/Andrew_Kocurek)\
**Post date:** [February 20, 2017, 1:23pm UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/5 "2017-02-20T13:23:53Z")

</div>

Okay I did a bit of experimenting and I’ve further narrowed down the reason why it’s not working. So it works when I fill the entire map up with grass and then do the mountain thing (which destroys the grass that was there.

Still have no idea why it’s not working with the blank maps…

---

<div class="post-metadata">

**Author:** ![Andrew\_Kocurek](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/andrew_kocurek/32/1020_2.png) [@Andrew\_Kocurek](https://discourse.mapeditor.org/u/Andrew_Kocurek)\
**Post date:** [February 20, 2017, 2:22pm UTC](https://discourse.mapeditor.org/t/automapping-tile-question/2059/6 "2017-02-20T14:22:59Z")

</div>

Upon further further inspection I’ve found that the output tile seem to requires a tile to overwrite, it doesn’t seem as if it can be drawn on the layer with no tiles. I’ve found a way around this by just flooding the layer with transparent tiles. So now it works fine and has the exact same visuals.
