1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Place</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Flickcurl Flickr API Manual">
<link rel="up" href="index.html" title="Flickcurl Flickr API Manual">
<link rel="prev" href="flickcurl-section-photoset.html" title="Photoset">
<link rel="next" href="flickcurl-section-prefs.html" title="Preferences">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="flickcurl-section-photoset.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Flickcurl Flickr API Manual</th>
<td><a accesskey="n" href="flickcurl-section-prefs.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#flickcurl-section-place.synopsis" class="shortcut">Top</a>
|
<a href="#flickcurl-section-place.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="flickcurl-section-place"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="flickcurl-section-place.top_of_page"></a>Place</span></h2>
<p>Place — Places in the real world.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="flickcurl-section-place.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place">flickcurl_place</a>;
<span class="returnvalue">void</span> <a class="link" href="flickcurl-section-place.html#flickcurl-free-place" title="flickcurl_free_place ()">flickcurl_free_place</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="type">flickcurl_place</span></a> *place</code></em>);
<span class="returnvalue">void</span> <a class="link" href="flickcurl-section-place.html#flickcurl-free-places" title="flickcurl_free_places ()">flickcurl_free_places</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="type">flickcurl_place</span></a> **places_object</code></em>);
enum <a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type">flickcurl_place_type</a>;
<a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info">flickcurl_place_type_info</a>;
<span class="returnvalue">int</span> <a class="link" href="flickcurl-section-place.html#flickcurl-place-type-to-id" title="flickcurl_place_type_to_id ()">flickcurl_place_type_to_id</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="flickcurl-section-place.html#flickcurl-free-place-type-infos" title="flickcurl_free_place_type_infos ()">flickcurl_free_place_type_infos</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info"><span class="type">flickcurl_place_type_info</span></a> **ptis_object</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="returnvalue">flickcurl_place_type</span></a> <a class="link" href="flickcurl-section-place.html#flickcurl-get-place-type-by-label" title="flickcurl_get_place_type_by_label ()">flickcurl_get_place_type_by_label</a> (<em class="parameter"><code>const <span class="type">char</span> *place_label</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="flickcurl-section-place.html#flickcurl-get-place-type-label" title="flickcurl_get_place_type_label ()">flickcurl_get_place_type_label</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-find" title="flickcurl_places_find ()">flickcurl_places_find</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *query</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-findByLatLon" title="flickcurl_places_findByLatLon ()">flickcurl_places_findByLatLon</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><span class="type">double</span> lat</code></em>,
<em class="parameter"><code><span class="type">double</span> lon</code></em>,
<em class="parameter"><code><span class="type">int</span> accuracy</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-forUser" title="flickcurl_places_forUser ()">flickcurl_places_forUser</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-getChildrenWithPhotosPublic" title="flickcurl_places_getChildrenWithPhotosPublic ()">flickcurl_places_getChildrenWithPhotosPublic</a>
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *woe_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-getChildrenWithPhotosPublic2" title="flickcurl_places_getChildrenWithPhotosPublic2 ()">flickcurl_places_getChildrenWithPhotosPublic2</a>
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-getInfo" title="flickcurl_places_getInfo ()">flickcurl_places_getInfo</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *woe_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-getInfo2" title="flickcurl_places_getInfo2 ()">flickcurl_places_getInfo2</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">int</span> woe_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-getInfoByUrl" title="flickcurl_places_getInfoByUrl ()">flickcurl_places_getInfoByUrl</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info"><span class="returnvalue">flickcurl_place_type_info</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-getPlaceTypes" title="flickcurl_places_getPlaceTypes ()">flickcurl_places_getPlaceTypes</a>
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>);
<span class="returnvalue">flickcurl_shapedata</span> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-getShapeHistory" title="flickcurl_places_getShapeHistory ()">flickcurl_places_getShapeHistory</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-getTopPlacesList" title="flickcurl_places_getTopPlacesList ()">flickcurl_places_getTopPlacesList</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="returnvalue">flickcurl_place_type</span></a> <a class="link" href="flickcurl-section-place.html#flickcurl-place-id-to-type" title="flickcurl_place_id_to_type ()">flickcurl_place_id_to_type</a> (<em class="parameter"><code><span class="type">int</span> place_type_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForBoundingBox" title="flickcurl_places_placesForBoundingBox ()">flickcurl_places_placesForBoundingBox</a>
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">double</span> minimum_longitude</code></em>,
<em class="parameter"><code><span class="type">double</span> minimum_latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> maximum_longitude</code></em>,
<em class="parameter"><code><span class="type">double</span> maximum_latitude</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForContacts" title="flickcurl_places_placesForContacts ()">flickcurl_places_placesForContacts</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *contacts</code></em>,
<em class="parameter"><code><span class="type">int</span> min_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> min_taken_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_taken_date</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForUser" title="flickcurl_places_placesForUser ()">flickcurl_places_placesForUser</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>);
<span class="returnvalue">int</span> <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForTags" title="flickcurl_places_placesForTags ()">flickcurl_places_placesForTags</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *threshold</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *tags</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *tag_mode</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *machine_tags</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *machine_tag_mode</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *min_upload_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *max_upload_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *min_taken_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *max_taken_date</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-resolvePlaceId" title="flickcurl_places_resolvePlaceId ()">flickcurl_places_resolvePlaceId</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>);
<a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * <a class="link" href="flickcurl-section-place.html#flickcurl-places-resolvePlaceURL" title="flickcurl_places_resolvePlaceURL ()">flickcurl_places_resolvePlaceURL</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);
<a class="link" href="flickcurl-section-tag.html#flickcurl-tag" title="flickcurl_tag"><span class="returnvalue">flickcurl_tag</span></a> ** <a class="link" href="flickcurl-section-place.html#flickcurl-places-tagsForPlace" title="flickcurl_places_tagsForPlace ()">flickcurl_places_tagsForPlace</a> (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> min_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> min_taken_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_taken_date</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="flickcurl-section-place.description"></a><h2>Description</h2>
<p>
Places in the real world.
</p>
</div>
<div class="refsect1">
<a name="flickcurl-section-place.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="flickcurl-place"></a><h3>flickcurl_place</h3>
<pre class="programlisting">typedef struct {
char* names[FLICKCURL_PLACE_LAST+1];
char* ids[FLICKCURL_PLACE_LAST+1];
char* urls[FLICKCURL_PLACE_LAST+1];
flickcurl_place_type type;
char* woe_ids[FLICKCURL_PLACE_LAST+1];
flickcurl_location location;
int count;
/* DEPRECATED shapefile fields; now are pointers into @shape */
char* shapedata;
size_t shapedata_length;
char** shapefile_urls;
int shapefile_urls_count;
struct flickcurl_shapedata_s* shape;
char* timezone;
} flickcurl_place;
</pre>
<p>
A Place.
</p>
<p>
Index 0 in the array is the location itself. <a class="link" href="flickcurl-section-place.html#flickcurl-get-place-type-label" title="flickcurl_get_place_type_label ()"><code class="function">flickcurl_get_place_type_label()</code></a>
can give labels for the array indexes of type <a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.names"></a>names</code></em>[FLICKCURL_PLACE_LAST+1];</span></p></td>
<td>Array of place names</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.ids"></a>ids</code></em>[FLICKCURL_PLACE_LAST+1];</span></p></td>
<td>Array of place IDs</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.urls"></a>urls</code></em>[FLICKCURL_PLACE_LAST+1];</span></p></td>
<td>Array of place urls.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> <em class="structfield"><code><a name="flickcurl-place.type"></a>type</code></em>;</span></p></td>
<td>Location type of index 0 (the location) usually
FLICKCURL_PLACE_LOCATION but may be wider</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.woe-ids"></a>woe_ids</code></em>[FLICKCURL_PLACE_LAST+1];</span></p></td>
<td>Array of WOE IDs</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="flickcurl-section-misc.html#flickcurl-location" title="flickcurl_location"><span class="type">flickcurl_location</span></a> <em class="structfield"><code><a name="flickcurl-place.location"></a>location</code></em>;</span></p></td>
<td>location for this place</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-place.count"></a>count</code></em>;</span></p></td>
<td>count of photos (when used for <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForUser" title="flickcurl_places_placesForUser ()"><code class="function">flickcurl_places_placesForUser()</code></a> )</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.shapedata"></a>shapedata</code></em>;</span></p></td>
<td>DEPRECATED for <em class="parameter"><code>shape->data</code></em>: XML string of <shapedata> element and content elements when present (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">size_t</span> <em class="structfield"><code><a name="flickcurl-place.shapedata-length"></a>shapedata_length</code></em>;</span></p></td>
<td>DEPRECATED for <em class="parameter"><code>shape->data_length</code></em>: size of <em class="parameter"><code>shapedate</code></em> string</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> **<em class="structfield"><code><a name="flickcurl-place.shapefile-urls"></a>shapefile_urls</code></em>;</span></p></td>
<td>DEPRECATED for <em class="parameter"><code>shape->file_urls</code></em>: NULL-terminated array of pointers to shapefile URLs when present (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-place.shapefile-urls-count"></a>shapefile_urls_count</code></em>;</span></p></td>
<td>DEPRECATED for <em class="parameter"><code>shape->file_urls_count</code></em>: number of entries in <em class="parameter"><code>shapefile_urls</code></em> array</td>
</tr>
<tr>
<td><p><span class="term">struct <span class="type">flickcurl_shapedata_s</span> *<em class="structfield"><code><a name="flickcurl-place.shape"></a>shape</code></em>;</span></p></td>
<td>shapefile data (inline data and shapefile urls)</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place.timezone"></a>timezone</code></em>;</span></p></td>
<td>timezone of location in 'zoneinfo' format such as âEurope/Parisâ.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-place"></a><h3>flickcurl_free_place ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> flickcurl_free_place (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="type">flickcurl_place</span></a> *place</code></em>);</pre>
<p>
Destructor for place object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>place</code></em> :</span></p></td>
<td>place object</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-places"></a><h3>flickcurl_free_places ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> flickcurl_free_places (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="type">flickcurl_place</span></a> **places_object</code></em>);</pre>
<p>
Destructor for array of place object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>places_object</code></em> :</span></p></td>
<td>place object array</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-place-type"></a><h3>enum flickcurl_place_type</h3>
<pre class="programlisting">typedef enum {
FLICKCURL_PLACE_LOCATION,
FLICKCURL_PLACE_NEIGHBOURHOOD,
FLICKCURL_PLACE_NEIGHBORHOOD = FLICKCURL_PLACE_NEIGHBOURHOOD,
FLICKCURL_PLACE_LOCALITY,
FLICKCURL_PLACE_COUNTY,
FLICKCURL_PLACE_REGION,
FLICKCURL_PLACE_COUNTRY,
FLICKCURL_PLACE_CONTINENT,
FLICKCURL_PLACE_LAST = FLICKCURL_PLACE_CONTINENT
} flickcurl_place_type;
</pre>
<p>
Place type
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="FLICKCURL-PLACE-LOCATION:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_LOCATION</code></span></p></td>
<td>a general location
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-NEIGHBOURHOOD:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_NEIGHBOURHOOD</code></span></p></td>
<td>neighborhood (narrowest place)
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-NEIGHBORHOOD:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_NEIGHBORHOOD</code></span></p></td>
<td>deprecated
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-LOCALITY:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_LOCALITY</code></span></p></td>
<td>locality
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-COUNTY:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_COUNTY</code></span></p></td>
<td>county
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-REGION:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_REGION</code></span></p></td>
<td>region
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-COUNTRY:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_COUNTRY</code></span></p></td>
<td>country
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-CONTINENT:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_CONTINENT</code></span></p></td>
<td>continent (widest place) (Flickcurl 1.8)
</td>
</tr>
<tr>
<td><p><a name="FLICKCURL-PLACE-LAST:CAPS"></a><span class="term"><code class="literal">FLICKCURL_PLACE_LAST</code></span></p></td>
<td>internal offset to last in enum list
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-place-type-info"></a><h3>flickcurl_place_type_info</h3>
<pre class="programlisting">typedef struct {
flickcurl_place_type type;
int id;
char *name;
} flickcurl_place_type_info;
</pre>
<p>
Place type information
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> <em class="structfield"><code><a name="flickcurl-place-type-info.type"></a>type</code></em>;</span></p></td>
<td>type enum ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="flickcurl-place-type-info.id"></a>id</code></em>;</span></p></td>
<td>web service call ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="type">char</span> *<em class="structfield"><code><a name="flickcurl-place-type-info.name"></a>name</code></em>;</span></p></td>
<td>name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-place-type-to-id"></a><h3>flickcurl_place_type_to_id ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span> flickcurl_place_type_to_id (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>);</pre>
<p>
Turn a place type into a place ID
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>place type</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>place ID for type or <0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-free-place-type-infos"></a><h3>flickcurl_free_place_type_infos ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> flickcurl_free_place_type_infos (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info"><span class="type">flickcurl_place_type_info</span></a> **ptis_object</code></em>);</pre>
<p>
Destructor for place type info list
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>ptis_object</code></em> :</span></p></td>
<td>list of place type info</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-place-type-by-label"></a><h3>flickcurl_get_place_type_by_label ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="returnvalue">flickcurl_place_type</span></a> flickcurl_get_place_type_by_label (<em class="parameter"><code>const <span class="type">char</span> *place_label</code></em>);</pre>
<p>
Get a place type by label
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_label</code></em> :</span></p></td>
<td>place type</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>place type</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-get-place-type-label"></a><h3>flickcurl_get_place_type_label ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * flickcurl_get_place_type_label (<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>);</pre>
<p>
Get label for a place type
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>place type</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>label string or NULL if none valid</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-find"></a><h3>flickcurl_places_find ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_find (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *query</code></em>);</pre>
<p>
Return a list of place IDs for a query string.
</p>
<p>
The flickr.places.find method is NOT a geocoder. It will round up
to the nearest place type to which place IDs apply. For example,
if you pass it a street level address it will return the city that
contains the address rather than the street, or building, itself.
</p>
<p>
This API announced 2008-01-18
http://tech.groups.yahoo.com/group/yws-flickr/message/3716
</p>
<p>
Implements flickr.places.find (1.1)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td>
<td>The query string to use for place ID lookups</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>array of places or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-findByLatLon"></a><h3>flickcurl_places_findByLatLon ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_findByLatLon (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><span class="type">double</span> lat</code></em>,
<em class="parameter"><code><span class="type">double</span> lon</code></em>,
<em class="parameter"><code><span class="type">int</span> accuracy</code></em>);</pre>
<p>
Return a place ID for a latitude, longitude and accuracy triple.
</p>
<p>
The flickr.places.findByLatLon method is not meant to be a
(reverse) geocoder in the traditional sense. It is designed to
allow users to find photos for "places" and will round up to the
nearest place type to which corresponding place IDs apply.
</p>
<p>
This API announced 2008-01-23
http://tech.groups.yahoo.com/group/yws-flickr/message/3735
</p>
<p>
Implements flickr.places.findByLatLon (1.1)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>lat</code></em> :</span></p></td>
<td>The latitude whose valid range is -90 to 90. Anything more than 4 decimal places will be truncated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>lon</code></em> :</span></p></td>
<td>The longitude whose valid range is -180 to 180. Anything more than 4 decimal places will be truncated.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>accuracy</code></em> :</span></p></td>
<td>Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. The default is 16.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-forUser"></a><h3>flickcurl_places_forUser ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_forUser (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>);</pre>
<p>
Return a list of the top 100 unique places clustered by a given place type for a user.
</p>
<p>
<em class="parameter"><code>deprecated</code></em>: Use <a class="link" href="flickcurl-section-place.html#flickcurl-places-placesForUser" title="flickcurl_places_placesForUser ()"><code class="function">flickcurl_places_placesForUser()</code></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>A specific place type to cluster photos by. Valid places types are neighbourhood, locality, region or country</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where on Earth ID to use to filter photo clusters. (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID to use to filter photo clusters. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>threshold</code></em> :</span></p></td>
<td>The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used. (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getChildrenWithPhotosPublic"></a><h3>flickcurl_places_getChildrenWithPhotosPublic ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_getChildrenWithPhotosPublic
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *woe_id</code></em>);</pre>
<p>
Return a list of locations with public photos that are parented by a Where on Earth (WOE) or Places ID.
</p>
<p>
Implements flickr.places.getChildrenWithPhotosPublic (1.7)
</p>
<p>
<em class="parameter"><code>deprecated</code></em>: Replaced by <a class="link" href="flickcurl-section-place.html#flickcurl-places-getChildrenWithPhotosPublic2" title="flickcurl_places_getChildrenWithPhotosPublic2 ()"><code class="function">flickcurl_places_getChildrenWithPhotosPublic2()</code></a> with integer woe_id argument.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID. (While optional, you must pass either a valid Places ID or a WOE ID.) (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where On Earth (WOE) ID. (While optional, you must pass either a valid Places ID or a WOE ID.) (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>array of places or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getChildrenWithPhotosPublic2"></a><h3>flickcurl_places_getChildrenWithPhotosPublic2 ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_getChildrenWithPhotosPublic2
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>);</pre>
<p>
Return a list of locations with public photos that are parented by a Where on Earth (WOE) or Places ID.
</p>
<p>
You must pass either a valid Places ID or a WOE ID.
</p>
<p>
Replaces <a class="link" href="flickcurl-section-place.html#flickcurl-places-getChildrenWithPhotosPublic" title="flickcurl_places_getChildrenWithPhotosPublic ()"><code class="function">flickcurl_places_getChildrenWithPhotosPublic()</code></a> with integer <em class="parameter"><code>woe_id</code></em> arg.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where On Earth (WOE) ID (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>array of places or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getInfo"></a><h3>flickcurl_places_getInfo ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_getInfo (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *woe_id</code></em>);</pre>
<p>
Get information about a place.
</p>
<p>
While optional, you must pass either a valid Places ID or a WOE ID.
</p>
<p>
Implements flickr.places.getInfo (1.7)
</p>
<p>
Announced 2008-10-30
http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/
and in detail 2008-11-05
http://tech.groups.yahoo.com/group/yws-flickr/message/4510
</p>
<p>
<em class="parameter"><code>deprecated</code></em>: Replaced by <a class="link" href="flickcurl-section-place.html#flickcurl-places-getInfo2" title="flickcurl_places_getInfo2 ()"><code class="function">flickcurl_places_getInfo2()</code></a> with integer woe_id argument.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where On Earth (WOE) ID. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new place object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getInfo2"></a><h3>flickcurl_places_getInfo2 ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_getInfo2 (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">int</span> woe_id</code></em>);</pre>
<p>
Get information about a place.
</p>
<p>
While optional, you must pass either a valid Places ID or a WOE ID.
</p>
<p>
Replaces <a class="link" href="flickcurl-section-place.html#flickcurl-places-getInfo" title="flickcurl_places_getInfo ()"><code class="function">flickcurl_places_getInfo()</code></a> with integer woe_id argument.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where On Earth (WOE) ID (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new place object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getInfoByUrl"></a><h3>flickcurl_places_getInfoByUrl ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_getInfoByUrl (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);</pre>
<p>
Lookup information about a place, by its flickr.com/places URL.
</p>
<p>
Implements flickr.places.getInfoByUrl (1.7)
</p>
<p>
Announced 2008-10-30
http://code.flickr.com/blog/2008/10/30/the-shape-of-alpha/
and in detail 2008-11-05
http://tech.groups.yahoo.com/group/yws-flickr/message/4510
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>url</code></em> :</span></p></td>
<td>A flickr.com/places URL in the form of /country/region/city. For example: /Canada/Quebec/Montreal</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new place object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getPlaceTypes"></a><h3>flickcurl_places_getPlaceTypes ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info"><span class="returnvalue">flickcurl_place_type_info</span></a> ** flickcurl_places_getPlaceTypes
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>);</pre>
<p>
Get a list of available place types
</p>
<p>
Implements flickr.places.getPlaceTypes (1.8)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>array of <a class="link" href="flickcurl-section-place.html#flickcurl-place-type-info" title="flickcurl_place_type_info"><span class="type">flickcurl_place_type_info</span></a> or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getShapeHistory"></a><h3>flickcurl_places_getShapeHistory ()</h3>
<pre class="programlisting"><span class="returnvalue">flickcurl_shapedata</span> ** flickcurl_places_getShapeHistory (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>);</pre>
<p>
Return an historical list of all the shape data generated for a
Places or Where on Earth (WOE) ID.
</p>
<p>
While optional, you must pass either a valid Places ID or a WOE ID.
</p>
<p>
Implements flickr.places.getShapeHistory (1.8)
</p>
<p>
Announced 2009-01-12 in
http://tech.groups.yahoo.com/group/yws-flickr/message/4669
</p>
<p>
Addition of donut holes announced 2009-05-06
http://code.flickr.com/blog/2009/05/06/the-absence-and-the-anchor/
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Flickr Places ID (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where On Earth (WOE) ID (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-getTopPlacesList"></a><h3>flickcurl_places_getTopPlacesList ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_getTopPlacesList (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *date</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>);</pre>
<p>
Return the top 100 most geotagged places for a day.
</p>
<p>
Implements flickr.places.getTopPlacesList (1.12)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>The place type to cluster photos by. Valid place types are : neighbourhood, locality, region, country and continent</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
<td>A valid date in YYYY-MM-DD format. The default is yesterday. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>Limit your query to only those top places belonging to a specific Flickr Places identifier. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>array of places or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-place-id-to-type"></a><h3>flickcurl_place_id_to_type ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="returnvalue">flickcurl_place_type</span></a> flickcurl_place_id_to_type (<em class="parameter"><code><span class="type">int</span> place_type_id</code></em>);</pre>
<p>
Turn a place type into a place ID
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type_id</code></em> :</span></p></td>
<td>place type ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>place type for fID or FLICKCURL_PLACE_LOCATION on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-placesForBoundingBox"></a><h3>flickcurl_places_placesForBoundingBox ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_placesForBoundingBox
(<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">double</span> minimum_longitude</code></em>,
<em class="parameter"><code><span class="type">double</span> minimum_latitude</code></em>,
<em class="parameter"><code><span class="type">double</span> maximum_longitude</code></em>,
<em class="parameter"><code><span class="type">double</span> maximum_latitude</code></em>);</pre>
<p>
Return all the locations of a matching place type for a bounding box.
</p>
<p>
The maximum allowable size of a bounding box (the distance between
the SW and NE corners) is governed by the place type you are
requesting. Allowable sizes are as follows:
neighbourhood: 3km (1.8mi), locality: 7km (4.3mi), county: 50km (31mi),
region: 200km (124mi), country: 500km (310mi), continent: 1500km (932mi)
</p>
<p>
Implements flickr.places.placesForBoundingBox (1.8)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>The place type to cluster photos by</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>minimum_longitude</code></em> :</span></p></td>
<td>Bound Box bottom-left corner longitude</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>minimum_latitude</code></em> :</span></p></td>
<td>Bound Box bottom-left corner latitude</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>maximum_longitude</code></em> :</span></p></td>
<td>Bound Box top-right corner longitude</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>maximum_latitude</code></em> :</span></p></td>
<td>Bound Box top-right corner latitude</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-placesForContacts"></a><h3>flickcurl_places_placesForContacts ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_placesForContacts (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *contacts</code></em>,
<em class="parameter"><code><span class="type">int</span> min_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> min_taken_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_taken_date</code></em>);</pre>
<p>
Return a list of the top 100 unique places clustered by a given
placetype for a user's contacts.
</p>
<p>
One of <em class="parameter"><code>woe_id</code></em> or <em class="parameter"><code>place_id</code></em> must be given.
</p>
<p>
Implements flickr.places.placesForContacts (1.8)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>A specific place type to cluster photos by.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where on Earth ID to use to filter photo clusters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID to use to filter photo clusters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>threshold</code></em> :</span></p></td>
<td>The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>contacts</code></em> :</span></p></td>
<td>Search your contacts. Either 'all' or 'ff' for just friends and family. (Default is 'all') (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_upload_date</code></em> :</span></p></td>
<td>Minimum upload date. Photos with an upload date greater than or equal to this value will be returned (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_upload_date</code></em> :</span></p></td>
<td>Maximum upload date. Photos with an upload date less than or equal to this value will be returned (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_taken_date</code></em> :</span></p></td>
<td>Minimum taken date. Photos with an taken date greater than or equal to this value will be returned (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_taken_date</code></em> :</span></p></td>
<td>Maximum taken date. Photos with an taken date less than or equal to this value will be returned (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-placesForUser"></a><h3>flickcurl_places_placesForUser ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> ** flickcurl_places_placesForUser (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> threshold</code></em>);</pre>
<p>
Return a list of the top 100 unique places clustered by a given place type for a user.
</p>
<p>
This API added 2008-09-04 as announced in
http://code.flickr.com/blog/2008/09/04/whos-on-first/
</p>
<p>
Implements flickr.places.placesForUser (1.6)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>A specific place type to cluster photos by. Valid places types are neighbourhood, locality, region or country</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where on Earth ID to use to filter photo clusters. (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID to use to filter photo clusters. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>threshold</code></em> :</span></p></td>
<td>The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used. (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-placesForTags"></a><h3>flickcurl_places_placesForTags ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span> flickcurl_places_placesForTags (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><a class="link" href="flickcurl-section-place.html#flickcurl-place-type" title="enum flickcurl_place_type"><span class="type">flickcurl_place_type</span></a> place_type</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *threshold</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *tags</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *tag_mode</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *machine_tags</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *machine_tag_mode</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *min_upload_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *max_upload_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *min_taken_date</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *max_taken_date</code></em>);</pre>
<p>
Return a list of the top 100 unique places clustered by a given
placetype for set of tags or machine tags.
</p>
<p>
Machine tags extra information. Aside from passing in a fully
formed machine tag, there is a special syntax for searching on
specific properties :
</p>
<p>
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">Find photos using the 'dc' namespace : <code class="literal">"machine_tags" => "dc:"</code>
</li>
<li class="listitem"> Find photos with a title in the 'dc' namespace : <code class="literal">"machine_tags" => "dc:title = "</code>
</li>
<li class="listitem">Find photos titled "mr. camera" in the 'dc' namespace : <code class="literal">"machine_tags" => "dc:title = \"mr. camera\"</code>
</li>
<li class="listitem">Find photos whose value is "mr. camera" : <code class="literal">"machine_tags" => "*:* = \"mr. camera\""</code>
</li>
<li class="listitem">Find photos that have a title, in any namespace : <code class="literal">"machine_tags" => "*:title = "</code>
</li>
<li class="listitem">Find photos that have a title, in any namespace, whose value is "mr. camera" : <code class="literal">"machine_tags" => "*:title = \"mr. camera\""</code>
</li>
<li class="listitem">Find photos, in the 'dc' namespace whose value is "mr. camera" : <code class="literal">"machine_tags" => "dc:* = \"mr. camera\""</code>
</li>
</ul></div>
<p>
</p>
<p>
Implements flickr.places.placesForTags (1.8)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_type</code></em> :</span></p></td>
<td>The place type to cluster photos by</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where on Earth ID to use to filter photo clusters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID to use to filter photo clusters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>threshold</code></em> :</span></p></td>
<td>The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tags</code></em> :</span></p></td>
<td>A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tag_mode</code></em> :</span></p></td>
<td>Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>machine_tags</code></em> :</span></p></td>
<td>Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited to (8). See below. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>machine_tag_mode</code></em> :</span></p></td>
<td>Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_upload_date</code></em> :</span></p></td>
<td>Minimum upload date. Photos with an upload date greater than or equal to this value will be returned (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_upload_date</code></em> :</span></p></td>
<td>Maximum upload date. Photos with an upload date less than or equal to this value will be returned (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_taken_date</code></em> :</span></p></td>
<td>Minimum taken date. Photos with an taken date greater than or equal to this value will be returned (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_taken_date</code></em> :</span></p></td>
<td>Maximum taken date. Photos with an taken date less than or equal to this value will be returned (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-resolvePlaceId"></a><h3>flickcurl_places_resolvePlaceId ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_resolvePlaceId (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>);</pre>
<p>
Find places information by Place ID
</p>
<p>
Implements flickr.places.resolvePlaceId (1.0)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Places ID</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>new place object or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-resolvePlaceURL"></a><h3>flickcurl_places_resolvePlaceURL ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-place.html#flickcurl-place" title="flickcurl_place"><span class="returnvalue">flickcurl_place</span></a> * flickcurl_places_resolvePlaceURL (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);</pre>
<p>
Find Places information by Place URL
</p>
<p>
Implements flickr.places.resolvePlaceURL (1.0)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>url</code></em> :</span></p></td>
<td>A Places URL. Place URLs are of the form /country/region/city</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>non-0 on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="flickcurl-places-tagsForPlace"></a><h3>flickcurl_places_tagsForPlace ()</h3>
<pre class="programlisting"><a class="link" href="flickcurl-section-tag.html#flickcurl-tag" title="flickcurl_tag"><span class="returnvalue">flickcurl_tag</span></a> ** flickcurl_places_tagsForPlace (<em class="parameter"><code><a class="link" href="flickcurl-section-core.html#flickcurl" title="flickcurl"><span class="type">flickcurl</span></a> *fc</code></em>,
<em class="parameter"><code><span class="type">int</span> woe_id</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *place_id</code></em>,
<em class="parameter"><code><span class="type">int</span> min_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_upload_date</code></em>,
<em class="parameter"><code><span class="type">int</span> min_taken_date</code></em>,
<em class="parameter"><code><span class="type">int</span> max_taken_date</code></em>);</pre>
<p>
Return a list of the top 100 unique tags for a Flickr Places or
Where on Earth (WOE) ID
</p>
<p>
(While optional, you must pass either a valid Places ID or a WOE ID.)
</p>
<p>
Implements flickr.places.tagsForPlace (1.8)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fc</code></em> :</span></p></td>
<td>flickcurl context</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>woe_id</code></em> :</span></p></td>
<td>A Where on Earth identifier to use to filter photo clusters (or <0)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>place_id</code></em> :</span></p></td>
<td>A Flickr Places identifier to use to filter photo clusters (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_upload_date</code></em> :</span></p></td>
<td>Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_upload_date</code></em> :</span></p></td>
<td>Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_taken_date</code></em> :</span></p></td>
<td>Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max_taken_date</code></em> :</span></p></td>
<td>Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. (or NULL)</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|