MIF/MID render in Xamarin.Forms/MAUI - xamarin

Good afternoon, I'm working on a personal project in gis ingeo. I can export the map to MID/MIF format. Can I render this in somehow in Xamarin.Forms/MAUI?

Related

Download and save data in grass gis

I am very new to GRASS GIS and I am trying to download some data. As in this example ( https://grass.osgeo.org/grass80/manuals/r.import.html ) I am using wget to download bioclimatic data (bioclim variables). I need to change the path where the data are saved, but I cannot find any information regarding the functioning of wget and how to change the default location. I am using GRASS GISS 7.8.6.
Thanks.

Paw: Possible to copy/paste data from Hash/Dictionary source in target language?

I'm using Paw to integrate with an API and it's a great tool, but the codebase I'm working in has lots of data in Ruby Hashes already that I would like to bring into Paw for testing. Moreover, I would like to be able to copy the data out of a Paw response for use in Ruby code rather than having to copy JSON and either store it as a String and parse it in my code or manually convert it to a native dictionary data structure. Is this possible?

Copy one slide from a google presentation into a new google presentation using API [duplicate]

I wish to use Google Drive API for creating a new Google Slides, but with one slide copied from another previous presentation.
My question is, is that possible to build a new Google Slides and insert slides (singularly) into the new one.
Or is it possible to delete the a slide from Google Presentation?
Although imperfect, you may be able to get close using the new Google Slides API. You can read the slide from the source presentation and then attempt to replicate it in the destination presentation. At the moment not all Slides features are supported in the API, so there may be some information loss is the process.
(Feb 2017) As of Nov 2016 with the release of the Google Slides API, an alternative to the solution the OP is asking for is now possible although not directly with the API. That workaround is that the ONE SLIDE you want copied is in its own standalone file. Then you can use two Google APIs to make it happen: the Slides API (to perform the document-level functions like adding new slides) as well as the Google Drive API (for file-oriented access like copying).
Sounds like you're using the Google APIs Client Library for Ruby, so you're set there. The next step is to create a project in the Google Developers Console with both the Google Drive and Google Slides APIs enabled, then download the client_secret*.json file after you create your OAuth2 credentials.
To help you get started, here's the Ruby quickstart sample for the Drive API, and here's the Ruby quickstart for the Slides API. If you're not "allergic" to Python (if you are, just pretend it's pseudocode ;) ), I've made several videos with more "real-world" examples of using the Slides API you can learn from and migrate to Ruby if desired.
Below is another Python example which you can port to Ruby that does exactly what the OP asked, assuming your template file is SLIDE_TEMPLATE_FILE, DRIVE is your Drive API service endpoint, and SLIDES is the endpoint for the Slides API. If someone PMs me a Ruby port, I'll update this answer with it.
# query for template file with one slide
TMPLFILE = SLIDE_TEMPLATE_FILE
rsp = DRIVE.files().list(q="name='%s'" % TMPLFILE).execute().get('files')[0]
# copy template file
DATA = {'name': 'Google Drive & Slides API template DEMO'}
DECK_ID = DRIVE.files().copy(body=DATA, fileId=rsp['id']).execute().get('id')
# create 2 more (1 title-only & 1 blank) slides in copied file
reqs = [
{'createSlide': {'slideLayoutReference': {'predefinedLayout': 'TITLE_ONLY'}}},
{'createSlide': {'slideLayoutReference': {'predefinedLayout': 'BLANK'}}},
]
SLIDES.presentations().batchUpdate(body={'requests': reqs},
presentationId=DECK_ID).execute()
Finally, yes, you can also delete slides from presentations with the deleteObject request, passing in the ID of the slide/page you want removed. Another workaround if you can't isolate the ONE SLIDE: copy the entire presentation & delete all pages except the ONE SLIDE, then start adding new slides. Hopefully the API will eventually get "the right solution" so we don't have to play these games.
It is not possible from the API to perform this complete operation from API.
Although, we can create new or copy existing Google Presentation.
Or, we can do that from browser interaction by ctrl+c one slide and ctrl+v into another one.

Is there a way to translate a Fusion 360 model to Inventor without creating an App?

From Translate a Source File into OBJ Format:
Before You Begin
Register an app
Successfully acquire an OAuth token with the data:write and data:read scopes.
Upload a source file to OSS, as described in the Create an App-Managed Bucket and Upload a File tutorial, and note the source URN.
I assume that the above steps are to be followed to translate a Fusion 360 model to an Inventor model.
I find it very inconvenient to create an App for the sole purpose of translating a Fusion 360 model to Inventor. I would like to avoid creating such an App.
Is there a way to translate/export a Fusion 360 model to Inventor without creating an App or without using the interactive web interface? If there is, can you please answer with the steps and/or point to a place where I can find that information?
Unfortunately, converting a Fusion 360 model to Inventor file format is only possible interactively on the A360 website at the moment.
Fusion 360 does have an API (see ExportManager object) but it only exposes those file formats which the desktop app can convert to directly, and are available through File >> Export:
Converting from Fusion 360 to Inventor file format might be possible through the Forge API's later on, but still, you'd have to register an App on the Forge developer site in order to use it.
There is a confusion here - the Autodesk Forge API is not meant to translate from Fusion360 to Inventor today (as August 22nd, 2016). We may add this possibility later, but Fusion360 can import from/export to Inventor native. Checkout this post for more details, it contains a lot of details on how to import or export as well as the format supported. Hope that helps,

Is there any way to get a non-iOS tablet's geolocation using FileMaker?

FileMaker Go has Location and LocationValues functions available for getting geolocation data. I have a client who is using FileMaker Pro on Microsoft Surface tablets, and would like to find some way to get this same data, basically latitude and longitude, into FileMaker.
I've looked for plugins without success, but perhaps someone else here knows of one that will do the job. Other solutions I've thought of but not yet found specifics for include using Java via the ScriptMaster plugin or using a website via the Insert from URL script step.
HTML5 has built in support for geolocation, so you could get this with a web viewer and return the result to FileMaker via an FMP url.
The geolocation function is documented here:
http://www.w3schools.com/html/html5_geolocation.asp

Resources