When published the shapefile, I can not preview it on GeoServer's Layer Preview with default page size. But, if change the width to 1900, then i can see it. However, the map can not zoom out, and can not see the entire map, too.

I just learned GeoServer, and I don't know what went wrong, but I think it should be caused by the configuration.

The shapefile is line.zip.

  • What does the log file show?
    – Ian Turton
    Dec 26, 2022 at 15:49
  • Since it has no projection.. which EPSG code did you choose in the layer configuration UI? Dec 29, 2022 at 20:30

1 Answer 1


I can reproduce the problem but I suspect the issue is the shapefile, it has no projection and all the data is on the extreme left of the extent so I suspect that GeoServer is confused by trying to scale an unprojected file in the preview window.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.