Project

General

Profile

« Previous | Next » 

Revision 40f78baa

Added by Andreas Kohlbecker over 3 years ago

ref #3978 PointBeanProcessor: sexagesimalstring without geospacial reference system

View differences:

cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/json/processor/bean/PointBeanProcessor.java
10 10

  
11 11
import java.util.List;
12 12

  
13
import eu.etaxonomy.cdm.model.location.Point;
13 14
import net.sf.json.JSONObject;
14 15
import net.sf.json.JsonConfig;
15
import eu.etaxonomy.cdm.model.location.Point;
16 16

  
17 17
/**
18 18
 * @author a.kohlbecker
......
36 36
    @Override
37 37
    public JSONObject processBeanSecondStep(Point bean, JSONObject json,
38 38
            JsonConfig jsonConfig) {
39
        json.element("sexagesimalString", bean.toSexagesimalString(false, true));
39
        json.element("sexagesimalString", bean.toSexagesimalString(false, false));
40 40
        return json;
41 41
    }
42 42

  

Also available in: Unified diff