[GeoServer] 왜 필요할까?

식빵·2022년 12월 10일
3

Geoserver

목록 보기
2/6
post-thumbnail

어떤 기술을 공부하는 것에 있어서 가장 큰 동기부여는
"이 기술이 왜 필요한가?" 라는 질문의 답변이라 생각한다.

GeoServer 는 왜 필요할까?
사실 PostGIS만 있어도 만사형통 아닌가?

궁금해서 구글링을 하다가 나와 똑같은 생각으로 질문한 reddit Q&A이 있었다.

Q&A 출처 https://www.reddit.com/r/gis/comments/sj1hz0/why_do_i_need_geoserver/

질문


답변

It looks like you have a few different reasons for using PostGIS and potentially Geoserver. I'll try to answer your questions and explain what Geoserver is useful for and why you would want to use it.

Geoserver is a middleware software that allows you to share data from a variety of sources such as Raster's (as mentioned) and SQL servers like PostGIS. Using Geoserver is great because it provides standardized formats (i.e. WMS layers) that are optimized for for the web. WMS layers are a data standard by using them you ensure that your end application will always be able to read them. Leaflet will always accept WMS layers even if you find a software later that you prefer. As noted PostGIS does provide support for geojson or Vector Tiles, but to access the database you need to provide someone with authentication and opening a port, typically 5432. Every time you open a port it opens up a potential security vulnerability in the firewall. Instead you can use Geoserver to be one opening in your firewall that all people can access. AND you can give them anonymous access if you want, but you don't have to if your data has privacy issues.

... 생략 ...


번역(의역):

  • 다양한 공간 데이터(예를 들어서 Raster 데이터, PostGIS 데이터)들을 다양한
    Client 에게 공유할 수 있다.
  • 이런 다양한 공간 데이터를 Web 에 최적화된 포맷인 OGC 표준(ex: WMS)으로 제공한다.

  • 우리가 어떠한 형태의 공간 데이터 Source 를 사용하든, 외부에 열어둔 인터페이스는 OGC 표준을 지키기 때문에 Client 의 WMS, WFS 요청에 쉽게 응답할 수 있다.
  • 추후에 새로운 OGC 표준이 생겨도 GeoServer 가 자체적으로 그에 맞게 바뀔 것이므로 우리는 걱정없이 기존 공간데이터를 계속하고 새로운 표준도 적용이 가능하다.
  • PostGIS 같은 DBMS 에 직접적인 접근이 아닌, GeoServer 를 사용하면 더 다양한 방화벽이라든가, 애플리케이션 단의 보안을 통해서 사용자 접근에 대한 보안을 강화할 수 있다.
    • 예를 들어 익명사용자(로그인 하지 않은 사용자)에 대해서 보여줄 정보와
      인증 사용자(로그인한 사용자)를 구별해서 데이터를 공개할 수도 있다.

글의 저자는 최종적으로 GeoServer 를 언제 사용해야되는지도 알려준다.

  • Web Applications Built
  • Standardized Data structures that can be changed later
  • Anonymous or Numerous Users accessing data
  • Additional Security to your Server

만약 다른 답변들도 궁금하다면 직접 링크에 접속해서 보자.




✨ 참고링크

profile
백엔드를 계속 배우고 있는 개발자입니다 😊

2개의 댓글

comment-user-thumbnail
2024년 1월 23일

궁금했던 부분인데 딱 이 글이 나오네요 감사합니다

1개의 답글