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

Vector records not showing individual record feature preview when clicking on feature #314

Open
nmwolf opened this issue Mar 14, 2024 · 2 comments
Assignees
Labels
bug things not working that should be geoserver?

Comments

@nmwolf
Copy link
Collaborator

nmwolf commented Mar 14, 2024

Some or all vector type records are not displaying the preview single-record feature in the record page that presents the underlying tabular record for that feature. The problem seems to be the same for point, line, and polygon layers.

Examples include:

POINT
Record: https://geo.nyu.edu/catalog/nyu-2451-44260

Image

Also: https://geo.nyu.edu/catalog/nyu-2451-44256

LINE
Record: https://geo.nyu.edu/catalog/nyu-2451-36787

POLYGON
Record: https://geo.nyu.edu/catalog/nyu-2451-43803

@nmwolf nmwolf added the bug things not working that should be label Mar 14, 2024
@spilth spilth self-assigned this Jul 17, 2024
@spilth
Copy link
Collaborator

spilth commented Jul 17, 2024

I've replicated the requests that the frontend is making directly to the GeoServer and requests for all 3 maps generate the following error:

<?xml version="1.0" encoding="UTF-8"?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc https://maps-public.geo.nyu.edu:443/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd">
    <ServiceException>
      Internal error occurred
java.io.IOException: Error occured calculating bounds for nyu_2451_43803
Error occured calculating bounds for nyu_2451_43803
ERROR: function st_force_2d(geometry) does not exist
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  Position: 18
</ServiceException>
</ServiceExceptionReport>

This StackOverflow post suggests it may be because of an old version of GeoTools packaged with GeoServer: https://gis.stackexchange.com/questions/353638/error-when-publishing-a-table-layer-from-postgis-to-geoserver

Image

@spilth spilth assigned gulshan11 and unassigned spilth Jul 17, 2024
@gulshan11
Copy link
Collaborator

Logging the coordinates of three data outliers with ID's that do not fall under expected region.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug things not working that should be geoserver?
Development

No branches or pull requests

3 participants