Changeset 31204 in osm for applications
- Timestamp:
- 2015-06-03T17:43:57+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/photo_geotagging
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photo_geotagging/.classpath
r30416 r31204 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 <classpathentry combineaccessrules="false" kind="src" path="/JOSM-commons-imaging"/> 6 7 <classpathentry kind="output" path="bin"/> 7 8 </classpath> -
applications/editors/josm/plugins/photo_geotagging/build.xml
r30967 r31204 13 13 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Photo_Geotagging"/> 14 14 <property name="plugin.canloadatruntime" value="true"/> 15 <property name="plugin.requires" value="commons-imaging"/> 15 16 16 17 <!-- ** include targets that all plugins have in common ** --> 17 18 <import file="../build-common.xml"/> 18 19 19 <!-- 20 ********************************************************** 21 ** compile - complies the source tree 22 ** Overrides the target from build-common.xml 23 ********************************************************** 24 --> 25 <target name="compile" depends="init"> 26 <echo message="compiling sanselan sources ... "/> 27 <javac srcdir="${plugin.src.dir}" excludes="org/openstreetmap/**" debug="true" destdir="${plugin.build.dir}" encoding="iso-8859-1" includeantruntime="false"> 28 <compilerarg value="-Xlint:deprecation"/> 29 </javac> 30 <echo message="compiling sources for ${plugin.jar} ..."/> 31 <javac srcdir="${plugin.src.dir}" excludes="org/apache/sanselan/**" classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false"> 32 <compilerarg value="-Xlint:deprecation"/> 33 <compilerarg value="-Xlint:unchecked"/> 34 </javac> 35 </target> 20 <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}"> 21 <include name="commons-imaging.jar"/> 22 </fileset> 36 23 37 24 </project> -
applications/editors/josm/plugins/photo_geotagging/src/org/openstreetmap/josm/plugins/photo_geotagging/ExifGPSTagger.java
r30887 r31204 17 17 import org.apache.commons.imaging.ImageWriteException; 18 18 import org.apache.commons.imaging.Imaging; 19 import org.apache.commons.imaging.common.I ImageMetadata;19 import org.apache.commons.imaging.common.ImageMetadata; 20 20 import org.apache.commons.imaging.common.RationalNumber; 21 21 import org.apache.commons.imaging.formats.jpeg.JpegImageMetadata; … … 54 54 TiffOutputSet outputSet = null; 55 55 56 I ImageMetadata metadata = Imaging.getMetadata(jpegImageFile);56 ImageMetadata metadata = Imaging.getMetadata(jpegImageFile); 57 57 JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata; 58 58 if (null != jpegMetadata) {
Note:
See TracChangeset
for help on using the changeset viewer.