Question on maps
in
Programming Questions
•
2 years ago
hi, (newbie here and first attempt on maps)
i have a data set (36900x2) with a country`s coordinates (floats) that i produced in R with some shapefiles. I then took the coordinates and imported them (as csv) in processing to draw the map. When i draw the map with points(x,y) i get a fairly good result but when i try to use vertex i get this.
i tried to use the java polygon class but it is only for integers, is there a way to draw the map with polygon class and float coordinates?
or can you suggest an another way to do this
thanks
i have a data set (36900x2) with a country`s coordinates (floats) that i produced in R with some shapefiles. I then took the coordinates and imported them (as csv) in processing to draw the map. When i draw the map with points(x,y) i get a fairly good result but when i try to use vertex i get this.
i tried to use the java polygon class but it is only for integers, is there a way to draw the map with polygon class and float coordinates?
or can you suggest an another way to do this
thanks
1