Table of Contents

Error on KML resource upload

Who is this guide for

This guide is for publishers who received a “Bad EPSG code : null” error when uploading their KML file to Geoserver/Datastore

What this guide teaches

Things to know beforehand

If you get this error on uploading the KML resource: it is probably because there are some empty values in your CSV file. To fix this:

  1. Delete the KML file you just uploaded and any “Datastore” and “Web Map Service” files – see below – from your dataset
  2. Download and edit your CSV file, removing any lines with empty latitude or longitude values
  3. Run the CSV to KML converter again on the updated CSV file (CSV To KML Converter)
  4. Upload the new KML file (you should probably also replace the CSV file with the clean one you have just created)
  5. Import the KML file to the Geoserver and Datastore again
  6. Check for a successful load and that the map is displaying

Return to Publishing Map files on SD