I just started doing some ORM development and I'm using kosmtik. While I like it, it's sometimes hard to figure out where you are or more appropriately, where you are trying to go.
Some areas I can recognize by geography: single lines on peninsulas, major rail hubs like Chicago or Kansas City, by shape/lines once you know the area, etc. I can also get a permalink from ORM and put the coordinates into the url for kosmtik.
However, I was wondering if there was a way to get the ORM background (Mapnik Grayscale) or similar to display behind the renderings from the MML file. There seems to be quite a few additional plugins for kosmtik but it's a bit confusing as to what they do or how they work. I've seen ones that will render side by side or over but not under. Not sure if I'd fully need to render the "world" or if the grayscale tiles could be pulled in from an existing tileserver.
Also, did anyone have any luck working with two sessions of kosmtik? I can run a second .mml and specify a different port number, but sometimes, the browser, seeing the same url (despite differing port numbers), caches the tiles and requires a hard refresh to get the correct view. I could probably play around with running the mml files out of a different folder or symlinking them.
Thanks, Jonathan
Hi Jonathan,
Am 23.02.22 um 15:53 schrieb Jonathan J. Bittner:
I just started doing some ORM development and I'm using kosmtik. While I like it, it's sometimes hard to figure out where you are or more appropriately, where you are trying to go.
Some areas I can recognize by geography: single lines on peninsulas, major rail hubs like Chicago or Kansas City, by shape/lines once you know the area, etc. I can also get a permalink from ORM and put the coordinates into the url for kosmtik.
However, I was wondering if there was a way to get the ORM background (Mapnik Grayscale) or similar to display behind the renderings from the MML file. There seems to be quite a few additional plugins for kosmtik but it's a bit confusing as to what they do or how they work. I've seen ones that will render side by side or over but not under. Not sure if I'd fully need to render the "world" or if the grayscale tiles could be pulled in from an existing tileserver.
I often run https://github.com/geofabrik/tileserver-demosite where I configure the layer served by Kosmtik locally and tiles from osm.org.
Even more often, I try out changes using Nik4, i.e. I render static map images (2048x2048 px).
Best regards
Michael
Thank you! That worked really, really well!
On Wed, Feb 23, 2022 at 1:49 PM Michael Reichert osm-ml@michreichert.de wrote:
Hi Jonathan,
Am 23.02.22 um 15:53 schrieb Jonathan J. Bittner:
I just started doing some ORM development and I'm using kosmtik. While I like it, it's sometimes hard to figure out where you are or more appropriately, where you are trying to go.
Some areas I can recognize by geography: single lines on peninsulas,
major
rail hubs like Chicago or Kansas City, by shape/lines once you know the area, etc. I can also get a permalink from ORM and put the coordinates into the url for kosmtik.
However, I was wondering if there was a way to get the ORM background (Mapnik Grayscale) or similar to display behind the renderings from the
MML
file. There seems to be quite a few additional plugins for kosmtik but it's a bit confusing as to what they do or how they work. I've seen ones that will render side by side or over but not under. Not sure if I'd
fully
need to render the "world" or if the grayscale tiles could be pulled in from an existing tileserver.
I often run https://github.com/geofabrik/tileserver-demosite where I configure the layer served by Kosmtik locally and tiles from osm.org.
Even more often, I try out changes using Nik4, i.e. I render static map images (2048x2048 px).
Best regards
Michael
the answer to my other question: in kosmtik, the --style-id option can be used to modify the project URL
On Wed, Feb 23, 2022 at 10:23 PM Jonathan J. Bittner jbittner@gmail.com wrote:
Thank you! That worked really, really well!
On Wed, Feb 23, 2022 at 1:49 PM Michael Reichert osm-ml@michreichert.de wrote:
Hi Jonathan,
Am 23.02.22 um 15:53 schrieb Jonathan J. Bittner:
I just started doing some ORM development and I'm using kosmtik. While
I
like it, it's sometimes hard to figure out where you are or more appropriately, where you are trying to go.
Some areas I can recognize by geography: single lines on peninsulas,
major
rail hubs like Chicago or Kansas City, by shape/lines once you know the area, etc. I can also get a permalink from ORM and put the coordinates into the url for kosmtik.
However, I was wondering if there was a way to get the ORM background (Mapnik Grayscale) or similar to display behind the renderings from the
MML
file. There seems to be quite a few additional plugins for kosmtik but it's a bit confusing as to what they do or how they work. I've seen
ones
that will render side by side or over but not under. Not sure if I'd
fully
need to render the "world" or if the grayscale tiles could be pulled in from an existing tileserver.
I often run https://github.com/geofabrik/tileserver-demosite where I configure the layer served by Kosmtik locally and tiles from osm.org.
Even more often, I try out changes using Nik4, i.e. I render static map images (2048x2048 px).
Best regards
Michael
Just to follow up, I found that kosmtik's overlay plugin can be run with a negative value to create an underlay. With opacity around 0.3, the standard carto map from the public tileservers works great. I wish there was a public greyscale or b&w map though. I found a subscription service and quickly burned through my free account's monthly quota.
For me kosmtik works better since it also has a go to JOSM plugin.
On Thu, Feb 24, 2022 at 2:14 PM Jonathan J. Bittner jbittner@gmail.com wrote:
the answer to my other question: in kosmtik, the --style-id option can be used to modify the project URL
On Wed, Feb 23, 2022 at 10:23 PM Jonathan J. Bittner jbittner@gmail.com wrote:
Thank you! That worked really, really well!
On Wed, Feb 23, 2022 at 1:49 PM Michael Reichert osm-ml@michreichert.de wrote:
Hi Jonathan,
Am 23.02.22 um 15:53 schrieb Jonathan J. Bittner:
I just started doing some ORM development and I'm using kosmtik. While I like it, it's sometimes hard to figure out where you are or more appropriately, where you are trying to go.
Some areas I can recognize by geography: single lines on peninsulas, major rail hubs like Chicago or Kansas City, by shape/lines once you know the area, etc. I can also get a permalink from ORM and put the coordinates into the url for kosmtik.
However, I was wondering if there was a way to get the ORM background (Mapnik Grayscale) or similar to display behind the renderings from the MML file. There seems to be quite a few additional plugins for kosmtik but it's a bit confusing as to what they do or how they work. I've seen ones that will render side by side or over but not under. Not sure if I'd fully need to render the "world" or if the grayscale tiles could be pulled in from an existing tileserver.
I often run https://github.com/geofabrik/tileserver-demosite where I configure the layer served by Kosmtik locally and tiles from osm.org.
Even more often, I try out changes using Nik4, i.e. I render static map images (2048x2048 px).
Best regards
Michael
openrailwaymap@openrailwaymap.org