# Vector data from database PostGIS

**URL:** <https://community.cesium.com/t/vector-data-from-database-postgis/889>\
**Category:** CesiumJS\
**Created:** [December 20, 2013, 8:35pm UTC](https://community.cesium.com/t/vector-data-from-database-postgis/889 "2013-12-20T20:35:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Song](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@Allen\_Song](https://community.cesium.com/u/Allen_Song)\
**Post date:** [December 20, 2013, 8:35pm UTC](https://community.cesium.com/t/vector-data-from-database-postgis/889/1 "2013-12-20T20:35:27Z")

</div>

I use Cesium Terrain and Bing image as my base of the 3D map; then I try to pull my vector data(points and lines) from my PostGIS database and render it on the top of base map. Any API to connect the database and render new features on the top of map? Thank you.

---

<div class="post-metadata">

**Author:** ![webbbn](https://avatars.discourse-cdn.com/v4/letter/w/a8b319/32.png) [@webbbn](https://community.cesium.com/u/webbbn)\
**Post date:** [December 20, 2013, 9:41pm UTC](https://community.cesium.com/t/vector-data-from-database-postgis/889/2 "2013-12-20T21:41:13Z")

</div>

Your best best is probably to use GeoServer and display the data in Cesium using a WMS layer from GeoServer.
