map center not set except on opening a map #115

Closed
jywarren opened this Issue Jun 28, 2012 · 9 comments

Comments

Projects
None yet
4 participants
Owner

jywarren commented Jun 28, 2012

if the whole map is made in a single session, the center is not correctly set -- it uses the original text-based geolocation

@jywarren jywarren closed this in 8a8b68f Aug 16, 2012

Fastie commented Aug 29, 2012

I think I used a town name to initiate the location of this map: http://mapknitter.org/map/view/sunrise-orchards. When I first tried to view the finished map, I was shown the center of that town instead of the actual location of the orchard. So I had to navigate to my map. Now I am taken to the correct location, but the map is nowhere to be found. I tried exporting again, but got the same result. Should I try exporting again?

Collaborator

mathewlippincott commented Aug 29, 2012

For a complete historical record: I re-centered your map in mapknitter about 10 days ago, right before publishing the newsletter. I wanted people to see it when they clicked the link. I don't know where the map went though.

Collaborator

gonzoearth commented Aug 29, 2012

I tried to bring this map into the Public Lab archive a few weeks ago. The
export seemingly worked on first glance, but the tiles themselves are not
there.

My guess is that this map is just beyond the MapKnitter size threshold.
Maybe Jeff can confirm this. If so, we need to separate this map into two
East-West parts. But I wish this were not a problem, is there any way to
force MapKnitter to accept this export?

I have trouble understanding the size limits. In some cases maps have
failed exports due to geographic extents that are too large, and too many
images in other projects. This map seems fairly typical in size and extent.
How can we get MapKnitter to support maps like this one?

Thanks,
Stewart

On Tue, Aug 28, 2012 at 5:15 PM, mathew lippincott <notifications@github.com

wrote:

For a complete historical record: I re-centered your map in mapknitter
about 10 days ago, right before publishing the newsletter. I wanted people
to see it when they clicked the link. I don't know where the map went
though.


Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/issues/115#issuecomment-8111587.

Owner

jywarren commented Aug 29, 2012

Hmm, i'm not 100% sure but i would guess that this is due to the map being too large. Stewart - it's important to know (and maybe it should be listed somewhere) that the geographic extent is part of it, but so is the resolution. This map covers a large area at 5cm resolution, and has lots of images, so at some point, MapKnitter is handling all those images at pretty good resolution, across a large pixel space.

I'm divided on what to do here -- I could either:

  • try to raise limits so that the map goes through
  • build a map-splitting tool so Chris doesn't lose his work, and we can split up maps more readily into smaller parts
  • build a rendering option which allows you to save multiple exports, and to check off which images you want to include in each (or draw a rectangle around the area you want in each export)
  • just add better warnings and error reporting with a suggestion to lower the resolution (in this case, say, to 10cm/px for starters) to see if it goes through.

I'm inclined to start with the last option, which would at least tell us if that is the problem. Then we could spec out a better solution with the information we gain.

Fastie commented Aug 29, 2012

I will export it again at progressively lower resolutions until it works.

Collaborator

gonzoearth commented Aug 29, 2012

Sorry, Thanks for clarifying. I was sort of pleading ignorance because while I know there is a resolution threshold, I didn't know exactly what was triggering it.
Because this particular map is not too huge or numerous in images it would be nice if we could use any of these options to improve the situation so that a project of these characteristics can make it through.

Fastie commented Aug 29, 2012

I exported it at 7 cm/px. It shows up, but seems to be rather fragile. It appears to display only at certain zoom levels.
http://mapknitter.org/map/view/sunrise-orchards

Collaborator

gonzoearth commented Aug 30, 2012

that worked!
http://publiclaboratory.org/map/sunrise-orchards-cornwall-vermont/2012-04-29-0
thank you both!

On Wed, Aug 29, 2012 at 2:26 PM, Fastie notifications@github.com wrote:

I exported it at 7 cm/px. It shows up, but seems to be rather fragile. It
appears to display only at certain zoom levels.


Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/issues/115#issuecomment-8141808.

Owner

jywarren commented Aug 30, 2012

I will check but fragility could be from local browser cache.
On Aug 29, 2012 8:25 PM, "stewart long" notifications@github.com wrote:

that worked!

http://publiclaboratory.org/map/sunrise-orchards-cornwall-vermont/2012-04-29-0
thank you both!

On Wed, Aug 29, 2012 at 2:26 PM, Fastie notifications@github.com wrote:

I exported it at 7 cm/px. It shows up, but seems to be rather fragile.
It
appears to display only at certain zoom levels.


Reply to this email directly or view it on GitHub<
https://github.com/jywarren/mapknitter/issues/115#issuecomment-8141808>.


Reply to this email directly or view it on GitHubhttps://github.com/jywarren/mapknitter/issues/115#issuecomment-8145783.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment