Upload
doannga
View
217
Download
1
Embed Size (px)
Citation preview
Every connection is a new opportunity
Every connection is a new opportunity
MapBasic IDE - kom i gang
Dagens program
2
10:30
Frokost 12:00
Hente MapBasic-moduler i unfuddle 13:00
Nyt i MapBasic 11.5 og 12.0 10:00
Analyse af gratis hjdedata med MapBasic 10:45
Ruteberegning med MapBasic og RW Net 4 11:30
Lav flydende dokbare vinduer via MapBasic og .NET 13:20
Workshop: Kom i gang med modulopbygget programmering med MapBasic 13:50
Eftermiddagskaffe 14:30
Workshop, fortsat 15:00
Tak for i dag! 16:00
Every connection is a new opportunity
Agenda
Nyheder i
MapBasic 11.5
MapBasic 11.5.x
MapBasic 12.0
Sprgsml
Every connection is a new opportunity
Nyheder i MapBasic 11.5
11.5
Every connection is a new opportunity Every connection is a new opportunity
Listevindue - filtrering
Listevinduet lader nu brugeren filtrere data direkte i vinduet. Syntaksen er den
samme som i Select, men mere simpel. Hver kolonne kan ikke have mere
end to betingelser og man kan ikke bruge funktioner eller komplekse udtryk.
Modsat sortering er der ingen begrnsning p antallet af filtreringer, der kan
sttes
Filtrering understttes ogs via MapBasic:
Set Browse
[ Window window_id ]
[ Grid { On | Off } ]
[ Row row_num ] [ Column column_num ]
[ Columns Resize ]
[ Order By sortColumn [ Desc ] [, sortColumn2 . . .] ]
[ Order None ]
[ Filter Where (filterCondition [ And | Or filterCondition ] )
[ And (filterCondition [ And | Or filterCondition ] ) ...] ]
[ Filter None ]
[ SortFilter { On | Off }]
[ Reapply ]
Every connection is a new opportunity Every connection is a new opportunity
Listevindue - filtrering
Eksempel: filtrere p kontinent og antal indbyggere: Set Browse
Window FrontWindow()
Filter Where (Pop_1994 > 1000000)
And Continent = "Asia"
Eksempel: filtrere p kontinent og antal indbyggere og sortere efter land: Set Browse
Window FrontWindow()
Order By Country
Filter Where (Pop_1994 > 1000000)
And Continent = "Asia"
Midlertidigt slukke for filtrering og sortering: Set Browse
Window FrontWindow()
SortFilter Off
Every connection is a new opportunity Every connection is a new opportunity
Listevindue - filtrering
Tnde for fileter/sorteringsvisning igen: Set Browse
Window FrontWindow()
SortFilter On
Fjerne filtrering og sortering Set Browse
Window FrontWindow()
Order None
Filter None
Every connection is a new opportunity Every connection is a new opportunity
Create Query From Window ny kommando
Efter at brugeren har filtreret og/eller sorteret sine data, kan han gemme
visningen i listevinduet som en navngiven foresprgsel
Bemrk at den kun virker p listevinduer
Create Query
From Window window_id
Into query_name
Eksempel: Create Query
From Window FrontWindow()
Into WindowInfo(FrontWindow(), WIN_INFO_NAME) & query
Every connection is a new opportunity Every connection is a new opportunity
Set Window - udvidelse
Kommandoer der kan vise og skjule menupalette, pt. kun i listevinduet
Set Window window_id
[ Position ( x, y ) [ Units paper_units ] ]
[ Width win_width [ Units paper_units ] ]
[ Height win_height [ Units paper_units ] ]
...
[ Toolbar { On | Off } ]
Eksempel, skjule menupaletten i det aktive listevindue
Set Window FrontWindow() Toolbar Off
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Opret Signaturforklaring via Legend Designer:
Create Designer Legend
[ From Window map_window_id ] [ Behind ]
[ Position ( x, y ) [ Units paper_units ] ]
[ Width win_width [ Units paper_units ] ]
[ Height win_height [ Units paper_units ] ]
[ Window Title { legend_window_title }
[ Portrait | Landscape | Custom ]
[ Default Frame Title { def_frame_title } [ Font... ] } ]
[ Default Frame Subtitle { def_frame_subtitle } [ Font... ] } ]
[ Default Frame Style { def_frame_style } [ Font... ] } ]
[ Default Frame Line Width width [ Units paper_units ] ]
[ Default Frame Region Width width [ Units paper_units ] ]
[ Default Frame Region Height height [ Units paper_units ] ]
...
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Opret Signaturforklaring via Legend Designer, fortsat:
Create Designer Legend
...
Frame From Layer { map_layer_id | map_layer_name
[ Using [ Column { column | Object } [ FromMapCatalog { On | Off }]]
[ Label { expression | Default } ]
[ Position ( x, y ) [ Units paper_units ] ]
[ Title { frame_title [ Font... ] }
[ SubTitle { frame_subtitle [ Font... ] } ]
[ Columns number_of_columns ]
| [ Height frame_height [ Units paper_units ] ]
[ Style [ Font...] [ Norefresh ]
[ Text { style_name }
{ Line Pen... | Region Pen... Brush...| Symbol Symbol... }
| Collection [ Symbol ... ] [ Line Pen... ] [ Region Pen...
Brush ...] } ]
[ , ... ]
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Tilfje en eller flere rammer til Legend Designer vindue:
Add Designer Frame
[ Window legend_window_id ] [ Custom ]
Frame From Layer { map_layer_id | map_layer_name }
[ Position ( x , y ) [ Units paper_units ] ]
[ Using [ Column { column | object [ FromMapCatalog { On | Off }]} ]
[ Label { expression | default } ]
[ Title [ frame_title ] ]
[ SubTitle [ frame_subtitle ] ]
[ Columns number_of_columns ]
| [ Height frame_height [ Units paper_units ] ]
[ Style [ NoRefresh ]
[ Text { style_name }
{ Line Pen... | Region Pen... Brush...| Symbol Symbol... }
| Collection [ Symbol ... ] [ Line Pen... ]
[ Region Pen ... Brush ...] } ]
[ , ... ] ]
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Tilpasse en eller flere rammer i det nye Legend Designer vindue
Alter Designer Frame
[ Window legend_window_id ] Id { frame_id }
[ Position ( x, y ) [ Units paper_units ] ]
[ Title [ frame_title ] [ Font... ] ]
[ SubTitle [ frame_subtitle ] [ Font... ] ]
[ Columns number_of_columns ]
| [ Height frame_height [ Units paper_units ] ]
[ Style [ Font... ]
[ ID { id } Text { style_name } ]
{ Line Pen... | Region Pen... Brush...| Symbol Symbol... }
| Collection [ Symbol ... ] [ Line Pen... ]
[ Region Pen ... Brush ...] } ]
[ , ... ]
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Fjerne en eller flere rammer fra det nye Legend Designer vindue
Remove Designer Frame
[ Window legend_window_id ]
Id frame_id, frame_id, frame_id, ...
Every connection is a new opportunity Every connection is a new opportunity
Nyt signaturforklaringsvindue: Legend Designer
Opdaterer det nye Legend Designer vindue enten blot stilarter eller hele
vinduet (placeringer mm):
Set Designer Legend
[ Window legend_window_id ]
[ Refresh ]
[ Portrait | Landscape ]
Opdaterer stilarter p de eksisterende rammer i signaturforklaringsvinduet Set Designer Legend Window FrontWindow() Refresh
Every connection is a new opportunity Every connection is a new opportunity
Vinduestyper - udvidelse
Det nye Legend Designer vindue er nu tilfjet til listen med vinduestyper
Window type ID Keyword Window description
WIN_MAPPER 1 Map window
WIN_CART_LEGEND 27 The Cartographic Legend window
WIN_3DMAP 28 The 3D Map window
WIN_ADORNMENT 32 The Adornment window
WIN_LEGEND_DESIGNER 35 The Legend Designer window
WIN_HELP 1001 Help The Help window
WIN_MAPBASIC 1002 MapBasic The MapBasic window
WIN_STATISTICS 1010 Statistics The Statistics window
WIN_MAPINFO 1011 The MI Pro application window
WIN_TABLE_LIST 2001 TableList Table List
WIN_LAYER_CONTROL 2002 LayerControl Layer Control
WIN_MOVE_MAP_TO 2003 MoveMapTo Move Map To
Every connection is a new opportunity Every connection is a new opportunity
LegendFrameInfo - udvidelse
Tilfjet en attribut, der returnerer antal kolonner i en ramme. Returnerer -1 for
en kartografisk signaturforklaring
LegendFrameInfo( window_id, frame_id, attribute )
FRAME_INFO_COLUMNS (17)
Every connection is a new opportunity Every connection is a new opportunity
LegendInfo - udvidelse
Tilfjet attributter for de nye egenskaber i Legend Designer ift. den
kartografiske signaturforklaring
De returnerer alle -1 for en kartografisk signaturforklaring
LegendInfo( window_id, attribute )
LEGEND_INFO_STYLE_SAMPLE_SIZE (4)
Returnerer 0 for sm eksempler og 1 for store eksempler. LEGEND_INFO_LINE_SAMPLE_WIDTH (5)
Returnerer linjeeksempelbredden i papirenheder. LEGEND_INFO_REGION_SAMPLE_WIDTH (6)
Returnerer regionseksempelbredden i papirenheder. LEGEND_INFO_REGION_SAMPLE_HEIGHT (7)
Returnerer regionseksempelhjden i papirenheder.
Every connection is a new opportunity
Nyheder i MapBasic 11.5.x
11.5.x
Every connection is a new opportunity Every connection is a new opportunity
Set Table - udvidelse
Du kan nu med Set Table kommandoen angive om en tabel skal gemmes i et
arbejdsomrde eller om den skal ignoreres og nrmest opfattes som en
midlertidig tabel.
Set Table tablename
[ FastEdit { On | Off } ]
[ Undo { On | Off } ]
[ ReadOnly ]
[ Seamless { On | Off } [ Preserve ] ]
[ UserMap { On | Off } ]
[ UserBrowse { On | Off } ]
[ UserClose { On | Off } ]
[ UserEdit { On | Off } ]
[ UserRemoveMap { On | Off }} ]
[ UserDisplayMap { On | Off } ]
[ Persist { On | Off } ]
[ datum datum_number ]
Every connection is a new opportunity Every connection is a new opportunity
Set Designer Legend - udvidelse
Du kan nu angive om stileksemplerne i signaturforklaringen skal have antialias
aktiveret eller deaktiveret.
Som udgangspunkt er antialias deaktiveret. Er den aktiveret kan du i nogle
tilflde at symbolerne str uskarpe i signaturforklaringen.
Set Designer Legend Antialias On
Set Designer Legend Antialias Off
Every connection is a new opportunity Every connection is a new opportunity
TableInfo udvidelse
TableInfo funktionen er udvidet med to nye attributter:
TAB_INFO_ADSK_TEXTOBJECT 42
Returner true, hvis tabellen er en Autodesk tekst-tabel TAB_INFO_OVERRIDE_COORDINATE_ORDER 43
Returnerer true hvis tabellen er en Web Feature Service (WFS) eller
Web Map Service (WMS) tabel hvor koordinaternes rkkeflge er
omvendt TAB_INFO_PERSIST 44
Returnerer true hvis tabellen skal gemmes i arbejdsomrdet
Every connection is a new opportunity Every connection is a new opportunity
WFS Refresh Table - udvidelse
Du kan nu angive om tabellen skal overtrumfe serverens generelle indstillinger
omkring koordinaternes rkkeflge ved adgang til WFS-serveren
WFS Refresh Table alias
[ Using Map [ Window window_id ] ]
[ Override Coordinate Order { On | Off } ]
Every connection is a new opportunity Every connection is a new opportunity
Register Table - udvidelse
Register Table kommandoen har en ny mulighed som lader dig angive en stil
under oprettelse af din DBMS tabel (direkte adgang).
Register Table source_file
{ Type ODBC
Connection { Handle connection_number | connection_string }
...
[ Symbol ...] [Linestyle Pen (...)]
[ Regionstyle Pen (...) Brush (...)]
[ ReadOnly ]
Every connection is a new opportunity Every connection is a new opportunity
Server Link Table - udvidelse
Server Link Table kommandoen har en ny mulighed som lader dig angive en
stil under oprettelse af den sammenkdede tabel.
Syntax 1 Server Link Table SQLQuery
Using ConnectionString
[ Symbol ...] [Linestyle Pen (...)] [ Regionstyle Pen (...) Brush (...)]
...
Syntax 2 Server ConnectionNumber Link Table SQLQuery
Toolkit toolkitname
[ Symbol ...] [Linestyle Pen (...)] [ Regionstyle Pen (...) Brush (...)]
...
Every connection is a new opportunity Every connection is a new opportunity
Set Browse - udvidelse
Set Browse kommandoen lader dig nu sortere p op til 5 kolonner i stedet for
de oprindelige kun 4 kolonner
Set Browse
[ Window window_id ]
...
[ Order By sortColumn [ Desc ] [, sortColumn2 . . .] ]
[ Order None ]
...
[ SortFilter { On | Off }]
Eksempel Set Browse Order By Country, State, City, ZipCode, IncomeGroup
Every connection is a new opportunity Every connection is a new opportunity
WKTToCoordSysString$( ), ny funktion
Denne funktion lader dig konvertere et WKT koordinatsystem definition til et
MapBasic/MapInfo koordinatsystem
print WKTToCoordSysString$(
"GEOGCS["+"""NAD27 Latitude/Longitude, Degrees"""+",
DATUM["+"""North_American_Datum_1927"""+",
SPHEROID["+"""Clarke-1866"""+", 6378206.4, 294.9786982139006],
AUTHORITY["+"""EPSG"""+","+"""6267"""+"]],
PRIMEM["+"""Greenwich"+""",0],
UNIT["+"""degree"""+", 0.0174532925199433]]")
Every connection is a new opportunity Every connection is a new opportunity
Set Window Toolbar - udvidelse
Oprindeligt tillod kommandoen Set Window Toolbar kun at man kunne tnde
og slukke for vrktjslinjen i listevinduet.
Nu understtter den ogs signaturforklaringsvinduet.
Skjul vrktjslinjen Set Window FrontWindow() Toolbar Off
Vis vrktjslinjen Set Window FrontWindow() Toolbar On
Every connection is a new opportunity Every connection is a new opportunity
LegendFrameInfo( ) - udvidelse
En rkke af attributter understtter nu bde kartografiske rammer og tematiske
rammer herunder
FRAME_INFO_TITLE_FONT 9
Returnerer tekststilen for rammens overskrift FRAME_INFO_SUBTITLE_FONT 11
Samme som 9. FRAME_INFO_TITLE_FONT FRAME_INFO_NUM_STYLES 13
Returnerer det synlige antal stile i en ramme FRAME_INFO_NUM_VISIBLE_ROWS 18
Returnerer det synlige antal rkker i en ramme
Every connection is a new opportunity Every connection is a new opportunity
LegendStyleInfo( ) - udvidelse
Denne funktion kan nu udover lagsignaturer ogs returnere information om
tematisk rammer I signaturforklaringsvinduet. Dermed understtter
funktionen nu flgende attributter:
LEGEND_STYLE_INFO_TEXT 1
Returnerer stilens tekst LEGEND_STYLE_INFO_FONT 2
Returnerer fonten for stilen. LEGEND_STYLE_INFO_OBJ 3
Returnerer stilens objekt. For tematiske typer er der flgende muligheder:
Fordeling Rektangel, Linje eller punkt
Sjler Rektangel
Grid Rektangel
Gradueret Punkt
Punkttthed Rektangel
Cirkeldiagram Rektangel LEGEND_STYLE_INFO_ROW_VISIBLE 4
Returnerer om stilen er synlig I signaturforklaringsvinduet. Kartografiske signaturforklaringer fr version 11.5, returnerer altid true.
Every connection is a new opportunity Every connection is a new opportunity
Create Designer Legend - udvidelse
Du kan oprette en ramme i en signaturforklaring med en brugertilpasset
sortering og sledes eventuelt selv styre rkkeflgen:
Create Designer Legend
[From Window map_window_id]
...
Frame From Layer {map_layer_id | map_layer_name}
...
[Columns number_of_columns ] | [Height frame_height [Units paper_units]]
[Order {Default | Ascending | Descending
| {Custom id | id : id [, id | id : id...]}}
Every connection is a new opportunity Every connection is a new opportunity
Alter Designer Frame - udvidelse
Du kan stte en brugertilpasset sortering af elementerne i de enkelte rammer
og sledes eventuelt selv styre rkkeflgen:
Alter Designer Frame [Window legend_window_id]
Id frame_id
[Order {Default | Ascending | Descending
| {Custom id | id : id [, id | id : id ...] } }
F.eks: Alter Designer Frame Window FrontWindow() ID 2 Order Custom 2, 1
Alter Designer Frame Window FrontWindow() ID 2 Order Custom 2, 1:10, 12, 11
Every connection is a new opportunity
Nyheder i MapBasic 12.0
12.0
Every connection is a new opportunity Every connection is a new opportunity
MapInfo Professional 12.0
Hovedfokus p:
Automatiske label, vise flere automatisk
Prioritering af labels lagvis i et kort
Flytning af kurvede labels
Forbedret mlestok
Adgang til databaser, PostGIS 2.0, brugerflade og SQL Server 2012
mm.
12.0
C:/Users/th007pr/Desktop/new-york-schedule-wd8chu1is4-x/prezi.exe
Every connection is a new opportunity Every connection is a new opportunity
Create Adornment & Set Adornment - udvidelse
Svel kommandoen Create Adornment som kommandoen Set Adornment har
nu to nye stninger:
Brush og Background Pen, som kan stte stil for baggrunden nr man opretter
eller ndrer et kortelement:
[ Background [ Brush ... ] [Pen ... ] ]
Mlestok-afsnittet har nu et nyt ngleord, som kontrollerer den automatiske
skalering af mlestokken:
[ Auto [ { On | Off } ] ]
Every connection is a new opportunity Every connection is a new opportunity
Create Designer Legend - udvidelse
Create Designer Legend kommandoen har en ny stning, Legend Text Frame,
som opretter en ramme med tekst i signaturforklaringen.
Create Designer Legend
[ From Window map_window_id ]
[ Legend Text Frame [ Text { frame_text [ Font... ] }
[ Position ( x, y ) [ Units paper_units ] ] ] ]
Every connection is a new opportunity Every connection is a new opportunity
Alter Designer Frame - udvidelse
Du man nu ndrer strrelsen p din stileksempler med Alter Designer Frame
kommandoen. Du kan ogs lade stileksemplerne strrelse afgre af
tekstens strrelse.
Alter Designer Frame
[ Window legend_window_id ]
Id { frame_id }
[ Position ( x, y ) [ Units paper_units ] ]
[ Title [ frame_title ] [ Font... ] ]
[ SubTitle [ frame_subtitle ] [ Font... ] ]
[ Columns number_of_columns ]
| [ Height frame_height [ Units paper_units ] ]
[ Region [ Height region_height [ Units paper_units ] ] ]
[ Region [ Width region_width [ Units paper_units ] ] ]
[ Line [ Width line_width [ Units paper_units ] ] ]
[ Auto Font Size { On | Off } ]
Every connection is a new opportunity Every connection is a new opportunity
Add Designer Text ny kommando
Ny kommandoer, som lader dig oprette tekstrammer i et eksisterende
signaturforklaringsvindue.
Add Designer Text
[ Window legend_window_id ]
Legend Text Frame
Text { frame_text [ Font... ] }
[ Position ( x, y ) [ Units paper_units ] ]
Eksempel
Add Designer Text Window FrontWindow()
Legend Text Frame Text "MapBasic Udviklerdag"
Every connection is a new opportunity Every connection is a new opportunity
Alter Designer Text ny kommando
Alter Designer Text kommandoen lader dig ndre tekst i en tekstramme i et
signaturforklaringsvindue
Alter Designer Text
[ Window legend_window_id ]
[ ID textframe_id
[ Text { frame_text [ Font... ] }
[ Position ( x, y ) [ Units paper_units ] ]
]
]
Eksempel Alter Designer Text Window FrontWindow()
Id 1 Text Font("Arial", 0, 14, 0)
Alter Designer Text Window FrontWindow()
Id 1 Text "MapBasic Udviklerdag 2013"
Every connection is a new opportunity Every connection is a new opportunity
LegendTextFrameInfo ny funktion
Ny funktion som lader dig sprger p egenskaberne af en tekstramme i et
signaturforklaringsvindue
LegendTextFrameInfo( window_id, frame_id, attribute )
FRAME_INFO_POS_X 1
Afstand fra signaturforklaringens venstre kant til rammens verste venstre hjrne FRAME_INFO_POS_Y 2
Afstand fra signaturforklaringens verste kant til rammens verste venstre hjrne FRAME_INFO_WIDTH 3
Rammens bredde FRAME_INFO_HEIGHT 4
Rammens hjde FRAME_INFO_TEXT 5
Teksten i tekstrammen FRAME_INFO_TEXT_FONT 6
Fonten anvendt i tekstrammen
Every connection is a new opportunity Every connection is a new opportunity
Remove Designer Text ny kommando
Remove Designer Text kommandoen lader dig slette eksisterende tekstrammer
i et signaturforklaringsvindue.
Remove Designer Text
[ Window legend_window_id ]
[ ID textframe_id [, textframe_id] . . .]
Eksempel Remove Designer Text Window FrontWindow() ID 1
Every connection is a new opportunity Every connection is a new opportunity
LegendInfo() - udvidelse
LegendInfo er udvidet med en enkelt attribut, som kan fortlle hvor mange
tekstrammer der er i signaturforklaringsvinduet
LEGEND_INFO_NUM_TEXTFRAMES 8
Every connection is a new opportunity Every connection is a new opportunity
LegendFrameInfo( ) - udvidelse
LegendFrameInfo funktionen er udvidet med nye attributter, som kan returnerer
vrdier om stileksemplets strrelse mm. for tematiske signaturer
FRAME_INFO_LINE_SAMPLE_WIDTH 19
FRAME_INFO_REGION_SAMPLE_WIDTH 20
FRAME_INFO_REGION_SAMPLE_HEIGHT 21
Every connection is a new opportunity Every connection is a new opportunity
AdornmentInfo ny funktion
Funktionen AdornmentInfo kan du bruge til at hente information om et
kortelement i et kortvindue, f.eks. nn mlestok
AdornmentInfo( window_id, attribute )
window_id refererer til et kortelement-vindue (adornment window)
ADORNMENT_INFO_TYPE 1
ADORNMENT_INFO_MAP_WINDOWID 2
ADORNMENT_INFO_IS_FIXED_POSITION 3
ADORNMENT_INFO_FIXED_POSITION_X 4
ADORNMENT_INFO_FIXED_POSITION_Y 5
ADORNMENT_INFO_FIXED_POSITION_UNITS 6
ADORNMENT_INFO_DOCKED_POSITION 7
ADORNMENT_INFO_DOCKED_OFFSET_X 8
ADORNMENT_INFO_DOCKED_OFFSET_Y 9
ADORNMENT_INFO_DOCKED_OFFSET_UNITS 10
ADORNMENT_INFO_BACKGROUND_PEN 11
ADORNMENT_INFO_BACKGROUND_BRUSH 12
Every connection is a new opportunity Every connection is a new opportunity
AdornmentInfo ny funktion, fortsat
ADORNMENT_INFO_SCALEBAR_TYPE 20
ADORNMENT_INFO_SCALEBAR_MAP_UNITS 21
ADORNMENT_INFO_SCALEBAR_PAPER_UNITS 22
ADORNMENT_INFO_SCALEBAR_BAR_LENGTH 23
ADORNMENT_INFO_SCALEBAR_BAR_DISPLAY_LENGTH 24
ADORNMENT_INFO_SCALEBAR_BAR_HEIGHT 25
ADORNMENT_INFO_SCALEBAR_AUTO_SCALING 26
ADORNMENT_INFO_SCALEBAR_SHOW_CARTO_SCALE 27
ADORNMENT_INFO_SCALEBAR_BAR_PEN 28
ADORNMENT_INFO_SCALEBAR_BAR_BRUSH 29
ADORNMENT_INFO_SCALEBAR_BAR_FONT 30
ADORNMENT_INFO_SCALEBAR_BAR_DISPLAY_SCALE 31
ADORNMENT_INFO_SB_AUTOOFF_SCALE 32
ADORNMENT_INFO_SB_AUTOON_SCALE 33
ADORNMENT_INFO_SB_SCALE_STRING 34
ADORNMENT_INFO_SB_CARTO_VALUE 35
ADORNMENT_INFO_SB_CARTO_STRING 36
Every connection is a new opportunity Every connection is a new opportunity
LabelInfo( ) - udvidelse
Funktionen LabelInfo( ) har fet en udvidelse i attributterne
LABEL_INFO_POSITION (2)
Kan nu med LAYER_INFO_LBL_POS_AUTO (-1) angive at lablen er placeret automatisk LAYER_INFO_LBL_POS_AUTO (-1)
LAYER_INFO_LBL_POS_CC (0)
LAYER_INFO_LBL_POS_TL (1)
LAYER_INFO_LBL_POS_TC (2)
LAYER_INFO_LBL_POS_TR (3)
LAYER_INFO_LBL_POS_CL (4)
LAYER_INFO_LBL_POS_CR (5)
LAYER_INFO_LBL_POS_BL (6)
LAYER_INFO_LBL_POS_BC (7)
LAYER_INFO_LBL_POS_BR (8)
Every connection is a new opportunity Every connection is a new opportunity
LayerInfo( ) - udvidelse
Functionen LayerInfo er udvidet med understttelse af de nye label-muligheder
i v12
Der er bl.a. lagets labelrkkeflge i kortet, om labels kan tilpasse deres strre
for at f plads, om der skal anvendes en alternativ labelkolonne mm.
LAYER_INFO_LBL_AUTO_POSITION 54
LAYER_INFO_LBL_AUTO_SIZES 55
LAYER_INFO_LBL_SUPPRESS_IF_NO_FIT 56
LAYER_INFO_LBL_AUTO_SIZE_STEP 57
LAYER_INFO_LBL_CURVED_BEST_POSITION 58
LAYER_INFO_LBL_CURVED_FALLBACK 59
LAYER_INFO_LBL_USE_ABBREVIATION 60
LAYER_INFO_ABBREVIATION_EXPR 61
LAYER_INFO_LBL_AUTO_CALLOUT 62
LAYER_INFO_LBL_ORDER 63
Every connection is a new opportunity Every connection is a new opportunity
LabelOverrideInfo() - udvidelse
Funktionen LabelOverrideInfo er udvidet med de samme nye attributter som
LayerInfo angende Labels
LBL_OVR_INFO_AUTO_POSITION 21
LBL_OVR_INFO_AUTO_SIZES 22
LBL_OVR_INFO_SUPPRESS_IF_NO_FIT 23
LBL_OVR_INFO_AUTO_SIZE_STEP 24
LBL_OVR_INFO_CURVED_BEST_POSITION 25
LBL_OVR_INFO_CURVED_FALLBACK 26
LBL_OVR_INFO_USE_ABBREVIATION 27
LBL_OVR_INFO_ABBREVIATION_EXPR 28
LBL_OVR_INFO_AUTO_CALLOUT 29
Every connection is a new opportunity Every connection is a new opportunity
MapperInfo( ) - udvidelse
MapperInfo() funktionener udvidet med to nye attributter: en som kan fortlle
om labels er valgbare og en display attributten er udvidet med kartografisk
mlforhold
MAPPER_INFO_DISPLAY 15
MAPPER_INFO_DISPLAY_SCALE 0
MAPPER_INFO_DISPLAY_ZOOM 1
MAPPER_INFO_DISPLAY_POSITION 2
MAPPER_INFO_DISPLAY_CARTOGRAPHIC_SCALE 3
MAPPER_INFO_LABELS_SELECTABLE 30
Every connection is a new opportunity Every connection is a new opportunity
Set Map udvidelse
Set Map kommandoen er udvidet med to nye ting udover labelsindstillinger
nemlig muligheden for at gre labels ikke valgbare i kortet og visning af
mlforhold som kartografiske mlforhold
Kartografiske mlforhold Set Map
[ Window window_id ]
[ Display { Scale [ Cartographic ] | Position | Zoom } ]
Gre labels ikke valgbare/valgbare Set Map
[ Label
[ Selection { On | Off } ]
[ Priority layer_id [, layer_id2... ]]
]
Every connection is a new opportunity Every connection is a new opportunity
Set Map, Labels - udvidelse
Set Map kommandoen er udvidet med understttelse af de nye
labelmuligheder
Set Map
[ Layer layer_id
[ Label
. . .
[ Abbreviation { On | Off } Abbreviate with { field_expression } ]
[ AutoPosition { On | Off } ]
[ AutoSizes { number_font_sizes | Default } ]
[ AutoSizeStep percentage_value ]
[ SuppressIfNoFit { On | Off } ]
[ AutoCallout { On | Off } ]
[ Follow Path [ BestPosition { On | Off } ]
[ Percent Over percent ] [ Fallback { On | Off } ] ]
] ]
Every connection is a new opportunity
Links
Den danske PBSoftware blog: danmark.pbbiblogs.com
The MapInfo Professional arkiv: web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/
MapInfo-L groups.google.com/group/mapinfo-l
PB Ideas Portal ideas.pb.com
MI Pro trningssvideoer: www.pbinsight.com/support/training/video-tutorials
Download MapBasic: www.pbinsight.com/support/product-downloads/for/mapbasic
MI Pro prveversion: www.pbinsight.com/support/product-downloads/for/mapinfo-professional
MI Pro dokumentation: www.pbinsight.com/support/product-documentation/details/mapinfo-professional
Anden dokumentation: www.pbinsight.com/support/product-documentation/
Anden download: www.pbinsight.com/support/product-downloads/
http://danmark.pbbiblogs.com/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://web.pb.com/mapinfopro-apr-2013/MapInfo-Archive/http://danmark.pbbiblogs.com/http://groups.google.com/group/mapinfo-lhttp://groups.google.com/group/mapinfo-lhttp://groups.google.com/group/mapinfo-lhttp://ideas.pb.com/http://www.pbinsight.com/support/training/video-tutorialshttp://www.pbinsight.com/support/training/video-tutorialshttp://www.pbinsight.com/support/training/video-tutorialshttp://www.pbinsight.com/support/training/video-tutorialshttp://www.pbinsight.com/support/product-downloads/for/mapbasichttp://www.pbinsight.com/support/product-downloads/for/mapbasichttp://www.pbinsight.com/support/product-downloads/for/mapbasichttp://www.pbinsight.com/support/product-downloads/for/mapinfo-professionalhttp://www.pbinsight.com/support/product-downloads/for/mapinfo-professionalhttp://www.pbinsight.com/support/product-downloads/for/mapinfo-professionalhttp://www.pbinsight.com/support/product-downloads/for/mapinfo-professionalhttp://www.pbinsight.com/support/product-downloads/for/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/details/mapinfo-professionalhttp://www.pbinsight.com/support/product-documentation/http://www.pbinsight.com/support/product-documentation/http://www.pbinsight.com/support/product-documentation/http://www.pbinsight.com/support/product-documentation/http://www.pbinsight.com/support/product-downloads/http://www.pbinsight.com/support/product-downloads/http://www.pbinsight.com/support/product-downloads/
Every connection is a new opportunity Every connection is a new opportunity
Sprgsml?
Peter Horsbll Mller
www.pitneybowes.dk/software
http://www.pitneybowes.dk/software
Every connection is a new opportunity Every connection is a new opportunity
Every connection is a new opportunity