How to not display blank fields from a csv file?

Hello im currently plotting shapes on my 2d image whilst using the coordinates of longitude and latitude. However, i’ve got some blank fields which i do not want to appear on my image and when they are kept blank they still appear on my image as a whole at one location which i do not want. I just dont want to use these blank fields at all.

Things i’ve tried that did not work:

  • Keeping the blank fields blank
  • Renaming blank fields with Null, NULL or 0

None of these worked so i was wondering if there is another method which i have not tried?


1 Like

can you show your code here?

maybe there is an error

eg. you can’t check Strings with == instead use word.equals("")

or try isEmpty()