NYULibraries/spatial_data_repository

Line, Point, and some Polygon overlays disappear as user zooms in

Opened this issue · 4 comments

As a user zooms in on the Leaflet window, features will disappear after moving from zoom level 1 to 2 (e.g. one + click zoom in), especially for line and point features. Polygons sometimes will persist at closer zoom levels, but they too will disappear once you move past a certain zoom level.

Note that this behavior is weirdly inconsistent, and some vector records will perform as expected, others will not.

POINT EXAMPLE

Record: https://geo.nyu.edu/catalog/nyu-2451-34416

On original load, we see the points (note also lo-res rendering on a Mac retina screen):

Image

After one + click to Zoom in, the points dissappear:

Image

LINES EXAMPLE

Record: https://geo.nyu.edu/catalog/nyu-2451-33891

Image

Image

POLYGONS EXAMPLE

Record: https://geo.nyu.edu/catalog/nyu-2451-34425

Image

Image

spilth commented

I don't know if this is intended, but the data on this page won't load at all unless I'm connected to the VPN.

spilth commented

Looking at this with @gulshan11. It looks like requests go to the restricted GeoServer but at certain zoom levels GeoServer just returns empty images, so I'm wondering if that's a configuration issue on the GeoServer side.

spilth commented

I'm not sure if this means anything but I loaded both the WMS and WFS versions of this data source into QGIS and only the WFS returns visible data regardless of the zoom level.

Image

The download link for EPSG:4326 Shapefile at https://geo.nyu.edu/catalog/nyu-2451-34416 doesn't redirect to any specific shp file.
Image