Welcome to BioOSM! This site is owned and maintained by members of the hackerspace brmlab. See our wiki page for further details
License: CC BY-NC-ND. In case you have any questions, suggestions, please let us know at bioosms0c4.net.
To cite any material (including images) in your publication, please use following format:
Plskova, K., Sacha, M., brmlab. BioOSM"
if [[ "$1" != "" ]]; then
r+=" - $1"
fi
r+=". "
if [[ "$2" != "" ]]; then
r+="$2. "
else
r+="2023. "
fi
if [[ "$3" != "" ]]; then
r+="$3"
else
r+="https://bioosm.s0c4.net"
fi
r+="
$radek" fi fi zkurvenetellico=$(echo "$obr" | grep -oe '\.[a-zA-Z]*$') odkurvenyobr=$(echo "$obr" | sed -e 's/%23/#/g') #if [[ "$zkurvenetellico" = ".jpeg" ]]; then if [[ ! -f "./img/$odkurvenyobr" ]]; then if [[ "$gen" != "negative" ]]; then if [[ "$errhtml" == "" ]]; then >&2 echo -e "\033[31m $lid OBR $odkurvenyobr $co\033[0m" else >&2 echo "$lid OBR $odkurvenyobr $co" fi continue; fi fi obr=$(safehtml "$obr") if [[ "$spe" = "sp." ]]; then wikisp="https://en.wikipedia.org/wiki/$gen" else wikisp="https://en.wikipedia.org/wiki/$gen $spe" fi povr="" povs="" pov="" if [[ "$phy" = "Platyhelminthes" ]]; then povr=$(cat "./povodi_r.json" | ./povodi.py "$kdey" "$kdex") #povrf=$(echo "$povr" | grep -oPe '^[^ ]*' | tr 'e' 'E') povrf=$(echo "$povr" | sed -e 's/ .*$//g' | tr 'e' 'E') povrn=$(echo "$povr" | sed -e 's/^[^ ]* //g') povs=$(cat "./povodi_s.json" | ./povodi.py "$kdey" "$kdex") #povsf=$(echo "$povs" | grep -oPe '^[^ ]*' | tr 'e' 'E') povsf=$(echo "$povs" | sed -e 's/ .*$//g' | tr 'e' 'E') povsn=$(echo "$povs" | sed -e 's/^[^ ]* //g') if (( $(echo "$povsf < $povrf" | bc -l) )) ; then pov="$povsn - $povrn" else pov="$povrn" fi fi if [[ "$cls" = "" ]]; then cls=0 fi if [[ "$mpi" = "" ]]; then mpi="" else mpi="y" fi Tjson="{" Tjson+=" \"title\":\"$co\"," # qualis Tjson+=" \"imperium\":\"$imp\"," Tjson+=" \"regnum\":\"$reg\"," Tjson+=" \"phylum\":\"$phy\"," Tjson+=" \"classis\":\"$cla\"," Tjson+=" \"ordo\":\"$ord\"," Tjson+=" \"familia\":\"$fam\"," Tjson+=" \"genus\":\"$gen\"," Tjson+=" \"specie\":\"$spe\"," Tjson+=" \"locality\":\"$kde\"," # locus Tjson+=" \"x\":\"$kdex\"," Tjson+=" \"y\":\"$kdey\"," Tjson+=" \"locplain\":\"$loc\"," Tjson+=" \"description\":\"$des\"," # depictio Tjson+=" \"takendate\":\"$kdy\"," # quando Tjson+=" \"obr\":\"$obr\"," Tjson+=" \"micro\":\"$skop\"," Tjson+=" \"microtyp\":\"$skop_typ\"," Tjson+=" \"videolink\":\"$vid\"," # vid Tjson+=" \"biotope\":\"$bio\"," # bio Tjson+=" \"enlargement\":\"$eng\"," # amp Tjson+=" \"observer\":\"$obs\"," # spec Tjson+=" \"detid\":\"$detid\"," Tjson+=" \"harvestingmethod\":\"$har\"," # har Tjson+=" \"populationdensity\":\"$den\"," # den Tjson+=" \"min\":\"$dur\"," # dur Tjson+=" \"localityreference\":\"$lor\"," # lor Tjson+=" \"localityreferencelink\":\"$lrl\"," #lrl Tjson+=" \"localityvobrazek\":\"$lov\"," # lov Tjson+=" \"localitylink\":\"$lnk\"," # lnk Tjson+=" \"cluster\":$cls," # cls Tjson+=" \"mainpic\":\"$mpi\"," # mpi Tjson+=" \"pov\":\"$pov\"," Tjson+=" \"elv\":\"$elv\"," Tjson+=" \"geo\":\"$geo\"," Tjson+=" \"temperature\":\"$tem\"," # tem Tjson+=" \"conductivity\":\"$cnd\"," # cnd Tjson+=" \"ph\":\"$ph\"," Tjson+=" \"karyotype\":\"$kar\"" # kar # Last without ',' Tjson+="}" json+="$Tjson," geojson+='{"type":"Feature","geometry":{"type":"point","coordinates":[' geojson+="$kdex,$kdey" geojson+=']},"properties":' geojson+="$Tjson}," rss+=$'
"
if [[ "$imp" != "" ]]; then
detpg+="Domain: $imp " fi if [[ "$reg" != "" ]]; then detpg+="Kingdom: $reg " fi if [[ "$phy" != "" ]]; then detpg+="Phylum: $phy " fi if [[ "$cla" != "" ]]; then detpg+="Class: $cla " fi if [[ "$ord" != "" ]]; then detpg+="Order: $ord " fi if [[ "$fam" != "" ]]; then detpg+="Family: $fam " fi if [[ "$gen" != "" ]]; then detpg+="Genus: $gen " fi if [[ "$spe" != "" ]]; then detpg+="Species: $spe " fi if [[ "$kar" != "" ]]; then detpg+="Karyotype: $kar " fi detpg+=" " if [[ "$kdy" != "" ]]; then detpg+="Date: $kdy " fi if [[ "$lnk" != "" ]]; then loc="$loc" # Yes, escaped " fi detpg+="Place: $kde ($loc) " if [[ "$elv" != "" ]]; then detpg+="Elevation: $elv m " fi if [[ "$obs" != "" ]]; then detpg+="Observer: $obs " fi if [[ "$bio" != "" ]]; then detpg+="Biotope: $bio " fi if [[ "$pov" != "" ]]; then detpg+="River: $pov " fi if [[ "$geo" != "" ]]; then detpg+="Bedrock: $geo " fi if [[ "$tem" != "" ]]; then detpg+="Temperature: $tem °C " fi if [[ "$cnd" != "" ]]; then detpg+="Conductivity: $cnd mSv " fi if [[ "$ph" != "" ]]; then detpg+="pH: $ph " fi detpg+="" if [[ "$skop" != "" ]]; then detpg+="Microscope: $skop ($skop_typ) " fi detpg+="" detpg+="" if [[ "$eng" != "" ]]; then detpg+="Amplification: $eng " fi detpg+="" if [[ "$vid" != "" ]]; then detpg+="Video: $vid " fi if [[ "$har" != "" ]]; then detpg+="Collecting method: $har " fi if [[ "$den" != "" ]]; then detpg+="Individuals found: $den " fi if [[ "$dur" != "" ]]; then detpg+="Duration on stage: $dur " fi if [[ "$lrl" != "" ]]; then detpg+="Locality reference: $lor " elif [[ "$lor" != "" ]]; then detpg+="Locality reference: $lor " fi detpg+="" if [[ "$des" != "" ]]; then detpg+="Description: $des " fi detpg+="" detpg+=" More on BioOSM map " detpg+=" " lhx=$(echo "$kdex-0.022" | bc) lhy=$(echo "$kdey-0.010" | bc) pdx=$(echo "$kdex+0.022" | bc) pdy=$(echo "$kdey+0.010" | bc) detpg+="" detpg+=" | "
if [[ "$obr" != "" ]]; then
detpg+=""
detpg+=""
else
if [[ "$vid" != "" ]]; then
detyt=$(echo "$vid" | sed -e 's/youtube.com\/watch?v=/youtube.com\/embed\//g')
detpg+=""
else
if [[ "$gen" == "negative" ]]; then
detpg+=""
else
detpg+=""
fi
fi
fi
if [[ "$lov" != "" ]]; then
detpg+=" " fi detpg+=" |