A modern web mapping application built using OpenLayers and GeoServer that allows users to visualize geographical data, create spatial features, and interact with maps. The application includes drawing tools, geolocation features, and spatial data management capabilities.
-
Frontend:
-
π HTML5, CSS3, JavaScript
-
πΊοΈ OpenLayers
-
π¨ jQuery
-
π― Bootstrap
-
Middleware:
-
π Express.js
-
π‘ Node.js
-
Backend:
-
ποΈ PostgreSQL/PostGIS
-
π GeoServer
- πΊοΈ Interactive map visualization
- π User geolocation
- βοΈ Drawing tools (Points, Lines, Polygons)
- πΎ Spatial data storage
- π Real-time coordinate display
- π¨ Layer management
- π― Map controls (zoom, pan, etc.)
- Node.js installed
- PostgreSQL with PostGIS extension
- GeoServer installed and configured
- Clone the repository:
git clone https://github.com/nouhabenhamada/Web-Mapping-Application-OpenLayers-GeoServer.git
cd Web-Mapping-Application-OpenLayers-GeoServer
- Install dependencies:
npm install
- Configure database connection :
const db = {
host: 'your_host',
port: 'your_port',
database: 'your_database',
user: 'your_username',
password: 'your_password'
}
- Start the server:
node server.js
- Open the application in your browser
- Use the top toolbar to select drawing tools
- Click "My Position" to see your current location
- Toggle layers using the layer switcher
- Draw features on the map and save them to the database