Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leaflet doesn't generate maps correctly #19

Open
krisalyssa opened this issue Dec 30, 2018 · 1 comment
Open

leaflet doesn't generate maps correctly #19

krisalyssa opened this issue Dec 30, 2018 · 1 comment

Comments

@krisalyssa
Copy link

Given this configuration, in GameData/Sigma/Cartographer/SigmaCartographer.cfg:

@SigmaCartographer
{
	// level 0
	Maps
	{
		body = Kerbin
		colorMap = true
		satelliteMap = true
		oceanFloor = false
		width = 512
		tile = 256
		exportFolder = 0
		leaflet = true
	}
}

SigmaCartographer creates a directory at GameData/Sigma/Cartographer/PluginData/Kerbin/0/ColorMap which is empty. There's no other output as far as I can tell.

If colorMap is changed to false, SigmaCartographer creates a directory at GameData/Sigma/Cartographer/PluginData/Kerbin/0/SatelliteMap containing a single image file which has the map for the "eastern" half of Kerbin (pole to pole latitude, 0 to +180 degrees longitude).

If leaflet is set to false, SigmaCartographer creates a directory at GameData/Sigma/Cartographer/PluginData/Kerbin/0/SatelliteMap containing two image files. Tile0000.png has the map for the "western" half of Kerbin, while Tile0001.png has the map for the "eastern" half.

For what it's worth, the tiles from kerbalmaps.com and ksp.deringineur.net were in a directory structure that looked something like

kerbin
  sat
    0
      0
        0.png
      1
        0.png

The general form is {body}/{style}/{zoom}/{x}/{y}.png. body, style, and zoom would all come from config values, I expect.

@Sigma88
Copy link
Owner

Sigma88 commented Jun 23, 2019

sorry for the long absence, I just uploaded a new version of Cartographer, I am not sure this issue was fixed, if you could try and let me know it would be apreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants