Time to look under the hood.
Open up the MapBasic window to see how you can automate data processing and other tasks using MapInfo Professional.
You might find some great time savers in this session.
You do not need to be a programmer to benefit from these techniques.
Some tips on how to get started with MapBasic, the scripting language for MapInfo Pro.
What is MapBasic? Where do I find support and what tools should I use? How do I work with the interface?
A brief introduction to version control systemsTim Staley
This is a lunchtime talk I gave to the Southampton astronomy department. The aim was to make them aware of version control systems and when they might need to use them.
This slide discusses the most popular distributed version control system that is GIT and it's different commands that we need in our daily operations for project collaboration.
The features released between Java 11 and Java 17 have brought a greater opportunity for developers to improve application development productivity as well and code expressiveness and readability. In this deep-dive session, you will discover all the recent Project Amber features added to the Java language such as Text blocks, Records (including Records serialization), Pattern Matching for instanceof, switch expression, sealed classes, and pattern matching for switch. The main goal of the Amber Project is to bring Pattern Matching to the Java platform, which will impact both the language and the JDK APIs. You will discover record patterns, array patterns, as well as deconstruction patterns, through constructors, factory methods, and deconstructors.
Some tips on how to get started with MapBasic, the scripting language for MapInfo Pro.
What is MapBasic? Where do I find support and what tools should I use? How do I work with the interface?
A brief introduction to version control systemsTim Staley
This is a lunchtime talk I gave to the Southampton astronomy department. The aim was to make them aware of version control systems and when they might need to use them.
This slide discusses the most popular distributed version control system that is GIT and it's different commands that we need in our daily operations for project collaboration.
The features released between Java 11 and Java 17 have brought a greater opportunity for developers to improve application development productivity as well and code expressiveness and readability. In this deep-dive session, you will discover all the recent Project Amber features added to the Java language such as Text blocks, Records (including Records serialization), Pattern Matching for instanceof, switch expression, sealed classes, and pattern matching for switch. The main goal of the Amber Project is to bring Pattern Matching to the Java platform, which will impact both the language and the JDK APIs. You will discover record patterns, array patterns, as well as deconstruction patterns, through constructors, factory methods, and deconstructors.
Improved alerting with Prometheus and AlertmanagerJulien Pivotto
One of the reasons we collect metrics is to be able to alert on them. This presentation will introduce you some concepts of PromQL, prometheus and alertmanager to highly improve the quality and reliability of your alerts. This talk will cover different topic, including: - Reducing flapping alerts - Hysteresis - "Time of the day" based alerting - Computed thresholds with data history
Azul Systems. Are you interested in learning what a Java Virtual Machine (JVM) is and what it does for your Java applications? This presentation will provide insight into the inner workings of a Java Virtual Machine and some drill down on what compilers and garbage collectors do, so that you don't have to worry about it while programming your Java application. In particular, you will learn about common optimizations, well established garbage collection algorithms, and what the current biggest challenge with Java scalability is today.
This is a talk on how you can monitor your microservices architecture using Prometheus and Grafana. This has easy to execute steps to get a local monitoring stack running on your local machine using docker.
Java- Datagram Socket class & Datagram Packet classRuchi Maurya
Java DatagramSocket and DatagramPacket
Java DatagramSocket and DatagramPacket classes are used for connection-less socket programming.
________________________________________
Java DatagramSocket class
Java DatagramSocket class represents a connection-less socket for sending and receiving datagram packets.
A datagram is basically an information but there is no guarantee of its content, arrival or arrival time.
Commonly used Constructors of DatagramSocket class
o DatagramSocket() throws SocketEeption: it creates a datagram socket and binds it with the available Port Number on the localhost machine.
o DatagramSocket(int port) throws SocketEeption: it creates a datagram socket and binds it with the given Port Number.
o DatagramSocket(int port, InetAddress address) throws SocketEeption: it creates a datagram socket and binds it with the specified port number and host address.
________________________________________
Java DatagramPacket class
Java DatagramPacket is a message that can be sent or received. If you send multiple packet, it may arrive in any order. Additionally, packet delivery is not guaranteed.
Commonly used Constructors of DatagramPacket class
o DatagramPacket(byte[] barr, int length): it creates a datagram packet. This constructor is used to receive the packets.
o DatagramPacket(byte[] barr, int length, InetAddress address, int port): it creates a datagram packet. This constructor is used to send the packets.
Qt Quick/QML brings designers and developers together to create and collaborate. QML is a collection of technologies that can build modern and fluid interfaces for applications – quickly. Join us for this webinar to explore the best of QML for mobile, embedded and desktop.
Part III will cover:
- C++ Backends
- Reusing existing code
- Creating QML Modules
In this presentation, I'll take you through most of the improvements to MapInfo Pro v2019 focussing on the enhanced SQL capabilities. I will also give you a glance at what's coming in MapInfo Pro v2021.
Improved alerting with Prometheus and AlertmanagerJulien Pivotto
One of the reasons we collect metrics is to be able to alert on them. This presentation will introduce you some concepts of PromQL, prometheus and alertmanager to highly improve the quality and reliability of your alerts. This talk will cover different topic, including: - Reducing flapping alerts - Hysteresis - "Time of the day" based alerting - Computed thresholds with data history
Azul Systems. Are you interested in learning what a Java Virtual Machine (JVM) is and what it does for your Java applications? This presentation will provide insight into the inner workings of a Java Virtual Machine and some drill down on what compilers and garbage collectors do, so that you don't have to worry about it while programming your Java application. In particular, you will learn about common optimizations, well established garbage collection algorithms, and what the current biggest challenge with Java scalability is today.
This is a talk on how you can monitor your microservices architecture using Prometheus and Grafana. This has easy to execute steps to get a local monitoring stack running on your local machine using docker.
Java- Datagram Socket class & Datagram Packet classRuchi Maurya
Java DatagramSocket and DatagramPacket
Java DatagramSocket and DatagramPacket classes are used for connection-less socket programming.
________________________________________
Java DatagramSocket class
Java DatagramSocket class represents a connection-less socket for sending and receiving datagram packets.
A datagram is basically an information but there is no guarantee of its content, arrival or arrival time.
Commonly used Constructors of DatagramSocket class
o DatagramSocket() throws SocketEeption: it creates a datagram socket and binds it with the available Port Number on the localhost machine.
o DatagramSocket(int port) throws SocketEeption: it creates a datagram socket and binds it with the given Port Number.
o DatagramSocket(int port, InetAddress address) throws SocketEeption: it creates a datagram socket and binds it with the specified port number and host address.
________________________________________
Java DatagramPacket class
Java DatagramPacket is a message that can be sent or received. If you send multiple packet, it may arrive in any order. Additionally, packet delivery is not guaranteed.
Commonly used Constructors of DatagramPacket class
o DatagramPacket(byte[] barr, int length): it creates a datagram packet. This constructor is used to receive the packets.
o DatagramPacket(byte[] barr, int length, InetAddress address, int port): it creates a datagram packet. This constructor is used to send the packets.
Qt Quick/QML brings designers and developers together to create and collaborate. QML is a collection of technologies that can build modern and fluid interfaces for applications – quickly. Join us for this webinar to explore the best of QML for mobile, embedded and desktop.
Part III will cover:
- C++ Backends
- Reusing existing code
- Creating QML Modules
In this presentation, I'll take you through most of the improvements to MapInfo Pro v2019 focussing on the enhanced SQL capabilities. I will also give you a glance at what's coming in MapInfo Pro v2021.
Taking Advantage of a Spatial Database with MapInfo ProfessionalPeter Horsbøll Møller
The MapInfo tab file is a great storage for your spatial data, but you can also find a number of advantages by using a spatial database such as SQL Server 2008, Oracle or PostGIS.
In this session we will take a look at how you can take advantage of a spatial database with MapInfo Professional.
The main focus of this study is to find appropriate and stable solutions for representing the statistical data into map with some special features. This research also includes the comparison between different solutions for specific features. In this research I have found three solutions using three different technologies namely Oracle MapViewer, QGIS and AnyMap which are different solutions with different specialties. Each solution has its own specialty so we can choose any solution for representing the statistical data into maps depending on our criteria’s.
Presentation from a three hour session at the MUGUKI MapInfo User Group meeting in London June 25th.
During this session I covered how to setup a spatial database to be used from MapInfo Professional and a number of the benefits of using a spatial database.
We looked at how to:
- prepare a database to be used by MapInfo Professional
- access a spatial database from MapInfo Professional
- upload data to the spatial database using EasyLoader
- open tables from a spatial database from MapInfo Professional
- create views in a spatial database
- implement some triggers in the spatial database
- take advantage of the spatial database from MapBasic
By Claudia Nuñez, Migrahack
Special for the 2013 Specialized Reporting Institute on immigration reform.
http://immigrationreportingworkshop2013.borderzine.com/
Prepared as part of the IT for Business Intelligence course of MBA @VGSOM, IIT Kharagpur. The tutorial describes how to create an interactive map using the open source software QGIS.
Over the years that I’ve taught the various infrastructure products from Autodesk, most are not familiar with the different tools to generate plans quickly. AutoCAD includes the Sheet Set Manager at the core level to address basic sheet creation and title block data administration. Map 3D includes the MapBook tool to generate plans that require a grid arrangement. Lastly, Civil 3D has Plan tools that create Plan sheets, Profile sheets, Section sheets and any combination.
Similar to Automating Repetitive Tasks with MapBasic (20)
A quick overview of some of the new features and improvements to MapInfo Pro from v12.0 to v2021.1. v12.5 was the first version of MapInfo Pro that also came as a 64-bit version so this presentation tries to capture the changes since the introduction of 64-bit MapInfo Pro.
MapInfo Pro Webinar med Geograf, hvor vi gennemgik en række tips og Tricks.
Der er bl.a. tips til labeludtryk, tidsserier, åbning af GPX-filer og visning af koordinater i kanten af kortet.
I den tilhørende video fra webinaret blev der også vist tips omkring tilpasning af bånd og værktøjslinjen til kortets genvejsmenu samt visning af COWI's skråfotos inde fra MapInfo Pro.
In this presentation, you will get an overview over some of the improvements to the SQL syntax in MapInfo Pro v2019.
There are also a few examples of how to benefit from these improvements
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016Peter Horsbøll Møller
An introduction to how to get started with the MapBasic RIBBONLib for integrating MapBasic applications into the Ribbon of MapInfo Pro 64 bit.
Besides showing how to add controls to the interface, I have also added answers to some of the questions that I have come across in the last year related to the RIBBONLib
In this presentation I'll show how you can take data from the 3D world of MapInfo Pro and show it in the 3D environment of MapInfo Discover 3D.
I'll show this using polygons as well as point data
This will help you getting started with using the Spectrum On Demand services from MapInfo Pro.
These services include geocoding and drivetime regions.
The examples here are based on MapInfo Pro 64 bit.
En hurtig gennemgang af 2015 hos Pitney Bowes med fokus på produkterne indenfor GIS, Location Intelligence og data.
Og et kort kig på nogle af vore planer for 2016.
Lad os tage et kig på de 64 bit udgaver, der er kommet af MapInfo Pro.
Denne præsentation blev brugt på de to møder i MapInfo Brugergruppen i december 2015.
I denne præsentation tager vi et kig på hvordan du kommer i gang med at anvende de danske højdedata i MapInfo Pro Raster.
Vi kigger på hvor du kan hente de danske øjdedata, hvordan du samler gridfilerne til en enkelt gridfil og hvordan du kan analysere og visualisere dette grid.
In this Danish presentation used at a webinar for the Danish MapInfo User Group you'll find a walk-thru of 64 pieces of new or improved things in the 64 bit release of MapInfo Pro 12.5.
This presentation has been translated into Danish from this English presentation made by Tom Probert: http://www.slideshare.net/pitneybowes/64-bits-of-mapinfo-pro-and-the-next-big-thing
En smagning hvor vi starter med et par blends og følger op med et par Single Grain Whisky. Efter pausen afslutter vi smagningen med 4 Single Malt Whisky
Smagningen blev afholdt sammen med Kin Kristiansen for Elmegaardens Whiskylaug
Vi kommer omkring:
- Oprettelse af databaser, login og brugere
- Oprettelser af tabeller
- Oprettelse af ODBC datakilder
- MapInfos kortkatalog
- Åbning af DBMS tabeller fra MapInfo Professional
- Upload af tabeller til SQL Server
- Editering af tabeller fra MapInfo Professional
- Oprettelse af views
- De spatiale objekter og funktioner i SQL Server
- Oprettelse af Triggers
- Anvendelse af MapBasic mod SQL Server
I denne præsentation kigger vi nærmere på nyhederne i den danske 32 bit udgave af MapInfo Pro 12.5.
Vi ser nærmere på det nye layoutdesigner-vindue, performanceforbedringerne og de mindre nyheder.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
2. Hands on Lab
14D Automating Repetitive
Tasks with MapBasic
Peter Horsbøll Møller
GIS/LI Pre-Sales Specialist
June 13, 2014
Every connection is a new opportunity™
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
3. Automating Repetitive Tasks
with MapBasic
Time to look under the hood.
Open up the MapBasic
window to see how you can
automate data processing and
other tasks using MapInfo
Professional.
You might find some great
time savers in this session.
You do not need to be a
programmer to benefit from
these techniques.
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
4. MapBasic Documentation
MapBasic Help file: Help System (zip)
MapBasic Reference Guide: Reference
MapBasic User Guide: User Guide
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
5. MapBasic Help File
INTRODUCTION
How to read the Help File?
MapBasic Fundamentals
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
7. The Features of the MapBasic Window
The MapBasic window in MapInfo Professional:
•Can be opened via Options > Show MapBasic Window
•Records, when open, (most) actions performed by the
user in MapInfo Professional
•Can also ”play back” actions/statements
• Put the cursor in the line and hit the Enter-key
• Highlight several lines and hit the Enter-key
•You can save statements from the window to a text file via
the MapBasic menu
•You can clear the content in the window via the MapBasic
menu
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
8. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Be adviced!
Please note that
•The MapBasic statements in the MapBasic window can be
very specific. They can for example refer to a specific
window, a specific table or similar
•The scenario might not be completely similar next time
you want to run a MapBasic statement. Maybe you don’t
have any tables open, maybe there are no open windows,
maybe the active window isn’t a map window and so on
9. Using the MapBasic window
Open the MapBasic window
Perform one or more actions using the interface in MapInfo
Professional, that is a menu item, a button or similar
Notice that the statements are written to the MapBasic
window
Now try to execute the statements one at a time via the
MapBasic window
Remember to clean up before you repeat the actions via
the MapBasic window: Close tables or revert changes to
tables and so forth.
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
11. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Update Column
Normally you are limited to updating one column at a time
thru the Update Column dialog.
The MapBasic statement Update Table, however, lets you
update several columns at a time
Update table
Set column = expr [ , column = expr, ...]
[ Where RowID = idnum ]
Use the dialog to get the syntax for one column and then
modify the statement to update several afterwards
12. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Exercise
Dataset
•Exercise_DataCriminalActivity.TAB
•Update X with CentroidX(OBJ) thru the dialog
•Modify the Update Table statement to also update:
• Y with CentroidY(OBJ)
• CRIMEID with RowID
•Consider setting the Coordinate System with:
• Set CoordSys Table C
13. Append Rows to table
With Append Rows to Table you can insert records from one
table into another table
Using the dialog you can however not control which column is
inserted into which column.
When using the dialog the order of the columns is important
You can get around this issue using the MapBasic window
Insert Into table [ ( columnlist ) ]
{ Values ( exprlist )
| Select columnlist From table }
Using columnlist you can specify columns with names like ID,
X, Y, NAME instead of COL1, COL2, COL2, COL4
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
14. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Exercise
Dataset
•USCITY_125.TAB
•USSTATECAP.TAB
•Save a copy of StateCap as USCities
•Append City_125 to USCities using Append Rows to Table
•Revert changes to USCities
•Modify the statement to use column names
•Modify the statement to set FIPS_Code to ”00” for the cities inserted
15. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Exercise
Modify your script to have the style of the state capitals as red circles
using the statement:
Set Style Symbol(35,16711680,12,"MapInfo Symbols",0,0)
And the style of the cities as grey circles using this statement:
Set Style Symbol (35,8421504,8,"MapInfo Symbols",0,0)
Use CreatePoint to recreate the points using the new style
You can set the style using Symbol Style and use this statement to get
the symbol printed to the Message window:
Print CurrentSymbol()
16. Creating Spatial Features
You can create points using Table > Create Points.
And you can create other basic spatial features using the
MapBasic window and some MapBasic functions:
CreatePoint(x, y)
CreateLine(x1, y1, x2, y2)
CreateCircle(x, y, radius)
Buffer(OBJ, resolution, distance, units) *
MBR(OBJ)
Offset(OBJ, direction, distance, units) *
OffsetXY(OBJ, offsetx, offsety, units) *
* Some of the functions above can be used in a Cartesian
as well as a Spherical version
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
17. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Exercise
Dataset
•USStates.TAB
•USUS_HIWAY.TAB
•USUSCities.TAB (the table that we created in a previous exercise)
•Create buffers around the cities based on the population
•Set the size to (POP_1990 / 20000) miles – or pick your own size
•Set the style as blue border for cities and red for state capitals
18. From Points to Squares
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
19. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Exercise
Dataset
•USStates.TAB
•USUS_HIWAY.TAB
•USUSCities.TAB (the table that we created in a previous exercise)
•Add four columns (X1, Y1, X2, Y2) of type Float to the table USCities
•Update these with:
• CentroidX(Offset(OBJ, 45, (POP_1990 / 20000), ”mi”))
• CentroidY(Offset(OBJ, 45, (POP_1990 / 20000), ”mi”))
• CentroidX(Offset(OBJ, 225, (POP_1990 / 20000), ”mi”))
• CentroidY(Offset(OBJ, 225, (POP_1990 / 20000), ”mi”))
•Create a square around each city using CreateLine and MBR
20. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Solutions
Set CoordSys Table CriminalActivity
Update CriminalActivity
Set X = CentroidX(obj)
, Y = CentroidY(obj)
, CrimeID = ROWID
21. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Solutions
Commit Table STATECAP As “…USUSCities.tab" TYPE NATIVE
Charset "WindowsLatin1" Interactive
Open Table “…USUSCities.TAB" Interactive
Insert Into USCities ( Capital, State, Pop_1990,
Num_HU_90) Select City, State, Tot_Pop, Tot_hu From
CITY_125
Insert Into USCities ( Capital, State, Pop_1990,
Num_HU_90) Select City, State, Tot_Pop, Tot_hu From
CITY_125
22. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Solutions
Commit Table STATECAP As “…USUSCities.tab" TYPE NATIVE
Charset "WindowsLatin1" Interactive
Open Table “…USUSCities.TAB" Interactive
Set Style Symbol(35,16711680,12,"MapInfo Symbols",0,0)
Update USCities
Set OBJ = CreatePoint(CentroidX(OBJ), CentroidY(OBJ))
Set Style Symbol (35,8421504,8,"MapInfo Symbols",0,0)
Insert Into USCities
( Capital, State, Pop_1990, Num_HU_90, FIPS_CODE, OBJ)
Select City, State, Tot_Pop, Tot_hu, "00“
, CreatePoint(CentroidX(OBJ), CentroidY(OBJ))
From CITY_125
23. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Solutions
Set Style Brush(1, 16777215, 16777215)
Set Style BorderPen(1, 2, 16711680)
Select * From USCities Where FIPS_Code <> "00" Into
__TO_UPDATE
Update __TO_UPDATE Set OBJ = Buffer(obj, 100, pop_1990 /
20000, "mi")
Set Style BorderPen(1, 2, 3175935)
Select * From USCities Where FIPS_Code = "00" Into
__TO_UPDATE
Update __TO_UPDATE Set OBJ = Buffer(obj, 100, pop_1990 /
20000, "mi")
24. MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC
Solutions
Alter Table "USCities"
(add X1 Float,Y1 Float,X2 Float,Y2 Float ) Interactive
Update USCities
Set X1 = CentroidX(Offset(OBJ,45,(POP_1990/20000),"mi"))
Update USCities
Set Y1 = CentroidY(Offset(OBJ,45,(POP_1990/20000),"mi"))
Update USCities
Set X2 = CentroidX(Offset(OBJ,225,(POP_1990/20000),"mi"))
Update USCities
Set Y2 = CentroidY(Offset(OBJ,225,(POP_1990/20000),"mi"))
Update USCities
Set OBJ = CreateLine(X1, Y1, X2, Y2)
Update USCities
Set OBJ = MBR(OBJ)
25. Get the latest
MapInfo User Conference news:
Twitter via #MapInfoUC
and follow us @MapInfo
MapInfo User Conference 2014: GIS Gets Personal
#MapInfoUC