Skip to content

This Python script converts a shapefile to GeoJSON format. It uses the Geopandas library to read the input shapefile and then exports the data to a GeoJSON file.

Notifications You must be signed in to change notification settings

michalnaka/Shapefile-to-GeoJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

# Shapefile to GeoJSON Converter

This Python script converts a shapefile to GeoJSON format. It uses the Geopandas library to read the input shapefile and then exports the data to a GeoJSON file.

## Requirements

- Python
- Geopandas

## Usage

1. Update the `shapefile_path` variable in the script with the file path to your input shapefile.
2. Update the `output_geojson_path` variable in the script with the desired output path for the GeoJSON file.
3. Run the script using the following command:
    python shapefile_to_geojson.py
4. The script will convert the shapefile to GeoJSON format and save the output to the specified path.

## Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues to improve the script or add new features.

## License

This project is released under the MIT License.



About

This Python script converts a shapefile to GeoJSON format. It uses the Geopandas library to read the input shapefile and then exports the data to a GeoJSON file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages