Giter Site home page Giter Site logo

bnhm / berkeleymapper Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 13.72 MB

Map specimens using simple XML configuration file and Google Maps API

License: GNU General Public License v3.0

Java 38.42% CSS 0.57% HTML 47.86% JavaScript 13.00% Shell 0.15%
biodiversity-data gradle html java mapping xml-configuration

berkeleymapper's People

Contributors

jdeck88 avatar mkoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

turnerh bnhm

berkeleymapper's Issues

maptype options

Another difference between BM1 and BM2 is that when the Topo is zoomed far out 
it goes to the Terrain map instead of just the Map. Can it be changed to go to 
the Map?

Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 6:51

Error radii needs to be No-Fill

What steps will reproduce the problem?
1. Map a bunch of overlapping error radii

You will see a pure-colored blob, resulting from the stacked transparency.  Fix 
This by removing the shading of the error radii and just displaying the error 
radii outlines.

Original issue reported on code.google.com by [email protected] on 31 Jan 2012 at 11:01

Marker for just 1 marker

If there's just one point, would it be possible by default to have just a 
Marker come up instead of a MarkerClusterer?

Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 6:47

Color coding by columns

Color code markers by collections as in BM1.0.  
Easiest to make this read the XML configuration settings from version 1.0
Use, esp. test case of MVZ collections (Carla asked for this)

Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 1:10

Overlay Control Options

"Custom" Drop-down Option under Marker Display
Then comes up with a list of Check-boxes to:
 1)  turn on/off Markers
 2) turn on/off error radii
 3) turn on/off polygon


Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 8:34

Canadian Topoquad

Enable Topoquad capability for Canada:

http://geogratis.cgdi.gc.ca/geogratis/en/service/toporama.html

Modifications needed in JS front-end, add in new "Canada Topo Layer".


Original issue reported on code.google.com by [email protected] on 8 Feb 2012 at 6:24

Adding Layer but with active=0 still shows the layer

This works in the config file
<layer title="Jepson Ecoregions (California)" legend="1" active="1" 
url="http://ucjeps.berkeley.edu/"><![CDATA[http://darwin.berkeley.edu/tmp/ms_tmp
/data/ucjeps/jepcodes-v4.kmz]]></layer>

But when I do this
<layer title="Jepson Ecoregions (California)" legend="1" active="0" 
url="http://ucjeps.berkeley.edu/"><![CDATA[http://darwin.berkeley.edu/tmp/ms_tmp
/data/ucjeps/jepcodes-v4.kmz]]></layer>

the region box is unchecked, but the layer still shows and the map opens zoomed

Safari 5.1.7
http://berkeleymappertest.berkeley.edu/run.php?ViewResults=tab&tabfile=http://he
rbaria4.herb.berkeley.edu/Smith/CHC_84436593.txt&configfile=http%3A%2F%2Fucjeps.
berkeley.edu%2F4_cc.xml&sourcename=Consortium+of+California+Herbaria+result+set&
maptype=TerrainDick

Original issue reported on code.google.com by [email protected] on 18 Aug 2012 at 11:52

No results in range maps doesn't return an informative message

 Results when no species is present in the mapping service -- E.g. you had a search for "Rana+sylvatica" which was not in the gaa_2011 -- probably useful here to return a message that says "Unable to return rangemap for Rana+sylvatica".  I can do this as well before the release.

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 12:33

Confusing message in Georeferencing box

3. You noticed "There's a bunch of goofy "bend City, Oregon" hidden (???) stuff 
that pops up long enough to be noticed." -- Easy to remove the text there so it 
doesn't confuse users.  This will be fixed before the release.

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 12:34

Google Relief as Layer

Add the google relief/elevation layer to the list of background layers that are 
accessible.

Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 1:09

Draw Circle Radius modification-- update distance dynamically

I guess what I'm asking in the case of the radius is the following:
You click on the draw circle to start the process.
You click on the map to establish the centroid, and a window opens
As you drag the cursor away from the center, the window shows the radius length 
as it increases...



Original issue reported on code.google.com by [email protected] on 18 Aug 2012 at 11:27

Application Crashes when encountering an unparseable URL


Following query crashes application:
http://berkeleymapper.berkeley.edu/run.php?ViewResults=tab&tabfile=http%3A%2F%2F
rbg-web2.rbge.org.uk%2Fuconn%2Fmapper%2Fgetdata.php%3Fgenus=Najas%3Cand%3Especie
s=%3Cand%3ENAME*1=%3Cand%3EFILTER_NAME*4=%3Cand%3ENAME*2=%3Cand%3EFILTER_NAME*1=
%3Cand%3ENAME*3=%3Cand%3EFILTER_NAME*2=%3Cand%3ENAME*4=%3Cand%3EFILTER_NAME*3=%3
Cand%3ENAME*5=%3Cand%3ECOLL_YR=%3Cand%3ECOLLECTOR=Les%2C%ACTippery%3Cand%3ECOLL_
LOCALITY_AND_HABITAT_NO_LATLONG=%3Cand%3Eassociated_taxa_full=%3Cand%3Esub_cnt2=
%3Cand%3Esub_cnt1*2=&configfile=http%3A%2F%2Frbg-web2.rbge.org.uk%2Fuconn%2Fmapp
er%2Fconfig.xml

Specifically: Les%2C%ACTippery, or just the %AC == which turns out to encode a 
non-standard alphanumeric character


Original issue reported on code.google.com by [email protected] on 4 Jan 2013 at 10:03

Sometimes markers don't show when loading page

This seems to be related to loading KML Layers, and when the KML layer takes 
longer to load than the markers, then it renders the KML but not the markers..

this is fixed by zooming in or out or changing application state.

Original issue reported on code.google.com by [email protected] on 23 Aug 2012 at 7:07

Marker closing

Add in Options for "Delete This", "Delete Others", "Zoom-in" just like in 
multiple georeferencing

Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 8:28

Show Error Radii by Default Option

Dusty requests to show error radii by default.  This should be an option not 
for ALL instances of BerkeleyMapper, but only for specific ones.  

Need to research existing configuration options--- i think BM1 had this as a 
URL parameter, but these are not passed in BM2 so will need to create an XML 
configuration option.

Original issue reported on code.google.com by [email protected] on 14 Sep 2012 at 7:27

Add county layers (and other base polygons) with web services

Useful polygon base layer for checking higher geography, especially if from a 
USGS webservice, e.g., http://viewer.nationalmap.gov/example/services.html
and see the govunits/county layer:
 http://services.nationalmap.gov/ArcGIS/rest/services/govunits/MapServer

Would replace the GADM layer.

Original issue reported on code.google.com by [email protected] on 21 Aug 2012 at 3:05

Optimize Loading Performance for thousands of records.

When thousands of records are sent, there is a long delay on the initial load.  
Solution is to break up server response to client into just enough information 
to map the multi-marker symbols and rely on server calls for each zoom in/zoom 
out to render the multi-markers... 

Probably this tactic needs to be only employed when there are over 1,000 
markers.


Original issue reported on code.google.com by [email protected] on 1 May 2012 at 12:43

Add in Link & Logo to IUCN

This needs to be done for any layer file, so add an attribute called "logo" and 
a link to the logo file and then insert the logo in the legend.


Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 8:58

IE needs a friendly message to use another browser

BM2 isn't working in IE on a PC right now, but I think it used to....? I get a 
yellow "Loading Application" message and the map never appears.


NOTE: just display a friendly message to switch browsers

Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 6:50

Proxy Error on Big Data Load

Mapping walruses from Arctos:

http://goo.gl/yIjIA

Alot of points, gives proxy error:
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server

Apache/2.2.21 (Unix) Server at bnhmmapstest.berkeley.edu Port 80

...and same thing in firefox. chrome just hangs forever - persistent, it is....

OK, not forever - same error in Chrome now.

Original issue reported on code.google.com by [email protected] on 1 May 2012 at 10:04

Patch for /trunk/web/js/berkeleymapper.js

Good stuff! Just a general comment about scoping. All variables declared in 
this file (e.g., map, overlays, markers) are in the global scope! This mean 
that they could get clobbered by imported JavaScript files with variables 
having the same name. 

Quick fix is to declare a single global object and sandbox everything in it. 
For example:

var bm2 = {};
bm2.map = null;
bm2.markers = [];
bm2.jqGridAttributes = {...} 

Now you have a single global variable named bm2 that sandboxes everything. 

Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 5:43

Attachments:

Fork berkeleyMapper Interactive portion

We want a version of BerkeleyMapper that can populate elements from any page--- 
draw radii, polygons to send output back to elements.  

Include as well call to BioGeomancer, Google geo-referencing engines.

Original issue reported on code.google.com by [email protected] on 13 Feb 2012 at 11:02

Page Element Interactions

Interact with elements from a calling page.  Is this is a new service, trimmer 
version of BM2.0?   perhaps when BM is not called with actual points we can 
just load some points and make this embeddable in a DIV.  Some thoughts on 
things we can do with this:

1) Return a WKT polygon
2) Return a lat/lng/radius of a point


Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 1:14

  • Merged into: #12

IE version 8 crashing

Debugging from Dick Moe:

Andrew's XP is running 8.0.6

XP can'r run versions later than 8, I think


The more robust machine (also with XP) is running 8.0.6 also
and it displays Mapper OK

I just tested a similar XP machine running 8.0.60001
and Mapper did not load

It gave this error:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; InfoPath.2; AskTbORJ/5.15.2.23037)
Timestamp: Wed, 26 Sep 2012 21:13:21 UTC


Message: Expected identifier, string or number
Line: 216
Char: 9
Code: 0
URI: http://berkeleymapper.berkeley.edu/js/berkeleymapper.js


Message: Object expected
Line: 29
Char: 1
Code: 0
URI:
http://berkeleymapper.berkeley.edu/run.php?ViewResults=tab&tabfile=http://ucjeps
.berkeley.edu/tmp/ms_tmp/CHC_39436233.txt&configfile=http%3A%2F%2Fucjeps.berkele
y.edu%2Fucjeps.xml&sourcename=Consortium+of+California+Herbaria+result+set&mapty
pe=Terrain



Original issue reported on code.google.com by [email protected] on 26 Sep 2012 at 9:44

More explanatory text w/ the logo

 From Joyce Gross: "In BM1, there was an option to display a little bit of text above the map, along with logos. In BM2 we can now display logos with links to other sites. But as far as I know we can't include any text to the left of the map, where the logos are. Is it possible for you to add this? As part of the BM2 xml configuration, similar to the way we configure logos to appear?"

Original issue reported on code.google.com by [email protected] on 22 Dec 2012 at 1:31

drop-down / UI enhancement

The drop down list all the way on the right side of the screen is confusing 
because the arrow is always cut off no matter how wide I make my browser. While 
I've learned to move the scroll bar on the bottom of the screen so I can see 
the right side of the map dropdown, it's a little clunky and it's confusing to 
people who haven't used BM2 before. Can you make a map come up that doesn't 
require users to scroll to see the right-most side? The cut-off happens in both 
FireFox and Chrome on my Win 7 PC.

Original issue reported on code.google.com by [email protected] on 10 Jul 2012 at 6:50

Fix linkback method

-----Original Message-----
From: Martin Pullan [mailto:[email protected]]
Sent: Friday, September 21, 2012 7:18 AM
To: Les, Donald
Subject: RE: Mapper again...

Hi Les

It is a bit ugly bit it works - the issue was that the linkback was forming the 
query part of the link back url by putting an & after the url in the xml config 
file then putting in the value of the specified field in order to parameterise 
the query.

The way we had it set up was with the url

http://rbg-web2.rbge.org.uk/cgi-bin/nph-readbtree.pl/allspecs

which they transfomed into

http://rbg-web2.rbge.org.uk/cgi-bin/nph-readbtree.pl/allspecs&ETI={{BARCODE}}

which would not work because the & should be a ?

So I changed the config to

http://rbg-web2.rbge.org.uk/cgi-bin/nph-readbtree.pl/allspecs?

Which they transform into

http://rbg-web2.rbge.org.uk/cgi-bin/nph-readbtree.pl/allspecs?&ETI={{BARCODE}}

which is ugly but it works and should be

http://rbg-web2.rbge.org.uk/cgi-bin/nph-readbtree.pl/allspecs?ETI={{BARCODE}}


This may be because of the way the config file is set up but the documentation 
is so limited that it is hard to tell if that is the case.

You may want to pass this back to the Berkely mappper people because I think it 
may be a bug in their code whcih should but does not check to see if the url 
already contains a query string - if not they should construct the link back 
differently.

Original issue reported on code.google.com by [email protected] on 23 Sep 2012 at 1:46

SideBar not set properly

Sometimes sidebar is not set properly. Right now its suspected this is more 
evident on PC-based browsers.

Original issue reported on code.google.com by [email protected] on 15 Aug 2012 at 8:10

Biocode Database linkback

Biocode is a little different from UCMP and Essig. Biocode uses the exact file 
that's created in myquery_utils.p when a query is done. This file can't be 
modified. Instead code will have to be added to create a new file for BM2.

Original issue reported on code.google.com by [email protected] on 15 May 2012 at 11:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.