mapthing: reversed map
in
Contributed Library Questions
•
1 year ago
Hi,
I'm beginning with processing.
I'm trying to integrate a geographic file using mapthing.
My data is in WGS84 and not in lon lat, so I specified this projection in the BoundingBox method but my map is reversed...
Here is my image:
http://hpics.li/bed844d
May anyone tell me where it comes from?
Here is the code:
Thanks
Mathieu
I'm beginning with processing.
I'm trying to integrate a geographic file using mapthing.
My data is in WGS84 and not in lon lat, so I specified this projection in the BoundingBox method but my map is reversed...
Here is my image:
http://hpics.li/bed844d
May anyone tell me where it comes from?
Here is the code:
- import uk.ac.ucl.casa.mapthing.*;
- //println(90f);
- BoundingBox envelope = new BoundingBox(2154, 51.1, -5.1, 41.3, 9.55);
- Polygons fr_dep;
- void setup() {
- colorMode(HSB,360,100,100);
- fr_dep = new Polygons(envelope, dataPath("DEPARTEMENT_WGS84.shp"));
- }
- void draw() {
- fr_dep.project(this);
- }
Thanks
Mathieu
1