Google Maps Will Not Accept My .csv File

That is what was hidden and revealed with Notepad++:

I add a CRLF at end of text for testing.

I use the latest.

There is a learning curve to using Notepad++ !
I have been using it for decades and it is now just a tool.

I wanted to see if Processing generates the correct CSV as part of testing:

Table table;

void setup() {

  table = new Table();
  
// Name  Latitude  Longitude  Description  Category
  
  table.addColumn("Name", Table.STRING);
  table.addColumn("Latitude", Table.FLOAT);
  table.addColumn("Longitude", Table.FLOAT);
  table.addColumn("Description", Table.STRING);
  table.addColumn("Category", Table.STRING);
  
// Googleplex  37.422  -122.0841  Google's corporate headquarters.  Technology Company
    
  TableRow newRow = table.addRow();
  table.setString(0, "Name", "Googleplex");
  table.setFloat(0, "Latitude", 37.422);
  table.setFloat(0, "Longitude", -122.0841);
  table.setString(0, "Description", "Google's corporate headquarters.");
  table.setString(0, "Category", "Technology Company");
  
  saveTable(table, "data/new.csv");
}

It looked ok!

:)

1 Like