Graylog geoip no showing all locations on the map - maxmind

I have a problem, that in the graylog Map view it doesn't show all the locations. Shows very few country codes, knowing that there exist a lot of countries, in the map view I can't get any of them.
Here you can find a screenshot.

Country code field is not enought to show point in map. You need coordinates field, with GPS coordinates (latitude,longitude format) to show point in map.
Check this articles:
https://www.graylog.org/post/how-to-set-up-graylog-geoip-configuration
https://www.graylog.org/post/implementing-geolocation-with-graylog-pipelines

Related

Wikipedia API - Returning coordinates for some pages and not others?

For instance, the following page has the coordinates at the top of the page:
https://en.wikipedia.org/?curid=5839303
and I am able to retrieve them via the API
https://en.wikipedia.org/w/api.php?format=json&action=query&prop=coordinates&pageids=5839303
However this page:
https://en.wikipedia.org/?curid=56846583
Has the coordinates in an infobox and not at the top of the page. I am unable to retrieve them via the API:
https://en.wikipedia.org/w/api.php?format=json&action=query&prop=coordinates&pageids=56846583
Does anyone know why this behaviour occurs and whether it's possible to retrieve the coordinates from my second example via the API?
prop=coordinates, by default, only returns the primary coordinate of the page. Try adding coprimary=all to your query:
https://en.wikipedia.org/w/api.php?format=json&action=query&prop=coordinates&pageids=56846583&coprimary=all

How can I check location of instagram followers/following

I want to be able to make this request from Instagram
check all following
check location tags in last 7 days
check if in -insert city-
I want to be able to track the location of my followers/people I follow, possibly generate a map
How can I do this?
Checkout http://gramfeed.com and lookup users (followers/following), click on Show Map it will geolocate all the photos that have a place tagged, based on that you can estimate the location

Custom odoo module - how to make a table

I am creating a custom module with additional part numbers on a separate tab in the products screen. I have built the module, but am having trouble figuring out how to display the information so it matches the layout in the attached image. I have tried tree view but have not been able to get the fields on the same line. Can this only be accomplished through css or is there a table view that I am not aware of?
I also need to make sure that all of the information in row 1 stays tethered together for additional forms, etc. My plan is to make the field names for each row end with a different number (i.e. x_mfrname1,x_mfrpn1,x_mfrname2,x_mfrpn2, etc.). Can somebody please just tell me if I am on the right track. This is the initial Odoo setup for a client of mine and I don't want them to come back to me down the line and find out I forgot something. I have been scouring the internet and reading a few books but I am not completely confident.
Here is a link to a layout of what I am talking about:
MFG Part Number Tab
Thanks!
class sub_part_details(models.Model)
_name='sub.part.detail'
primary_pn=fields.Boolean('Primary P/N')
obsolete=fields.Boolean('Obsolete')
pn=fields.Char('P/N')
desc=fields.Char('Description')
upgrade=fields.Char('Upgrade')
part_detail_id=fields.Many2one('part.details')
class part_details(models.Model)
_name='part.details'
cat=fields.Char('CAT')
sub_ass=fields.Char('Subassembly')
main_ass=fields.Char('Main Assembly')
notes=fields.Text('Notes')
sub_details_ids=fields.One2Many(''sub.part.detail','part_detail_id')
It might be helpful

determine google maps marker display status

Straight from the google reference material on their API
Hiding a set of map markers previously plotted to hide
mapArray[i].setMap(null);
Simple.
However is there anything that will allow me to asses the display status of a marker thus allowing me to simply toggle the display status?
I've been googling it and searching their api refs but cannot see anything.
Try google.maps.Marker.getMap().

Google Maps API: Directions don't minding if street is one way or not

I want to draw direction from point A to B to C to D to .....
and I want to see only the map with directions (without text directions next to it)
Problem is if I use G_TRAVEL_MODE_DRIVING it displays me directions minding if the street is one way or not.
If I use G_TRAVEL_MODE_WALKING it shows me the directions the way I want but this mode requires derectionsPanel in constructor (this is a div element to show directions in textual format)
new GDirections(map, directionsPanel);
So I'm stuck in here. Suggestions?
Can you make the directionsPanel div invisible?