German api:http://lbs.amap.com/api/webservice/guide/api/georegeo/Http://restapi.amap.com/v3/geocode/geo?key=7de8697669288fc848e12a08f58d995es=rsv3city= , Hangzhou Address= Modern Building, No. 87th Tiancheng Road, Hangzhou, ChinaThe key on the side is the key that is open to others, and it feels good to use it. Basically there is no big limit, using the top interface to get latitude and longitude is basically 100% successful, but this coordinate syste
address
Zip Code
Contact number
The region corresponds to the third-level geocode of the national standard, for example, "Guangdong province-Guangzhou-Tianhe District", and the corresponding zip code is 510630. Http://www.stats.gov.cn/tjsj/tjbz/xzqhdm/201401/t20140116_501070.html for details2. bind a domain name
Log on to the public platform and go to "function settings" of "public Account Settings" and enter "JS interface security domain name ".
,
Sdo_rtr_pctfree in integer default 10,
Num_dimensions in integer default 2,
Is_geodetic in integer default 0
) Return number;4. function-based spatial index
Create or replace function gcdr_geometry (street_number varchar2,
Street_name varchar2,
City varchar2,
State varchar2,
Postal_code varchar2)
Return MDSYS. sdo_geometry deterministic is
Begin
Return (sdo_gcdr.geocode_as_geometry ('spatial ',
Sdo_keywordarray (street_number | ''|
Street_name,
City | ''| state |'' |
Postal_code ),
'Us '));
En
The term "Address Resolution" usually refers to converting a human-readable address into a location on a map.Conversely, the process of converting a location on a map to a human-readable address is called "Reverse Address Resolution ".
Google geocoding API supports direct uselatlngParameters for Reverse Address Resolution. For example, the following query contains the latitude/longitude value of a location in Brooklyn:
http://maps.google.com/maps/api/geocode
Recently, I was engaged in map development and wanted to know the longitude and latitude of the specific location. So I looked for it online and found that Google and Baidu both wanted to provide such WebService services.
The following is a specific service URL. The specific effect is as follows:
Http://maps.googleapis.com/maps/api/geocode/json? Address = Guangzhou Baiyun Hotel sensor = false
After you press enter in the address bar of your browser,
This package defines the map service interfaces such as address query, anti-encoding, path query, and local query.
Digitalmapservce
Implementation of various map services (address query and Path. Developers can select the map service type, such as Google map or cloudmade map service. users in China can also choose to use the mapabc map service.
Idirequery Query
Path query interface definition.
Igeocoder
Address query interface definition.
website. This requires the bmkserarc delegate class bmksearchdelegate. First, call the reversegeocode function of bmkserach, and then in the-(void) of bmksearchdelegate)Onget
Addrresult: (bmkaddrinfo *) Result errorcode: (INT) error function to obtain the result.
Below are some key codes:
-(Void) mapview :( bmkmapview *) mapview didupdateuserlocation :( bmkuserlocation *) userlocation
{
Locallatitude = userlocation. Coordinate. Latitude; // Save the obtained longitude and latit
())// Set the direction information obtained by the developer, Which is 0-360 clockwise.. Direction (100). latitude (location. getLatitude ()). Longpolling (location. getlongpolling (). build ();// Set the positioning dataMBaiduMap. setMyLocationData (locData );C. Use mBaiduMap. addOverlay (option) to add a covering marker. Refer to Baidu documentation.// Add a marker
// Construct the Marker iconBitmapDescriptor bitmap = BitmapDescriptorFactory. FromResource (drawable );// Construct a MarkerOpt
://maps.googleapis.com/maps/api/geocode/json? Latlng = % f, % f sensor = true
Some people on the Internet say that the system method sometimes cannot parse the location. The second kind of google, sometimes unable to access the google server in China, has its disadvantages.
Someone suggested that AMAP can be used for domestic maps (I will try again later)
PS1: There is a popular nearby search function on the Internet, which is based on google's api S
longitude and latitude. When the provider is "system", the "WGS84" type is used by default. If the provider is "Baidu", the "bd09ll" type is used by default. If the specified coordinate system type provider is not supported, an error is returned. */ Geocode: /* (Boolean Type) Whether to parse the address information. The resolved address information is saved to the address and addresses attributes of the position object. True indicates that the a
Basic concepts of location anti-Encoding
Location encoding is to convert longitude and latitude to specific location information
After ios5.0, use the clgeocoder class for anti-encoding. Before ios5, use the mkreversegeocoder class for anti-encoding.
1. clgeocoder location anti-Encoding
// Use ------------------------- clgeocoder * geocoder = [[clgeocoder alloc] init]; [geocoder reversegeocodelocation: newlocation completionhandler: ^ (nsarray * placemarks, nserror * error) {// traverse locat
/// Hmviewcontroller. M // 02-geocode /// created by Apple on 14-8-7. // copyright (c) 2014 heima. all rights reserved. // # import "hmviewcontroller. H "# import
Clgeocoder basic usage
; Network Analysis Service Enhancement; geocode service enhancement, geometric service enhancement; and GP service enhancement.
Ii. Fixed problems (compared with v2.4 and 3.0pre-release)
Dynamic layers cannot be rendered if the map scale exceeds the maximum or minimum scale.
Allows you to update and delete newly created, unsaved graphs (graphic)
Featuredataform does not display the typeid field "name"
Memory leakage caused by removing kmllayer
animation effect is summarized here. Next we will analyze the principle of automatic positioning: currently, most domestic software positioning systems use Baidu lightweight package positioning directly, this is also true for the simple weather I used. Here, I use Google positioning to find a new way, a new mood, and a more skillful way. The main method is to use the provider available on the mobile phone, including passive_provider, network_provider, and gps_provider. Select an optimal method
When we want to implement the function in the app: Enter place name, code for latitude and longitude, realize navigation function. So, I need to use the Geocoding feature in the native map, and in the core location, it includes the positioning, geocoding (including the anti-coding) feature.Import in File#import Geocoding:/** geocoding */-(void) Geocoder { clgeocoder *geocoder=[[clgeocoder alloc]init]; NSString *addressstr = @ "Guangdong province Shenzhen Bao ' an district";//locati
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.