Changeset 34885 in osm
- Timestamp:
- 2019-02-08T09:15:00+01:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/seachart
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/jrender/build.xml
r32368 r34885 4 4 <property name="build" location="build"/> 5 5 <property name="jarfile" location="./jrender.jar"/> 6 <property name="batik.dir" value="../libs/"/>7 <path id="classpath">8 <fileset dir="${batik.dir}" includes="**/batik*.jar"/>9 </path>10 6 11 7 <target name="init"> … … 14 10 15 11 <target name="compile" depends="init" description="compile the source " > 16 <javac includeantruntime="false" sourcepath="${srcmain}" srcdir="${src}" destdir="${build}" classpathref="classpath"encoding="UTF-8" />12 <javac includeantruntime="false" sourcepath="${srcmain}" srcdir="${src}" destdir="${build}" encoding="UTF-8" /> 17 13 </target> 18 14 … … 23 19 <attribute name="Class-Path" value="$jarfile"/> 24 20 </manifest> 25 <zipgroupfileset dir="${batik.dir}" includes="**/batik-svggen.jar" />26 <zipgroupfileset dir="${batik.dir}" includes="**/batik-dom.jar" />27 <zipgroupfileset dir="${batik.dir}" includes="**/batik-util.jar" />28 <zipgroupfileset dir="${batik.dir}" includes="**/batik-awt-util.jar" />29 <zipgroupfileset dir="${batik.dir}" includes="**/batik-ext.jar" />30 <zipgroupfileset dir="${batik.dir}" includes="**/batik-xml.jar" />31 21 </jar> 32 22 </target> -
applications/editors/josm/plugins/seachart/jrender/src/jrender/Jrender.java
r32907 r34885 107 107 bos.writeTo(fos); 108 108 fos.close(); 109 if (send.size() > 20) {109 if (send.size() > 100) { 110 110 PrintWriter writer = new PrintWriter(srcdir + z + "-" + xdir + "-" + ynam + ".send", "UTF-8"); 111 111 for (String str : send) { -
applications/editors/josm/plugins/seachart/src/render/Rules.java
r34652 r34885 296 296 if (testObject(Obj.SPLARE)) for (Feature f : objects) if (testFeature(f)) areas(); 297 297 if (testObject(Obj.SEAARE)) for (Feature f : objects) if (testFeature(f)) areas(); 298 if (testObject(Obj.DMPGRD)) for (Feature f : objects) if (testFeature(f)) areas(); 298 299 if (testObject(Obj.OBSTRN)) for (Feature f : objects) if (testFeature(f)) obstructions(); 299 300 if (testObject(Obj.UWTROC)) for (Feature f : objects) if (testFeature(f)) obstructions(); … … 435 436 case RESARE: 436 437 case MIPARE: 438 case DMPGRD: 437 439 if (Renderer.zoom >= 12) { 438 440 Renderer.lineSymbols(Areas.Restricted, 1.0, null, null, 0, Symbols.Mline); … … 969 971 fncSym = Landmarks.RadioTV; 970 972 Renderer.symbol(catSym); 971 Renderer.symbol(fncSym); 973 if (catSym != Landmarks.Spire) 974 Renderer.symbol(fncSym); 972 975 break; 973 976 case SILTNK: … … 1183 1186 Renderer.symbol(Areas.Rock); 1184 1187 } 1185 } else {1186 Renderer.symbol(Areas.Rock);1187 1188 } 1188 1189 } … … 1465 1466 if (Renderer.zoom >= 14) { 1466 1467 if (feature.type == Obj.RECTRC) 1467 Renderer.lineVector(new LineStyle(Color.black, 10, null, null));1468 Renderer.lineVector(new LineStyle(Color.black, 5, null, null)); 1468 1469 else if (feature.type == Obj.NAVLNE) 1469 Renderer.lineVector(new LineStyle(Color.black, 10, new float[] { 25, 25 }, null));1470 Renderer.lineVector(new LineStyle(Color.black, 5, new float[] { 25, 25 }, null)); 1470 1471 } 1471 1472 if (Renderer.zoom >= 15) { … … 1478 1479 str += df.format(ort) + "º"; 1479 1480 if (!str.isEmpty()) 1480 Renderer.lineText(str, new Font("Arial", Font.PLAIN, 80), Color.black, -20);1481 Renderer.lineText(str, new Font("Arial", Font.PLAIN, 40), Color.black, -20); 1481 1482 } 1482 1483 }
Note:
See TracChangeset
for help on using the changeset viewer.