@ Pure public static String makeInternalId ( float minx , float miny , float maxx , float maxy ) { final StringBuilder buf = new StringBuilder ( "rectangle" ) ; //$NON-NLS-1$ buf . append ( ' ' ) ; buf . append ( minx ) ; buf . append ( ' ' ) ; buf . append ( miny ) ; buf . append ( ")-(" ) ; //$NON-NLS-1$ buf . append ( maxx ) ; buf . append ( ' ' ) ; buf . append ( maxy ) ; buf . append ( ' ' ) ; return Encryption . md5 ( buf . toString ( ) ) ; }
Compute and replies the internal identifier that may be used to create a GeoId from the given rectangle .