Lat and long for locations

This topic contains 12 replies, has 3 voices, and was last updated by  Alex Rollin 4 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #536412

    Doug Montgomery
    Free User
    Post count: 69

    I’m trying to import my states counties and cities. I don’t have the lat and long for the locations, I only have the city, county and zip.

    I have wpai (pro) and thought I could use this to import but don’t see the option. When I look at the GeoDirectory import I don’t see a way to map anything and my file was rejected.

    Referencing this post:
    https://wpgeodirectory.com/support/topic/location-manager-import-locations/page/2/#post-419656

    There is a code someone created to get this data on import although I don’t know how to use it with the GD importer.

    <?php
    /**
     * Plugin Name:   Test Widget Plugin
     * Plugin URI:    https://test.com
     * Description:   Adds an example widget that displays the site title and tagline in a widget area.
     * Version:       1.0
     * Author:        test
     * Author URI:    https://www.test.com
     */
    
    class jpen_Example_Widget extends WP_Widget {
    
      // Set up the widget name and description.
      public function __construct() {
        $widget_options = array( 'classname' => 'example_widget', 'description' => 'This is an Example Widget' );
        parent::__construct( 'example_widget', 'Example Widget', $widget_options );
      }
    
      // Create the widget output.
      public function widget( $args, $instance ) {
        $title = apply_filters( 'widget_title', $instance[ 'title' ] );
        $blog_title = get_bloginfo( 'name' );
        $tagline = get_bloginfo( 'description' );

    I also found this site… https://www.geocod.io but it didn’t work. I’ve got a ticket in with them.

    Any ideas on how to get the lat and long for state>region>cities/zip codes?

    #536416

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536417

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536513

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536518

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536548

    Kor
    Moderator
    Post count: 16516

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536564

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536606

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536615

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536644

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536813

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536814

    Doug Montgomery
    Free User
    Post count: 69

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #536994

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 13 posts - 1 through 13 (of 13 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket