Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Get State Name from Lognsitude and Latitude

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Get State Name from Lognsitude and Latitude
 Login/Join
 
Expert
posted
Can WebFOCUS Do This? Get State Name from Longitude and Latitude, from within a fex?

This message has been edited. Last edited by: <Emily McAllister>,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
By default WF can't do this unless you have something like ESRI intalled.

I think its going to come down to what data you have or calls you can make.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
You could create a file with the 50 states and the NW/SE coordinates of each. Retrieval should be feasible after.
If you do, publish the file...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
If you have a geospatial database, you can create queries that return polygons by name.

Your points (long./lat.) would be contained in such polygons, and that's how you know that, for example, (40.727417 , -73.795853) is in Queens, New York, New York State, USA, with those as 4 separate rows in this example.

Such databases can contain all kinds of polygons, for states, countries, regions, districts, areas, biotopes, etc.

A geospatial database is usually just a relational database, with added functions, operators & data types to deal with points and polygons and overlaps, distance calculations, etc.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Master
posted Hide Post
We actually have a geojson file, located in the following location, that has all the major cities and states and their lat/lng. We also use a CSV with the information on look up, but had to get IBI to come in and create the map, because we could never get it to work. Took them a week and 3 people involded from IBI. Not an easy solution.

\ibi\WebFOCUS81\config\web_resource\map\state_city.geojson



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Expert
posted Hide Post
Thanks everyone... I'll check out these options...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
you can get from one of the zip code sites or from the usps (can't remember which , now, just know I have done it), the lat-long of each zip centroid. if you start with a latlong, you can find the closest lat-long combination in that zip file. probably don't need to do the trig, since your distances will be small. This is a fun project, I did something like this in my elie tahari days with all our stores and outlets. I guess you're doing all your stores as well.
try the US census bureau, I know the file is in the public domain.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Get State Name from Lognsitude and Latitude

Copyright © 1996-2020 Information Builders