<div dir="ltr">O, I didn't realize you were creating those maps from raster sources. This explains why they look this way. You're right. TM2 won't help you with raster sources. You'd have to use just good old Tilemill 1 for them. I can provide free Mapbox hosting for OSM tracing maps if this is interesting. Just ping me off - list.<div>
<br></div><div>Cheers -<br><div><br></div><div>Alex</div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 7:29 PM, Thiago Marcos P. Santos <span dir="ltr"><<a href="mailto:tmpsantos@gmail.com" target="_blank">tmpsantos@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>On 09-03-2014 22:43, Alex Barth wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">Thiago -</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">This tracing layer looks great.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2014-03-07 16:02 GMT-05:00 Thiago
Marcos P. Santos <span dir="ltr"><<a href="mailto:tmpsantos@gmail.com" target="_blank">tmpsantos@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="overflow:hidden"> (um sonho
que vai requerer muito poder de processamento e<br>
espaço de armazenamento). :)</div>
</blockquote>
</div>
<div class="gmail_extra"><br>
</div>
Take a look at TM2. With TM2 you can render vector tiles (much
smaller than raster tiles) and then separately render the
vector tiles on the fly. You don't need to set up your own
tile server but you can use Mapbox, happy to provide an
account for free for this project. Let me know if you're
interested or if you need help getting started on TM2.</div>
<div class="gmail_extra"><br>
</div>
</div>
</blockquote>
<br></div></div>
Hi Alex,<br>
<br>
I will definitely have a look at TM2 and thanks a lot for the free
storage offer.<br>
<br>
Now a few words on some technical challenges I'm having and maybe
you can point if TM2 is adequate for the task and where I can plug
TM2 on my rendering pipeline.<br>
<br>
The main idea here is to convert scattered maps fragments made
available by IBGE as PDFs into map tiles that can be used as support
reference for urban map tracing.<br>
<br>
PDFs are supposedly a vector format, but you can embedded byte
streams objects into it. And that is exactly what IBGE did: there is
not a single vector data on these PDFs. What the tool I'm developing
does is extract the byte stream, which turns out to be a PPM image,
crop the map from it and run a OCR to extract the coordinates. From
that I generate GeoTIFFs for each PDF of a particular location. IBGE
packs them by municipalities.<br>
<br>
The next step in my pipeline is to take all the GeoTIFFs and merge
into a single one. This is needed because they are in a different
geographic scale, resolution and there are a lot of overlaps.<br>
<br>
Finally, I'm generating raster tiles from this big GeoTIFF in
different zoom levels. This is where I believe Mapbox can do its
magic. :)<br>
<br>
If I got the idea right, the fact that my map source is a raster
image is a problem for TM2. I could maybe try to vectorize it, but
I'm skeptical about the results (but I will have a look at things
like libautotrace anyway).<br>
<br>
Cheers,<br>
</div>
<br>_______________________________________________<br>
Talk-br mailing list<br>
<a href="mailto:Talk-br@openstreetmap.org">Talk-br@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-br" target="_blank">https://lists.openstreetmap.org/listinfo/talk-br</a><br>
<br></blockquote></div><br></div>