NYULibraries / spatial_data_repository

NYU's GeoBlacklight instance @ geo.nyu.edu
https://geo.nyu.edu
6 stars 2 forks source link

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

Closed nmwolf closed 2 months ago

nmwolf commented 7 months ago

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 3 months ago

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 3 months ago

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 3 months ago

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

gulshan11 commented 3 months ago

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

gulshan11 commented 2 months ago

The issue is resolved along with upgrading to latest geoserver.