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

clipmap_bounds incorrectly set to map bounds not clip bounds #45

Open
lklepner opened this issue May 6, 2016 · 2 comments
Open

clipmap_bounds incorrectly set to map bounds not clip bounds #45

lklepner opened this issue May 6, 2016 · 2 comments

Comments

@lklepner
Copy link
Contributor

lklepner commented May 6, 2016

The bounds of the Preview window, which are determined by the clipmap_bounds_merc value, seem to be the bounds of the raw map, not the clipped map, causing zoomToMaxExtent to be offcenter and too wide (framing for the uncropped map).

@lklepner
Copy link
Contributor Author

I suspect that fixing this problem will greatly enhance the ability to accurately search by location #36

For example if you search for rectified maps by location using "Mahopac, NY" and then review the first page of results you'll find that none of the maps listed actually contain Mahopac -- they are maps of the surrounding area which have extraneous space around the display area which overlap Mahopac itself. This inaccuracy maps the search by location function much less useful.

@mgiraldo
Copy link
Contributor

yeah we have been making some fixes on this. originally the warper only used the bbox (i guess) because not all maps have a clip mask. we're slowly working on making fixes. i agree that using clip mask if present is the better way

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