Skip navigation links

Geo Addressing SDK (GA SDK)

Geo Addressing SDK (GA SDK) is an address processing engine made for developers who want to employ address processing to create some amazing solutions.

See: Description

Packages 
Package Description
com.mapinfo.geocode  
com.mapinfo.geocode.adapter  
com.mapinfo.geocode.api  
com.mapinfo.geocode.context  
com.mapinfo.geocode.interactive  
com.mapinfo.geocode.service  
com.mapinfo.geocode.util  
com.pb.geocoding  
com.precisely.addressing  
com.precisely.addressing.common  
com.precisely.addressing.configuration  
com.precisely.addressing.configuration.datasources  
com.precisely.addressing.configuration.lock  
com.precisely.addressing.configuration.model  
com.precisely.addressing.jackson.deserializer  
com.precisely.addressing.jackson.serializer  
com.precisely.addressing.v1  
com.precisely.addressing.v1.factory  
com.precisely.addressing.v1.model  
com.precisely.addressing.v1.parser  
com.precisely.addressing.v2.model  
com.precisely.geometry  
com.precisely.geometry.geojson  
com.precisely.geometry.geojson.jackson  
Geo Addressing SDK (GA SDK) is an address processing engine made for developers who want to employ address processing to create some amazing solutions.

Key Features

Addressing


  Addressing addressing = new AddressingBuilder()
          .withConfiguration(new AddressingConfigurationBuilder()
              .withResources(Paths.get("{directory}/ga-sdk-dist-{version}/resources")) // runtime resources location bundled in release distribution
              .withData(new SpdDataSourceBuilder()
                  .withSpdPaths(Paths.get("/data")) // location where software should scan for SPD data
                  .withNumberOfExtractors(3)
                  .withExtractedPath(Paths.get("/data")) // location where data should be extracted
                  .build())
              .build())
          .build();

  RequestAddress address = new RequestAddress();
  address.setCountry("USA");
  address.setAddressLines(Arrays.asList("1 Global View Troy NY 12180"));

  Preferences preferences = new PreferencesBuilder()
    .withReturnAllInfo(true)
    .withFactoryDescription(new FactoryDescriptionBuilder()
      .withLabel("ggs")
      .build())
    .build();

  Response response = addressing.geocode(address, preferences);
  if(Status.OK == response.getStatus()) {
    // take action on address
  }
  

GeocodingAPI


    GeocodingAPI geocoder = new GeocoderBuilder()
      //path to ggs runtime resources, this will be located under ggs distribution
      .withConfiguration(Paths.get("{directory}/ga-sdk-dist-{version}/resources"))
      // This is where you can set default preferences. If this is not set, the default preferences would be used from
      // configuration file: {directory}/ga-sdk-dist-{version}/resources/config/geocodePreferences.xml
      .withPreferences(new GeocoderPreferences())
      .build();
    
Skip navigation links

Copyright © 2024. All rights reserved.