Changeset 36207 in project
 Timestamp:
 08/12/18 02:18:33 (20 months ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/5/geoutils
r36191 r36207 29 29 ==== makegeopoint 30 30 31 <procedure>(makegeopoint LAT LON) => geopoint</procedure>31 <procedure>(makegeopoint LAT LON) > geopoint</procedure> 32 32 33 33 ==== geopoint? 34 34 35 <procedure>(geopoint? OBJ) => boolean</procedure>35 <procedure>(geopoint? OBJ) > boolean</procedure> 36 36 37 37 ==== checkgeopoint 38 38 39 <procedure>(checkgeopoint LOC OBJ [VARNAM]) => geopoint</procedure>39 <procedure>(checkgeopoint LOC OBJ [VARNAM]) > geopoint</procedure> 40 40 41 41 ==== errorgeopoint … … 45 45 ==== geopointlatitude 46 46 47 <procedure>(geopointlatitude GP) => real</procedure>47 <procedure>(geopointlatitude GP) > real</procedure> 48 48 49 49 ==== geopointlongitude 50 50 51 <procedure>(geopointlongitude GP) => real</procedure>51 <procedure>(geopointlongitude GP) > real</procedure> 52 52 53 53 ==== geopointstrictlyabove? 54 54 55 <procedure>(geopointstrictlyabove? GP1 GP2) => boolean</procedure>55 <procedure>(geopointstrictlyabove? GP1 GP2) > boolean</procedure> 56 56 57 57 ==== geopointabove? 58 58 59 <procedure>(geopointabove? GP1 GP2) => boolean</procedure>59 <procedure>(geopointabove? GP1 GP2) > boolean</procedure> 60 60 61 61 ==== geopointstrictlybelow? 62 62 63 <procedure>(geopointstrictlybelow? GP1 GP2) => boolean</procedure>63 <procedure>(geopointstrictlybelow? GP1 GP2) > boolean</procedure> 64 64 65 65 ==== geopointbelow? 66 66 67 <procedure>(geopointbelow? GP1 GP2) => boolean</procedure>67 <procedure>(geopointbelow? GP1 GP2) > boolean</procedure> 68 68 69 69 ==== geopointstrictlyleft? 70 70 71 <procedure>(geopointstrictlyleft? GP1 GP2) => boolean</procedure>71 <procedure>(geopointstrictlyleft? GP1 GP2) > boolean</procedure> 72 72 73 73 ==== geopointleft? 74 74 75 <procedure>(geopointleft? GP1 GP2) => boolean</procedure>75 <procedure>(geopointleft? GP1 GP2) > boolean</procedure> 76 76 77 77 ==== geopointstrictlyright? 78 78 79 <procedure>(geopointstrictlyright? GP1 GP2) => boolean</procedure>79 <procedure>(geopointstrictlyright? GP1 GP2) > boolean</procedure> 80 80 81 81 ==== geopointright? 82 82 83 <procedure>(geopointright? GP1 GP2) => boolean</procedure>83 <procedure>(geopointright? GP1 GP2) > boolean</procedure> 84 84 85 85 ==== geopoint= 86 86 87 <procedure>(geopoint= GP1 GP2) => boolean</procedure>87 <procedure>(geopoint= GP1 GP2) > boolean</procedure> 88 88 89 89 ==== geopoint< 90 90 91 <procedure>(geopoint< GP1 GP2) => boolean</procedure>91 <procedure>(geopoint< GP1 GP2) > boolean</procedure> 92 92 93 93 ==== geopoint> 94 94 95 <procedure>(geopoint> GP1 GP2) => boolean</procedure>95 <procedure>(geopoint> GP1 GP2) > boolean</procedure> 96 96 97 97 ==== geopoint<= 98 98 99 <procedure>(geopoint<= GP1 GP2) => boolean</procedure>99 <procedure>(geopoint<= GP1 GP2) > boolean</procedure> 100 100 101 101 ==== geopoint>= 102 102 103 <procedure>(geopoint>= GP1 GP2) => boolean</procedure>103 <procedure>(geopoint>= GP1 GP2) > boolean</procedure> 104 104 105 105 … … 118 118 ==== makegeobox 119 119 120 <procedure>(makegeobox GPMIN GPMAX) => geobox</procedure>120 <procedure>(makegeobox GPMIN GPMAX) > geobox</procedure> 121 121 122 122 ==== geobox? 123 123 124 <procedure>(geobox? OBJ) => boolean</procedure>124 <procedure>(geobox? OBJ) > boolean</procedure> 125 125 126 126 ==== checkgeobox 127 127 128 <procedure>(checkgeobox LOC OBJ [VARNAM]) => geobox</procedure>128 <procedure>(checkgeobox LOC OBJ [VARNAM]) > geobox</procedure> 129 129 130 130 ==== errorgeobox … … 134 134 ==== geoboxminimum 135 135 136 <procedure>(geoboxminimum GB) => geopoint</procedure>136 <procedure>(geoboxminimum GB) > geopoint</procedure> 137 137 138 138 ==== geoboxmaximum 139 139 140 <procedure>(geoboxmaximum GB) => geopoint</procedure>140 <procedure>(geoboxmaximum GB) > geopoint</procedure> 141 141 142 142 ==== geobox= 143 143 144 <procedure>(geobox= GB1 GB2) => boolean</procedure>144 <procedure>(geobox= GB1 GB2) > boolean</procedure> 145 145 146 146 ==== geobox< 147 147 148 <procedure>(geobox< GB1 GB2) => boolean</procedure>148 <procedure>(geobox< GB1 GB2) > boolean</procedure> 149 149 150 150 ==== geobox> 151 151 152 <procedure>(geobox> GB1 GB2) => boolean</procedure>152 <procedure>(geobox> GB1 GB2) > boolean</procedure> 153 153 154 154 ==== geobox<= 155 155 156 <procedure>(geobox<= GB1 GB2) => boolean</procedure>156 <procedure>(geobox<= GB1 GB2) > boolean</procedure> 157 157 158 158 ==== geobox>= 159 159 160 <procedure>(geobox>= GB1 GB2) => boolean</procedure>160 <procedure>(geobox>= GB1 GB2) > boolean</procedure> 161 161 162 162 ==== geopointwithinbox 163 163 164 <procedure>(geopointwithinbox GP GB) => boolean</procedure>164 <procedure>(geopointwithinbox GP GB) > boolean</procedure> 165 165 166 166 … … 179 179 ==== makegeopolygon 180 180 181 <procedure>(makegeopolygon GP ...) => geopolygon</procedure>181 <procedure>(makegeopolygon GP ...) > geopolygon</procedure> 182 182 183 183 {{GP}} is a {{geopoint}}. 184 184 185 <procedure>(makegeopolygon GPS) => geopolygon</procedure>185 <procedure>(makegeopolygon GPS) > geopolygon</procedure> 186 186 187 187 {{GPS}} is {{(or (listof geopoint) (vectorof geopoint))}}. … … 189 189 ==== geopolygon? 190 190 191 <procedure>(geopolygon? OBJ) => boolean</procedure>191 <procedure>(geopolygon? OBJ) > boolean</procedure> 192 192 193 193 ==== checkgeopolygon 194 194 195 <procedure>(checkgeopolygon LOC OBJ [VARNAM]) => geopolygon</procedure>195 <procedure>(checkgeopolygon LOC OBJ [VARNAM]) > geopolygon</procedure> 196 196 197 197 ==== errorgeopolygon … … 201 201 ==== geopolygon 202 202 203 <procedure>(geopolygon GP...) => geopolygon</procedure>203 <procedure>(geopolygon GP...) > geopolygon</procedure> 204 204 205 205 ==== geopolygonclosed? 206 206 207 <procedure>(geopolygonclosed? GPOLY) => boolean</procedure>207 <procedure>(geopolygonclosed? GPOLY) > boolean</procedure> 208 208 209 209 Polygon has the same initial and final {{geopoint}}. … … 211 211 ==== geopolygonopen? 212 212 213 <procedure>(geopolygonopen? GPOLY) => boolean</procedure>213 <procedure>(geopolygonopen? GPOLY) > boolean</procedure> 214 214 215 215 Polygon does not have the same initial and final {{geopoint}}. … … 217 217 ==== geopolygonboundingbox 218 218 219 <procedure>(geopolygonboundingbox GPOLY) => geobox</procedure>219 <procedure>(geopolygonboundingbox GPOLY) > geobox</procedure> 220 220 221 221 … … 230 230 ==== geopointinclosedpolygon? 231 231 232 <procedure>(geopointinclosedpolygon? GP GPOLY [INTERSECTS? intersects?pnp]) => boolean</procedure>232 <procedure>(geopointinclosedpolygon? GP GPOLY [INTERSECTS? intersects?pnp]) > boolean</procedure> 233 233 234 234 Is the {{(: GP geopoint)}} in the {{(: GPOLY (or (vectorof geopoint) … … 236 236 237 237 {{INTERSECTS?}} is a {{(procedure ((: PI geopoint) (: PJ geopoint) (: LAT 238 real) (: LON real)) => boolean)}} testing for ray intersection.238 real) (: LON real)) > boolean)}} testing for ray intersection. 239 239 240 240 Treats an open geopolygon as closed. … … 242 242 ==== intersects?pnp 243 243 244 <procedure>(intersects?pnp PI PJ LAT LON) => boolean</procedure>244 <procedure>(intersects?pnp PI PJ LAT LON) > boolean</procedure> 245 245 246 246 ==== intersects?pip 247 247 248 <procedure>(intersects?pip PI PJ LAT LON) => boolean</procedure>248 <procedure>(intersects?pip PI PJ LAT LON) > boolean</procedure> 249 249 250 250 … … 259 259 ==== pythagoreandistance 260 260 261 <procedure>(pythagoreandistance LAT1 LON1 LAT2 LON2) => real</procedure>261 <procedure>(pythagoreandistance LAT1 LON1 LAT2 LON2) > real</procedure> 262 262 263 263 ==== pythagoreandistance* 264 264 265 <procedure>(pythagoreandistance* LAT1 LON1 LAT2 LON2) => real</procedure>265 <procedure>(pythagoreandistance* LAT1 LON1 LAT2 LON2) > real</procedure> 266 266 267 267 ==== sphericalsurfacedistance 268 268 269 <procedure>(sphericalsurfacedistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) => real</procedure>269 <procedure>(sphericalsurfacedistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) > real</procedure> 270 270 271 271 ==== greatcircledistance 272 272 273 <procedure>(greatcircledistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) => real</procedure>273 <procedure>(greatcircledistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) > real</procedure> 274 274 275 275 ==== greatcircledistanceradians 276 276 277 <procedure>(greatcircledistanceradians LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) => real</procedure>277 <procedure>(greatcircledistanceradians LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS)) > real</procedure> 278 278 279 279 ==== approximateellipsoiddistance 280 280 281 <procedure>(approximateellipsoiddistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS) (F EARTHFLATTENING)) => real</procedure>281 <procedure>(approximateellipsoiddistance LAT1 LON1 LAT2 LON2 (R EARTHRADIUSKILOMETERS) (F EARTHFLATTENING)) > real</procedure> 282 282 283 283 ==== greatcircleazimuth 284 284 285 <procedure>(greatcircleazimuth LAT1 LON1 LAT2 LON2 [PREC 5]) => real</procedure>285 <procedure>(greatcircleazimuth LAT1 LON1 LAT2 LON2 [PREC 5]) > real</procedure> 286 286 287 287 ==== greatcircleposition 288 288 289 <procedure>(greatcircleposition LAT LON DIS AZI (R EARTHRADIUSKILOMETERS)) => (values latitude longitude)</procedure>289 <procedure>(greatcircleposition LAT LON DIS AZI (R EARTHRADIUSKILOMETERS)) > (values latitude longitude)</procedure> 290 290 291 291 … … 310 310 ==== degreeminutesecondtext 311 311 312 <procedure>(degreeminutesecondtext [DMSTEXT]) => (listof string)</procedure>312 <procedure>(degreeminutesecondtext [DMSTEXT]) > (listof string)</procedure> 313 313 314 314 {{DMSTEXT}} is a 3 element {{list}} of {{string}} of the form {{(<degrees … … 317 317 ==== dms>degree 318 318 319 <procedure>(dms>degree D M S) => real</procedure>319 <procedure>(dms>degree D M S) > real</procedure> 320 320 321 321 ==== degree>dms 322 322 323 <procedure>(degree>dms DEG) => (values D M S)</procedure>323 <procedure>(degree>dms DEG) > (values D M S)</procedure> 324 324 325 325 Returns the degree+minutes+seconds for the degrees {{DEG}}. … … 327 327 ==== dms>string 328 328 329 <procedure>(dms>string D M S [LAT? [LEADINGDIR? [PAD ""]]]) => string</procedure>329 <procedure>(dms>string D M S [LAT? [LEADINGDIR? [PAD ""]]]) > string</procedure> 330 330 331 331 Example: 122Â°45'10"W … … 333 333 ==== dms>string* 334 334 335 <procedure>(dms>string* D M S [PAD ""]) => string</procedure>335 <procedure>(dms>string* D M S [PAD ""]) > string</procedure> 336 336 337 337 Example: 122Â°45'10" … … 339 339 ==== stringdms>degree 340 340 341 <procedure>(stringdms>degree STR [LAT?]) => real</procedure>341 <procedure>(stringdms>degree STR [LAT?]) > real</procedure> 342 342 343 343 Returns the degrees for string form of dms {{STR}}. … … 345 345 ==== string>degree 346 346 347 <procedure>(string>degree STR [LAT?]) => real</procedure>347 <procedure>(string>degree STR [LAT?]) > real</procedure> 348 348 349 349 Synonym of {{stringdms>degree}}. … … 351 351 ==== degree>string 352 352 353 <procedure>(degree>string DEG [LAT? [LEADINGDIR? [PAD ""]]]) => string</procedure>353 <procedure>(degree>string DEG [LAT? [LEADINGDIR? [PAD ""]]]) > string</procedure> 354 354 355 355 Returns the dmsstring for the degrees {{DEG}}. … … 366 366 ==== makeglobe 367 367 368 <procedure>(makeglobe RADIUS FLATTENING) => globe</procedure>368 <procedure>(makeglobe RADIUS FLATTENING) > globe</procedure> 369 369 370 370 ==== globe? 371 371 372 <procedure>(globe? OBJ) => boolean</procedure>372 <procedure>(globe? OBJ) > boolean</procedure> 373 373 374 374 ==== checkglobe 375 375 376 <procedure>(checkglobe LOC OBJ [VARNAM]) => globe</procedure>376 <procedure>(checkglobe LOC OBJ [VARNAM]) > globe</procedure> 377 377 378 378 ==== errorglobe … … 382 382 ==== globeradiuskilometers 383 383 384 <procedure>(globeradiuskilometers GLOBE) => number</procedure>384 <procedure>(globeradiuskilometers GLOBE) > number</procedure> 385 385 386 386 ==== globeflatteningfactor 387 387 388 <procedure>(globeflatteningfactor GLOBE) => number</procedure>388 <procedure>(globeflatteningfactor GLOBE) > number</procedure> 389 389 390 390 ==== sphericalsurfacedistance 391 391 392 <procedure>(sphericalsurfacedistance GLOBE GP1 GP2) => number</procedure>392 <procedure>(sphericalsurfacedistance GLOBE GP1 GP2) > number</procedure> 393 393 394 394 ==== greatcircledistance 395 395 396 <procedure>(greatcircledistance GLOBE GP1 GP2) => number</procedure>396 <procedure>(greatcircledistance GLOBE GP1 GP2) > number</procedure> 397 397 398 398 ==== greatcircledistanceradians 399 399 400 <procedure>(greatcircledistanceradians GLOBE GP1 GP2) => number</procedure>400 <procedure>(greatcircledistanceradians GLOBE GP1 GP2) > number</procedure> 401 401 402 402 ==== approximateellipsoiddistance 403 403 404 <procedure>(approximateellipsoiddistance GLOBE GP1 GP2) => number</procedure>404 <procedure>(approximateellipsoiddistance GLOBE GP1 GP2) > number</procedure> 405 405 406 406 ==== greatcircleazimuth 407 407 408 <procedure>(greatcircleazimuth GP1 GP2 [PRECISION 5]) => number</procedure>408 <procedure>(greatcircleazimuth GP1 GP2 [PRECISION 5]) > number</procedure> 409 409 410 410 ==== greatcircleposition 411 411 412 <procedure>(greatcircleposition GLOBE GP DISTANCE AZIMUTH) => geopoint</procedure>412 <procedure>(greatcircleposition GLOBE GP DISTANCE AZIMUTH) > geopoint</procedure> 413 413 414 414 … … 423 423 ==== *earthflattening* 424 424 425 <variable>*earthflattening* => real</variable>425 <variable>*earthflattening* > real</variable> 426 426 427 427 ==== *earthradiusmiles* 428 428 429 <variable>*earthradiusmiles* => real</variable>429 <variable>*earthradiusmiles* > real</variable> 430 430 431 431 ==== *earthradiuskilometers* 432 432 433 <variable>*earthradiuskilometers* => real</variable>433 <variable>*earthradiuskilometers* > real</variable> 434 434 435 435 ==== makeearth 436 436 437 <procedure>(makeearth) => globe</procedure>437 <procedure>(makeearth) > globe</procedure> 438 438 439 439
Note: See TracChangeset
for help on using the changeset viewer.