Log of /trunk/src/gtmig
Directory Listing
Revision
933 -
Directory Listing
Modified
Thu Jul 8 09:37:25 2010 UTC
(14 years, 7 months ago)
by
alfonx
Comitted a patch as discussed with Martin in that email:
Hallo Stefan,
ich denke, das sollte man so machen... könnte auch die Ursache sein,
dass die Visualisierung mit negativen Werten bisher glaube ich nicht so
richtig geklappt hat.
Darüberhinaus ist mir ist in der Klasse noch eine Sache aufgefallen:
public void writeRaster(Raster raster, double xl, double yl,
...
// reset min and max
minValue = Double.MIN_VALUE;
maxValue = Double.MAX_VALUE;
...
}
Anschliessend wird Min/Max gar nicht weiter verwendet. Für mich machen
diese Zeilen auch gar keinen Sinn... wieso muss man Min/Max vor dem
Schreiben die Werte zurücksetzen?
Hast Du eine Idee wozu das gemacht wird?
Selbst, wenn in der folgenden Schleife Min/Max neu berechnet würden,
wäre die Initialisierung falsch, da minValue ja mit Double.MAX_VALUE
(bzw. POSITIVE_INFINITY) und maxValue mit Double.MIN_VALUE (bzw.
NEGATIVE_INFINITY) initialisiert werden müssten!
Mein Vorschlag deshalb:
a) die Änderung so machen, wie Du vorschlägst
b) die beiden Zeilen oben einfach auskommentieren
Gruss
Martin
Am 07.07.2010 18:06, schrieb Stefan A. Tzeggai:
> > Hi martin
> >
> > Ich bin eben selber drüber gestolpert, dass Fload.MIN_VALUE und
> > Double.MIN_VALUE nur positive! Werte zurücklifert. Somit kann ein
> > maxValue nicht kleiner 0 werden, wenn man das als Startwert benutzt und
> > mit Math.max vergleicht.
> >
> > Ich hab dann mal nach Verwendung gesucht, und schlage dir folgende
> > Änderung in schmitzm vor. Aber da ich nicht ganz drinstecke überlasse
> > ich dir das zu ändern. Ist völlig unwichtig für GP, nur so aus prinzip.
> >
> > Ist vielleicht auch nicht wichtig..
> > Gruß
> > und CU Samstag!
> >
> >
> > Index: ArcGridRaster.java
> > ===================================================================
> > --- ArcGridRaster.java (revision 930)
> > +++ ArcGridRaster.java (working copy)
> > @@ -85,10 +85,10 @@
> > private URL srcURL;
> >
> > /** max value found in the file */
> > - protected double maxValue = Float.MIN_VALUE;
> > + protected double maxValue = Double.NEGATIVE_INFINITY;
> >
> > /** min value found in the file */
> > - protected double minValue = Float.MAX_VALUE;
> > + protected double minValue = Double.POSITIVE_INFINITY;
> >
> > protected double xllCorner = Double.NaN;
> >
> >
> >
> >
Revision
685 -
Directory Listing
Modified
Wed Feb 10 15:04:02 2010 UTC
(15 years ago)
by
alfonx
copy RC2 to trunk
Revision
529 -
Directory Listing
Modified
Wed Nov 18 20:47:00 2009 UTC
(15 years, 3 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
XMapPane and RenderingExecutor now work together without leaking memory through their BufferedImages...
Revision
524 -
Directory Listing
Modified
Wed Nov 18 09:56:47 2009 UTC
(15 years, 3 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* XMapPane is now only using one RenderingExecutor, and its now properly disposed, not leaving any threads in the ThreadPool
* Locks are not happening, memory leak still happens :-/
* Corrected isValid() against is WellDefined() in XMapPane
Revision
518 -
Directory Listing
Modified
Fri Nov 13 18:16:38 2009 UTC
(15 years, 3 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* CQLFilter.toString does not produce CQL! Useed CQL.toCQL( Filter ) instead in some places.
* Added paramter weight (for visualisation sorting) to attributeMetadata
* Added paramters X and A for Attributemetadata.. but not using it yet..
Revision
516 -
Directory Listing
Modified
Wed Nov 11 21:17:33 2009 UTC
(15 years, 3 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* Extended schmitzm.JPanel to generally set its background to white when printed, by overwriting the print() method.
* Simplified the creation and update logic of ((Design)Atlas)MapLegend and ((Design)Atlas)MapLayerLegend. Besides other things there now is a LegendHelper class in AtlasProject...
* Orginized Imports
* Removed a lot of DEBUG messages...
Revision
515 -
Directory Listing
Modified
Mon Nov 9 18:51:54 2009 UTC
(15 years, 3 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
Styles with wronlgy spelled property names are now automatically corrected when loaded. This helps when upgrading atlases that have been created with GeoPublisher/AtlasStyler 1.2
Revision
512 -
Directory Listing
Modified
Fri Nov 6 15:00:17 2009 UTC
(15 years, 3 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
until gt2-2.6.1 is released:
Import of gt-RenderingExecutor replaced by import of skrueger-RenderingExecutor in XMapPane
Revision
505 -
Directory Listing
Modified
Sat Oct 31 10:53:43 2009 UTC
(15 years, 4 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* Added fast scaled previews to JMapPane rendering. Works for ZoomIn and ZoomOut.
* Added setMapbackground and getMapBackground to JMapPane
Revision
493 -
Directory Listing
Modified
Fri Oct 23 14:09:27 2009 UTC
(15 years, 4 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
BugFix: Handle empty Rectangle in JMapPane#fixAspectRatio(..)
FeatureTablePane: check for "valueAdjusting" removed (because this must be done in event firing, not in event handling!)
Revision
478 -
Directory Listing
Modified
Tue Oct 20 10:37:01 2009 UTC
(15 years, 4 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
GT-JMapPane, GeoMapPane: "our" Reference to ShapefileRenderer removed
defaults/.classpath updated to gt2-2.6.0
Revision
452 -
Directory Listing
Modified
Fri Oct 9 19:16:27 2009 UTC
(15 years, 4 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* AS-Feature: The labeling tab now has a preview pane and can set the priority column. Both still has to be improved.
Revision
445 -
Directory Listing
Modified
Wed Oct 7 13:17:02 2009 UTC
(15 years, 4 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* GP: * Do not allow NaN values in zoom back/forward Envelopes
* Extra check against unlimited while loop in JMapPane.bestAllowedMapArea
Revision
436 -
Directory Listing
Modified
Mon Oct 5 11:54:12 2009 UTC
(15 years, 4 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
Removed some annoying debug messages in GT-JMapPane
New util method JTSUtil.expandEnvelope(..)
JMapPane.getMaxExtend(..) creates a 10% expanded envelope to show the complete map with "some" surrounding
Revision
420 -
Directory Listing
Modified
Thu Oct 1 20:22:48 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* Lots of changes in this big commit for GP 1.3
* New Interfaces: Checkable, Copyable, Cancellable, CancellableDialogAdapter to improve the GUI
* New DialogManager to unify the handling of all dialogs.
* GP-Feature: The dialog for editing/translating a DpEntry has been "enriched".
Revision
418 -
Directory Listing
Modified
Mon Sep 28 15:36:11 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* AV-Feature: The Search button only appears if there is anything to search
* GP-Features: Layers that will not show in the atlas legend are marked in the GP MapComposer in gray.
Revision
415 -
Directory Listing
Modified
Thu Sep 24 17:58:32 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* GP-Feature: In the MapComposer it is now BASICALLY possible to change the CRS and format of the Grid/Ruler on the left/bottom. At the moment only two formatters are available, one for DHDN in Germany, and one for lat/lon.
Revision
414 -
Directory Listing
Modified
Thu Sep 24 13:23:08 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
JMapPane can optionally be given an envelope. When zooming/panning it will never show anything outside this envelope.
Revision
388 -
Directory Listing
Modified
Fri Sep 11 19:06:17 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* Moving JMapPane out of org.geotools.swing allows me to start the application in debug mode, without haveing a libUnsigned dir...
Revision
384 -
Directory Listing
Modified
Fri Sep 11 16:16:38 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
Wow.. this now compiles and works with GT2.6 TRUNK! I will check-in the tunrk libs in AtlasFramework/lib/gt tonight. One big difference between M2 and trunk is that they moved the package
org.geotools.gui.swing to
org.geotools.swing
So i did the same in schmitzm, especially with the JMapPane
Revision
372 -
Directory Listing
Modified
Thu Sep 3 18:41:50 2009 UTC
(15 years, 5 months ago)
by
alfonx
Original Path:
branches/1.0-gt2-2.6/src/gtmig
* Renamed the folder with the GT JARs from 'gt-2.6' to 'gt'
* Extended the build.xml to write the correct version into the .jnlp files
* Many many small adaptations to GT2.6 .. AtlasStyler is working again.
* Changed all the clone?() methods in StylingUtil to use the DuplicatingStyleVisitor
Revision
363 -
Directory Listing
Modified
Wed Sep 2 20:28:57 2009 UTC
(15 years, 5 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
ArcGridRaster from gt2-2.3.0-M0 integrated in SCHMITZM
Geo-Import via ArcGridRaster and ArcGridReader
new FilterParser and CQLFilterParser
FeatureOperationTreeParser implements FilterParser
FeatureOperationTreeFilter, FeatureFilterPanel converted to OpenGIS-Filter
FeatureFilterPanel, FeatureCollectionFilterPanel parameterized with FilterParser
Revision
320 -
Directory Listing
Added
Wed Aug 26 13:49:19 2009 UTC
(15 years, 6 months ago)
by
mojays
Original Path:
branches/1.0-gt2-2.6/src/gtmig
imports organized
migration package gtmig.* for classes no longer included in gt2-2.6
MouseSelectionTracker taken from gt 2.4.5