-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add bay water feature label positions #400
Comments
Target layer: |
Also, |
Load balancing to v0.8 |
Did you mean |
Yep, that's the one. Referenced on the same page, the following natural (water) features are also candidates:
|
There's only 12 sounds and 4 fishing banks. Should we still include those anyway? |
Skip
|
@rmarianski How were we picking up the blue water area before? Was it tagged with both water and bay? If we already have a polygon for these, is there a way to only export the label position points (not the full polygon geoms)? |
@nvkelso, there's a shoreline as well as the bay polygon (rather annoyingly, they don't match up along the shore), which means we're picking up the blue water polygon from the water / coastline polygons from OpenStreetMapData, and potentially now a mostly-overlapping polygon. I think if we only want this for labelling, then it might be better to only extract the points - otherwise we might cause a lot more work for the Do we have any of these features inland? If so, do they overlap other water polygon features such as lakes and riverbank polygons? |
Good points! Let's make an assumption that the new features are only marine related (not inland waters related), and only get points back instead of full polys in tiles. Is that best done in PostGIS or in a processing step before the Mapzen coastline transform?
|
Do we have a coastline transform step? My understanding is that we just pulled in data directly from openstreetmapdata. I'm assuming that if we just want points, we'll want to maintain the label positions of these features in a trigger. And just making this explicit, it will mean that nobody will be able to style these polygons differently from water, because only the label will be available. AFAIK, this is the first time we would be generating only a label without the underlying feature. |
The coastline is transformed along with everything else as part of the post-processing pipeline, but we don't (currently) do anything to it in PostGIS-land. We might want to pull the polygons into tilequeue and then run the same label point generation code that we use for other features. In addition to being consistent and perhaps less code, it means we wouldn't have to worry about triggers / migrations for label positions. (On the downside, it means pulling more geometry back from the database, something we'd have to watch.) Re: styling, I think it would be confusing to have these in addition to the other water polygons, as they don't seem to define the shoreline... and I don't think it's rendered on OSM's default rendering (notice the spit of background land which is underneath the bay polygon but not blue). If someone tried to turn them off, they'd find that we had intercut them with the shoreline and therefore a large chunk of water was missing, rather than reverting to the shoreline shown by default on OSM. I confuse myself by trying to talk about it! 😉 |
Yeah, these appear to more like “intended labeling areas” than physical On Fri, Jan 29, 2016 at 9:33 AM, Matt Amos notifications@github.com wrote:
|
LGTM |
Into the
water
layer.See also:
The text was updated successfully, but these errors were encountered: